[TriLUG] netlink sockets
Michael Alan Dorman
mdorman at debian.org
Wed May 8 09:27:10 EDT 2002
"John F Davis" <johndavi at us.ibm.com> writes:
> Does anybody know anything about netlink sockets? I'm a little confused.
> I understand netlink sockets can be used to update the routing table and to
> get routing table updates,
> but can netlink sockets be used to get interface link messages? How about
> network interface ifconfig up and down notifications? Also, I want to get
> these notifications in user space.
> Any idea?
Nothing direct, but the laptop-net package in Debian has a daemon
called ifd that watches a port and initiates various actions when it
connects or disconnects. You could probably crib some of what you're
looking for from that:
More information about the TriLUG