Date: Sat, 8 Jun 2002 14:51:34 +0100 From: Brian Somers <brian@Awfulhak.org> To: Iasen Kostov <ikostov@otel.net> Cc: freebsd-net@FreeBSD.ORG, vova@sw.ru Subject: Re: host routes for interface addresses Message-ID: <20020608145134.07fda923.brian@Awfulhak.org> In-Reply-To: <20020607170224.G32865-100000@shadowhand.OTEL.net> References: <20020607152801.T32865-100000@shadowhand.OTEL.net> <20020607170224.G32865-100000@shadowhand.OTEL.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Jun 2002 17:27:46 +0300 (EEST), Iasen Kostov <ikostov@otel.net> wrote: > > > On Fri, 7 Jun 2002, Iasen Kostov wrote: > > > > > I think it's possible to use SIOCSIFCAP to tell the kernel not to set > > host route via IFCAP_NOROUTE or something similar which will set > > IFCAP_NOROUTE in uif_capenable. This flag will be checked in in_ifinit() > > and if it is set no host route will be added. And ofcourse there should be > > a way to set this by ifconfig ( -noroute for example). > > What you think about this ? > > > Hum or set an iface flag IFF_NOROUTE in struct ifnet.if_flags by > SIOCGIFFLAGS ioctl. > What you think ? The problem is that ifnet::if_flags is a short and all of it's bits are already used up :( -- Brian <brian@Awfulhak.org> <brian.somers@sun.com> <http://www.Awfulhak.org> <brian@[uk.]FreeBSD.org> Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020608145134.07fda923.brian>