From owner-freebsd-arch Tue Aug 29 17:40: 7 2000 Delivered-To: freebsd-arch@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with SMTP id DAB7037B42C for ; Tue, 29 Aug 2000 17:39:58 -0700 (PDT) Received: by border.alcanet.com.au id <115254>; Wed, 30 Aug 2000 11:39:27 +1000 Content-return: prohibited Date: Wed, 30 Aug 2000 11:39:20 +1100 From: Peter Jeremy Subject: Re: Interface types defined in if_types.h In-reply-to: <20000829202628.C90607@daemon.ninth-circle.org>; from asmodai@wxs.nl on Tue, Aug 29, 2000 at 08:26:28PM +0200 To: Jeroen Ruigrok/Asmodai Cc: arch@FreeBSD.ORG Mail-followup-to: Jeroen Ruigrok/Asmodai , arch@FreeBSD.ORG Message-Id: <00Aug30.113927est.115254@border.alcanet.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.4i References: <00Aug10.081900est.115209@border.alcanet.com.au> <200008150059.RAA26865@bubba.whistle.com> <20000829202628.C90607@daemon.ninth-circle.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2000-Aug-29 20:26:28 +0200, Jeroen Ruigrok/Asmodai wrote: >-On [20000816 17:37], Archie Cobbs (archie@whistle.com) wrote: >>Peter Jeremy writes: >>> /sys/net/if_types.h describes itself as: >>> * Interface types for benefit of parsing media address headers. >>> * This list is derived from the SNMP list of ifTypes, currently >>> * documented in RFC1573, now maintained as: >>> * >>> * ftp.isi.edu/in-notes/iana/assignments/smi-numbers >>> >>> The current version of smi-numbers lists 115 ifTypes that don't appear >>> in if_types.h (including l2vlan (135) for 802.1q). FreeBSD also >>> defines 4 types (IFT_GIF, IFT_PVC, IFT_FAITH and IFT_STF) that don't >>> match IANA assignments. >> >>Hmmm.. we can start by doing the obvious/uncontroversial stuff. >>That is, go ahead and import any new and non-conflicting types. > >This is what I am already doing. > >I first moved the KAME added types to the end, just like with NetBSD and >will add the rest RSN. /sys/net/if_vlan_var.h defines IFT_8021_VLAN to represent a VLAN (but defines it as IFT_PROPVIRTUAL - 'proprietary virtual/internal'). This will presumably move into if_types.h with a value of 135. Once this is done, PR kern/19436 can be updated to use this define. Would you like patches for this? Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message