Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 16:16:48 -0700
From:      Bruce M Simpson <bms@spc.org>
To:        Peter Wemm <peter@wemm.org>
Cc:        cvs-src@freebsd.org
Subject:   Re: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h
Message-ID:  <20040902231648.GE807@empiric.icir.org>
In-Reply-To: <200409021136.44582.peter@wemm.org>
References:  <200409011822.i81IMERb017602@repoman.freebsd.org> <20040902092916.GA61915@cirb503493.alcatel.com.au> <20040902152546.GA3801@odin.ac.hmc.edu> <200409021136.44582.peter@wemm.org>

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

--t0UkRYy7tHLRMCai
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I have to admit to a certain amount of culpability here, as I wasn't really
thinking through all of the implications of Brooks' change when I agreed 'y=
es,
having an epoch timer which makes us less susceptible to roll-over where
struct ifnet and SNMP are concerned, is a good idea'.

Refactoring the PF_ROUTE ABI is probably a task for the 6-CURRENT lifetime.
If done right, we could MT5 it as we go along.

On Thu, Sep 02, 2004 at 11:36:44AM -0700, Peter Wemm wrote:
> BTW, in case nobody noticed.. nothing sets the routing socket abi=20
> version number, and nothing checks it.  No versions are even defined. =20
> Well.. version 0 is implicit I guess. :-)

Yeah. This is a pain.  There are a number of sticky things about routing
socket messages as they are right now.

This probably needs to happen using a different protocol family to begin
with, with the old PF_ROUTE kept on board as a shim; notice that PF_KEY_V2
is explicitly numbered as such, and has much in common with how routing
sockets and messages are dealt with.

A Tag/Length/Value scheme might be more appropriate; things like dealing
with netmasks are very hairy indeed.

This is not so much on my TODO list as my WISHLIST right now, XORP could
certainly benefit.

BMS

--t0UkRYy7tHLRMCai
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: ''

iD8DBQFBN6ngueUpAYYNtTsRAjoOAKCAOsWTZ+fJys/KmI0Wq0Ph6cWKXgCglEk9
4guFiLpaM0kDtjN4NFozeHA=
=HxPU
-----END PGP SIGNATURE-----

--t0UkRYy7tHLRMCai--



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