Re: Libnl

From: pradeep singh
Date: Mon May 28 2007 - 11:10:28 EST


On 5/28/07, Edouard Thuleau <thuleau@xxxxxxxxx> wrote:
Hi,

I try to use the Generic netlink (I'm newbie), and I look some
examples codes for create and register a family in kernel space.
But I didn't find example code in libnl to create a family in the user
space. Is it possible to do that ?
Yes try
socket(PF_NETLINK, socket type, netlink family);

Eventually i suggest have a look at man 7 netlink .
HTH

thanks
--psr


Edouard.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html



--
play the game
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html