Re: netlink kernel to user interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2 Apr 2001, Praveen C H wrote:

> Hi,
>
>     I used netlinksockets for kernel to user communication (the family is NETLINK_ROTE )and when sending the message from user to kernel
> the netlink_unicast function calls the correponding recev function to dequeue the
>     skb from the sockets recev queue and whick in tern calls the corresponding do it function.the path is clear from user to kernel.
>
>     when sending message from the kerenl land to user land we place the skb
>     in the revev queue by using the netlink_unicast which again calls the
>     corresponding revev function.Then how can we get the message passed from
>     the kernel to user land.
>
>    1. How can we get the message passed from the kernel to usar land ?
>    2. In user land what call we should use to get the message?

For routing messages, you should use libnetlink from Alexey's iproute2
package, also see netlink(7) and rtnetlink(7).


- James
--
James Morris
<jmorris@intercode.com.au>


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux