[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <81C3A93C17462B4BBD7E272753C105791FB0A0F045@EXDCVYMBSTM005.EQ1STM.local>
Date: Wed, 16 Nov 2011 09:46:07 +0100
From: Hemant-vilas RAMDASI <hemant.ramdasi@...ricsson.com>
To: RĂ©mi Denis-Courmont
<remi.denis-courmont@...ia.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH] Phonet: set the pipe handle using setsockopt
Remi,
> > > > +#define SIOPNPIPE_ENABLE _IO(SIOCPNGAUTOCONF, 1)
> > >
> > > Does this even work? I am not an expert on this, but I would think
> that
> > > device-private controls are routed to the network device, not the
> > > socket. In
> > > any case, it does not seem right.
> >
> > Yes, it works. The ioctl is routed to per-socket functions.
>
> Even if it works, sockets are probably not supposed to use the device-
> private
> ioctl() range, are they?
>
> And why is this inside __KERNEL__ ?
Ok..We move it.
> > > Do you still need this read-only option?
> >
> > Yes.
>
> Why and how?
This is needed for user to poll pipe-state.
Regards,
Hemant
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists