From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 30 05:58:11 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D48E16A4CE; Sun, 30 Nov 2003 05:58:11 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCDDA43F75; Sun, 30 Nov 2003 05:58:09 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 93296651FC; Sun, 30 Nov 2003 13:58:08 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09857-03; Sun, 30 Nov 2003 13:58:08 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 010DA651FA; Sun, 30 Nov 2003 13:58:08 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 4AEFAC8; Sun, 30 Nov 2003 13:58:05 +0000 (GMT) Date: Sun, 30 Nov 2003 13:58:05 +0000 From: Bruce M Simpson To: Andre Oppermann Message-ID: <20031130135805.GA80639@saboteur.dek.spc.org> Mail-Followup-To: Andre Oppermann , freebsd-hackers@freebsd.org, sam@freebsd.org, freebsd-arch@freebsd.org References: <20031130092301.GA98871@saboteur.dek.spc.org> <3FC9DEBA.BD5AC227@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FC9DEBA.BD5AC227@freebsd.org> cc: freebsd-hackers@freebsd.org cc: sam@freebsd.org cc: freebsd-arch@freebsd.org Subject: Re: ifconfig(8) refactoring -- YACC grammar now online X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 13:58:11 -0000 On Sun, Nov 30, 2003 at 01:12:42PM +0100, Andre Oppermann wrote: > What I've thinking about a lot is to make the networking system and > ifconfig sort of class-based like newbus and geom. Look at: http://people.freebsd.org/~bms/dump/nifconfig/nifconfig-design.txt There is a pending change to if_gre to enable it to be easily classified in this way; ifconfig would simply query the interface for its if_type. This is one way to do it without having to change struct ifnet. We could add a new field, but avoiding changing the ABI is a Good Thing. BMS