Date: Sun, 23 Apr 2000 09:34:14 +0200 (CEST) From: Luigi Rizzo <luigi@info.iet.unipi.it> To: Julian Elischer <julian@elischer.org> Cc: Archie Cobbs <archie@whistle.com>, pavel@alum.mit.edu, nsayer@sftw.com, luigi@freebsd.org, freebsd-net@freebsd.org Subject: Re: Proposal for ethernet, bridging, netgraph Message-ID: <200004230734.JAA11091@info.iet.unipi.it> In-Reply-To: <3902A56B.167EB0E7@elischer.org> from Julian Elischer at "Apr 23, 2000 00:25:31 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 ! cheers luigi 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?200004230734.JAA11091>