Re: RtNetlink in wireless.c and netlink_broadcast(uevent_sock,...) - newbie

2006-05-01 Thread Jean Tourrilhes
Xu Nakajima wrote : > > Hello, > > I saw that in the wireless linux stack, there is usage > > of sending messages to user space via the RtNetlink > event channel : > in net/core/wireless.c, wireless_send_event() method > calls rtmsg_iwinfo() which calls > netlink_broadcast(rtnl, skb, 0, RTNLGR

RtNetlink in wireless.c and netlink_broadcast(uevent_sock,...) - newbie

2006-04-30 Thread Xu Nakajima
Hello, I saw that in the wireless linux stack, there is usage of sending messages to user space via the RtNetlink event channel : in net/core/wireless.c, wireless_send_event() method calls rtmsg_iwinfo() which calls netlink_broadcast(rtnl, skb, 0, RTNLGRP_LINK, GFP_ATOMIC); (it fills a struct w