From owner-freebsd-net Sun Apr 23 0:33:22 2000 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 4A31137B59D; Sun, 23 Apr 2000 00:33:17 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id JAA11091; Sun, 23 Apr 2000 09:34:14 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200004230734.JAA11091@info.iet.unipi.it> Subject: Re: Proposal for ethernet, bridging, netgraph In-Reply-To: <3902A56B.167EB0E7@elischer.org> from Julian Elischer at "Apr 23, 2000 00:25:31 am" To: Julian Elischer Date: Sun, 23 Apr 2000 09:34:14 +0200 (CEST) Cc: Archie Cobbs , pavel@alum.mit.edu, nsayer@sftw.com, luigi@freebsd.org, freebsd-net@freebsd.org X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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