Re: Netlink usage

David S. Miller (
Fri, 3 Sep 1999 13:48:40 -0700

Date: Fri, 3 Sep 1999 13:33:45 -0700 (PDT)
From: Elizabeth Royer <>

Does anyone know how to use netlink sockets to communicate between
the kernel and a user daemon? I am writing a routing daemon and I
need to use netlink to update (ADD, DELETE, and GETROUTE) the
kernel routing tables. Does anyone know how to do this, or can you
point me in the direction of documentation about netlink?

The best (and only) documentation are code bases which make use of
netlink. Two decent examples I can think of are:

1), the GNU Zebra routing daemon which uses
netlink for it's Linux support.

2) The iproute utility suite from Alexey Kuznetsov (creator of netlink
in fact) available from:

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to