netdev
[Top] [All Lists]

Re: netlink question

To: Balazs Scheidler <bazsi@xxxxxxxxxx>
Subject: Re: netlink question
From: jamal <hadi@xxxxxxxxxx>
Date: Thu, 11 Apr 2002 07:41:04 -0400 (EDT)
Cc: <netdev@xxxxxxxxxxx>
In-reply-to: <20020410132025.A8595@balabit.hu>
Sender: owner-netdev@xxxxxxxxxxx


On Wed, 10 Apr 2002, Balazs Scheidler wrote:

> Hi,
>
> As I need to communicate between two parts of the kernel (a core TCP part,
> and a loaded module), Andi suggested to use netlink for this purpose.
>
> Since I'm not too familiar with Netlink (and I saw only userspace-kernel
> communication using netlink), I'd need some introductory material about
> netlink. Is some information about the subject available? Sample code would
> be sufficient as well.
>

Look at notifier_chain_un/register(),un/register_netdevice_notifier(),
and their usage. You could also look at the usage of netdev_state_change()

cheers,
jamal


<Prev in Thread] Current Thread [Next in Thread>