diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-07-28 06:20:11 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-07-28 06:20:11 +0000 |
commit | b517a7eea40693d28c27e13f048af5d08516eb19 (patch) | |
tree | b76233120764bdabb85d2fe325d9046815b6129e /sys | |
parent | 725292b291f28a3adbd479f0209979006fcdde33 (diff) | |
download | FreeBSD-src-b517a7eea40693d28c27e13f048af5d08516eb19.zip FreeBSD-src-b517a7eea40693d28c27e13f048af5d08516eb19.tar.gz |
Fix if_types.h as per the IANA assignments with regard to IPv6.
gif/faith/stf moved to 0xfN entries, since their previous location
is allocated to some other interfaces.
Also add the IFT_PVC, which is the ATM PVC subinterface from ALTQ.
This also syncs us up a bit to NetBSD again.
This change requires a total recompilation of all kmem users, as
itojun told me.
Next in line is synching to the IANI SMI list.
Approved by: itojun
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_types.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/net/if_types.h b/sys/net/if_types.h index 13cdcdd..57d2439 100644 --- a/sys/net/if_types.h +++ b/sys/net/if_types.h @@ -40,7 +40,9 @@ /* * Interface types for benefit of parsing media address headers. * This list is derived from the SNMP list of ifTypes, currently - * documented in RFC1573. + * documented in RFC1573, now maintained as: + * + * ftp.isi.edu/in-notes/iana/assignments/smi-numbers */ #define IFT_OTHER 0x1 /* none of the following */ @@ -97,8 +99,10 @@ #define IFT_SMDSICIP 0x34 /* SMDS InterCarrier Interface */ #define IFT_PROPVIRTUAL 0x35 /* Proprietary Virtual/internal */ #define IFT_PROPMUX 0x36 /* Proprietary Multiplexing */ -#define IFT_GIF 0x37 -#define IFT_FAITH 0x38 -#define IFT_STF 0x39 +/* not based on IANA assignments */ +#define IFT_GIF 0xf0 +#define IFT_PVC 0xf1 +#define IFT_FAITH 0xf2 +#define IFT_STF 0xf3 #endif |