On Fri, 7 Jun 2002 17:27:46 +0300 (EEST), Iasen Kostov <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>                       <[EMAIL PROTECTED]>
      <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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to