From owner-freebsd-arch@FreeBSD.ORG Sun Nov 30 15:29:10 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C00D116A4CE for ; Sun, 30 Nov 2003 15:29:10 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0FF543FBF for ; Sun, 30 Nov 2003 15:29:02 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 78094 invoked from network); 30 Nov 2003 22:27:07 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.54]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 30 Nov 2003 22:27:07 -0000 Message-ID: <3FCA7D3A.CA05EC36@freebsd.org> Date: Mon, 01 Dec 2003 00:28:58 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Watson References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: Bruce M Simpson cc: freebsd-arch@freebsd.org cc: sam@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: ifconfig(8) refactoring -- YACC grammar now online X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 23:29:10 -0000 Robert Watson wrote: > > On Sun, 30 Nov 2003, Bruce M Simpson wrote: > > I have to find an abstraction to comfortably deal with this stacking of > > properties/methods, simple polymorphism (a la Java 'implements > > interface') springs to mind. > > I think that would be a reasonable approach, although it seems to me that > both the "inheritance" and "implements" models might apply in looking at > sets of protocol relationships. a tap interface is a synthetic interface, > it implements synthetic interface controls, as well as implementing 802. > However, it might be neat to hook up 802.11 to a tap-like interface > sometime as well. Question: does 802.11 imply 802? If so, a notion of > inheritence might be quite useful for driver implementors. Yes, 802.11 implies 802. You can get a nice overview of ieee802 and its subclasses and media-types here: http://standards.ieee.org/getieee802/portfolio.html http://standards.ieee.org/getieee802/download/802-2001.pdf You've got the ieee802 base framework, the ieee802.1 bridging and management, the ieee802.2 logical link control and the various MAC and PHY types in 802.3 to 802.16 (with the exception of 802.10 which is an encryption layer for all 802 media). The most known and important of the 802.1 generic classes are 802.1d for bridging, 802.1q for virtual LAN's and 802.1X for port based access control. Those apply to all 802 subclasses be it Ethernet (802.3) or Wireless LAN (802.11). -- Andre