diff options
author | wollman <wollman@FreeBSD.org> | 1998-03-18 01:40:12 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1998-03-18 01:40:12 +0000 |
commit | ec566039aba5786e01795e673cf02a62dfe37bc4 (patch) | |
tree | ac69347b5853f93e018185990709087dbac39760 /sys/net/ethernet.h | |
parent | 9470d0a235b97a3890cfa09377b8604cbb96fe07 (diff) | |
download | FreeBSD-src-ec566039aba5786e01795e673cf02a62dfe37bc4.zip FreeBSD-src-ec566039aba5786e01795e673cf02a62dfe37bc4.tar.gz |
Add preliminary support for IEEE 802.1Q VLAN tagging. It doesn't actually
work reliably yet (I've had panics), but it does seem to occasionally
be able to transmit and receive syntactically-correct packets.
Also fixes one of if_ethersubr.c's legion style bugs, and removes
the hostcache code from standard kernels---the code that depends on it
is not going to happen any time soon, I'm afraid.
Diffstat (limited to 'sys/net/ethernet.h')
-rw-r--r-- | sys/net/ethernet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/ethernet.h b/sys/net/ethernet.h index 36d9a8c..c9c03a7 100644 --- a/sys/net/ethernet.h +++ b/sys/net/ethernet.h @@ -1,7 +1,7 @@ /* * Fundamental constants relating to ethernet. * - * $Id$ + * $Id: ethernet.h,v 1.8 1997/02/22 09:40:58 peter Exp $ * */ @@ -64,6 +64,7 @@ struct ether_addr { #define ETHERTYPE_IP 0x0800 /* IP protocol */ #define ETHERTYPE_ARP 0x0806 /* Addr. resolution protocol */ #define ETHERTYPE_REVARP 0x8035 /* reverse Addr. resolution protocol */ +#define ETHERTYPE_VLAN 0x8100 /* IEEE 802.1Q VLAN tagging */ #define ETHERTYPE_LOOPBACK 0x9000 /* used to test interfaces */ /* XXX - add more useful types here */ |