Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2004 15:26:15 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Andre Oppermann <andre@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netinet ip_icmp.c
Message-ID:  <20040202232614.GA24019@Odin.AC.HMC.Edu>
In-Reply-To: <200402022253.i12MrGkO091411@repoman.freebsd.org>
References:  <200402022253.i12MrGkO091411@repoman.freebsd.org>

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

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

On Mon, Feb 02, 2004 at 02:53:16PM -0800, Andre Oppermann wrote:
> andre       2004/02/02 14:53:16 PST
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     sys/netinet          ip_icmp.c=20
>   Log:
>   Add sysctl net.inet.icmp.reply_src to specify the interface name
>   used for the ICMP reply source in reponse to packets which are not
>   directly addressed to us.  By default continue with with normal
>   source selection.

Please consider storing the interface index rather then the name.  It is
much cheaper to go from index to ifp then name to ifp and the index will
be invariant as long as the interface exists.  Sometime in the next week
the name will no longer be invariant.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAHtyWXY6L6fI4GtQRAkg/AJ0aPD/y97HuXW1UhviCtd7XdqP6VgCfRQ5Q
0ut+MALL0y9lEHhKMtd0mrI=
=moh5
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--



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