Date: Sun, 23 Apr 2000 09:07:34 -0700 From: Julian Elischer <julian@elischer.org> To: Kenjiro Cho <kjc@csl.sony.co.jp> Cc: luigi@info.iet.unipi.it, freebsd-net@freebsd.org Subject: Re: Proposal for ethernet, bridging, netgraph Message-ID: <39031FC6.59E2B600@elischer.org> References: <3902A56B.167EB0E7@elischer.org> <200004230734.JAA11091@info.iet.unipi.it> <20000423170912H.kjc@csl.sony.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Kenjiro Cho wrote: > > Luigi Rizzo wrote: > > > > 5 Add netgraph control messages to get the associated interface name > > > > and index, so that it's possible to set promiscuous mode, multicast > > > > addresses, etc. by: > > > > from the kernel - getting the interface structure (using > > > > ifindex2ifnet[if_index]), and then calling ifioctl() > > > > (small note: ifioctl() will be made to handle p == NULL) > > > > from userland - using the normal ioctl() mechanism > > > > > > The ifindex is a hack that should go away (in my opinion). > > > > I definitely agree on this ! > > You can't just remove if_index. > if_index is part of standard API defined in RFC2553 (Basic Socket > Interface Extention for IPv6) and RFC2292 (Advanced Socket API for > IPv6). yeah.. having not really looked at those RFCs I didn't realise this. What a pitty. it's so unsuitable for some environments. > > -Kenjiro -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Perth v 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?39031FC6.59E2B600>