Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 10:38:22 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if.c if.h route.h rtsock.c         src/share/man/man4 route.4 src/sbin/route route.c
Message-ID:  <20020121103822.A16527@sunbay.com>
In-Reply-To: <Pine.NEB.3.96L.1020118140334.26166C-100000@fledge.watson.org>
References:  <200201181433.g0IEX4905071@freefall.freebsd.org> <Pine.NEB.3.96L.1020118140334.26166C-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 18, 2002 at 02:04:11PM -0500, Robert Watson wrote:
> Any chance this also could send out link state changes?  I'd be very
> interested in modifying dhclient to watch for routing socket announcements
> regarding the link going up and down, offering the opportunity to start
> dhcp in a timely manner...
> 
BSD always sent RTM_IFINFO for up/down events, and since net/if.c,v 1.83
FreeBSD also sends these for MTU changes.

> On Fri, 18 Jan 2002, Ruslan Ermilov wrote:
> 
> > ru          2002/01/18 06:33:04 PST
> > 
> >   Modified files:
> >     sys/net              if.c if.h route.h rtsock.c 
> >     share/man/man4       route.4 
> >     sbin/route           route.c 
> >   Log:
> >   Introduce an interface announcement message for the routing
> >   socket so that routing daemons and other interested parties
> >   know when an interface is attached/detached.
> >   
> >   PR:             kern/33747
> >   Obtained from:  NetBSD
> >   MFC after:      2 weeks
> >   
> >   Revision  Changes    Path
> >   1.58      +24 -1     src/sbin/route/route.c
> >   1.14      +18 -3     src/share/man/man4/route.4
> >   1.127     +6 -0      src/sys/net/if.c
> >   1.68      +15 -0     src/sys/net/if.h
> >   1.43      +2 -0      src/sys/net/route.h
> >   1.64      +32 -0     src/sys/net/rtsock.c
> > 

-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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