Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2006 18:44:59 +0200
From:      Fredrik Lindberg <fli+freebsd-current@shapeshifter.se>
To:        Julian Elischer <julian@elischer.org>
Cc:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>, freebsd-current@freebsd.org
Subject:   Re: Extending EVFILT_NETDEV to support ip-address changes
Message-ID:  <44C79C0B.6060900@shapeshifter.se>
In-Reply-To: <44C68602.50105@elischer.org>
References:  <44C61470.3070005@shapeshifter.se> <20060725173924.GR96589@funkthat.com> <44C68602.50105@elischer.org>

index | next in thread | previous in thread | raw e-mail

Julian Elischer wrote:
> 
> I may be wrong but doesn't an address change already trigger a routing 
> socket event?
> 

Yes, a routing message is sent on address addition/removal, but
the point (as I noted in my first mail) was to avoid the routing
socket-read-parse dance and provide a lightweight and direct
(the routing socket broadcasts events about all interfaces) mechanism
for address addition/removal events.
Also, the NOTE_ADDR{NEW,DEL} are sent AFTER interface configuration is
complete, at least RTM_DELADDR is broadcasted before the ip-address
actually is removed from the interface because it's sent from the
routing code and not the interface configuration code.

Fredrik Lindberg


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C79C0B.6060900>