Re: missing RTMGRP_***_ROUTE notifications on ifdown

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

 



On Thu, 19 Feb 2004 12:16:22 +0100
John Williams Floroiu <floroiu@fokus.fraunhofer.de> wrote:

> > Clients which wish to hear about this event listen on RTMGRP_LINK.
> 
> my application has some peculiar requirements. among others it needs
> to know which routes disappear following the switch off of an
> interface. RTMGRP_LINK tells you which interface goes down, but not
> also the routes that used to go through it. and it is also not
> possible to learn afterwards which routes used to exit through that
> interface, as the routes are already deleted.

And when these link local routes are deleted, rtnetlink messages should
be generated for each one.  You should listen to the route group as well
as the link group to get all of the events.

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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