netdev
[Top] [All Lists]

Re: NETLINK_ROUTE sockets in kernel

To: Anil Gunturu <anil.gunturu@xxxxxxxxx>
Subject: Re: NETLINK_ROUTE sockets in kernel
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Tue, 2 Nov 2004 13:22:22 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <2f61ba570411021146657f63f4@xxxxxxxxxxxxxx>
References: <2f61ba570411021146657f63f4@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 2 Nov 2004 11:46:46 -0800
Anil Gunturu <anil.gunturu@xxxxxxxxx> wrote:

> But its not clear on how the rtnetlink_links array is
> populated for PF_NETLINK family. rtnetlink_init seem to populate for
> PF_PACKET and PF_UNSPEC.

This is done via net/ipv4/devinet.c:devinet_init() which sets
rtnetlink_links[] for PF_INET.  Please run grep on the kernel
tree for references to rtnetlink_links[] to see how other
protocol family array entries are initialized.

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