Getting link list results in NLE_OPNOTSUPP

Thomas Graf tgraf at infradead.org
Thu Jan 26 18:09:19 EST 2012


On Thu, Jan 26, 2012 at 10:54:33PM +0000, André Prata wrote:
> On Thu, Jan 26, 2012 at 22:40, Thomas Graf <tgraf at infradead.org> wrote:
> 
> >
> > Are you using a NETLINK_ROUTE socket?
> >
> >
> Very accurate question... No, I didn't remember that since I'm doing other
> operations, and I thought I could reuse the GENERIC socket.
> 
> I'm afraid this might be a dumb question, but is it possible to reuse it,
> or do I need both sockets?

You can't reuse it because the netlink protocol is specified when the
socket is created.



More information about the libnl mailing list