INET Framework for OMNeT++/OMNEST
ethernet.h File Reference

Go to the source code of this file.

Classes

struct  ether_header
struct  ether_addr

Defines

#define ETHER_ADDR_LEN   6
#define ETHER_TYPE_LEN   2
#define ETHER_CRC_LEN   4
#define ETHER_ALIGN   2
#define ETHER_HDR_LEN   (ETHER_ADDR_LEN*2+ETHER_TYPE_LEN)
#define ETHER_MIN_LEN   64
#define ETHER_MAX_LEN   1518
#define ETHER_IS_VALID_LEN(foo)   ((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)
#define ETHER_CRC_POLY_LE   0xedb88320
#define ETHER_CRC_POLY_BE   0x04c11db6
#define ETHER_IS_MULTICAST(addr)   (*(addr) & 0x01) /* is address mcast/bcast? */
#define ETHERTYPE_8023   0x0004 /* IEEE 802.3 packet */
#define ETHERTYPE_PUP   0x0200 /* Xerox PUP protocol - see 0A00 */
#define ETHERTYPE_PUPAT   0x0200 /* PUP Address Translation - see 0A01 */
#define ETHERTYPE_SPRITE   0x0500 /* ??? */
#define ETHERTYPE_NS   0x0600 /* XNS */
#define ETHERTYPE_NSAT   0x0601 /* XNS Address Translation (3Mb only) */
#define ETHERTYPE_DLOG1   0x0660 /* DLOG (?) */
#define ETHERTYPE_DLOG2   0x0661 /* DLOG (?) */
#define ETHERTYPE_IP   0x0800 /* IP protocol */
#define ETHERTYPE_X75   0x0801 /* X.75 Internet */
#define ETHERTYPE_NBS   0x0802 /* NBS Internet */
#define ETHERTYPE_ECMA   0x0803 /* ECMA Internet */
#define ETHERTYPE_CHAOS   0x0804 /* CHAOSnet */
#define ETHERTYPE_X25   0x0805 /* X.25 Level 3 */
#define ETHERTYPE_ARP   0x0806 /* Address resolution protocol */
#define ETHERTYPE_NSCOMPAT   0x0807 /* XNS Compatibility */
#define ETHERTYPE_FRARP   0x0808 /* Frame Relay ARP (RFC1701) */
#define ETHERTYPE_UBDEBUG   0x0900 /* Ungermann-Bass network debugger */
#define ETHERTYPE_IEEEPUP   0x0A00 /* Xerox IEEE802.3 PUP */
#define ETHERTYPE_IEEEPUPAT   0x0A01 /* Xerox IEEE802.3 PUP Address Translation */
#define ETHERTYPE_VINES   0x0BAD /* Banyan VINES */
#define ETHERTYPE_VINESLOOP   0x0BAE /* Banyan VINES Loopback */
#define ETHERTYPE_VINESECHO   0x0BAF /* Banyan VINES Echo */
#define ETHERTYPE_TRAIL   0x1000 /* Trailer packet */
#define ETHERTYPE_NTRAILER   16
#define ETHERTYPE_DCA   0x1234 /* DCA - Multicast */
#define ETHERTYPE_VALID   0x1600 /* VALID system protocol */
#define ETHERTYPE_DOGFIGHT   0x1989 /* Artificial Horizons ("Aviator" dogfight simulator [on Sun]) */
#define ETHERTYPE_RCL   0x1995 /* Datapoint Corporation (RCL lan protocol) */
#define ETHERTYPE_NBPVCD   0x3C00 /* 3Com NBP virtual circuit datagram (like XNS SPP) not registered */
#define ETHERTYPE_NBPSCD   0x3C01 /* 3Com NBP System control datagram not registered */
#define ETHERTYPE_NBPCREQ   0x3C02 /* 3Com NBP Connect request (virtual cct) not registered */
#define ETHERTYPE_NBPCRSP   0x3C03 /* 3Com NBP Connect repsonse not registered */
#define ETHERTYPE_NBPCC   0x3C04 /* 3Com NBP Connect complete not registered */
#define ETHERTYPE_NBPCLREQ   0x3C05 /* 3Com NBP Close request (virtual cct) not registered */
#define ETHERTYPE_NBPCLRSP   0x3C06 /* 3Com NBP Close response not registered */
#define ETHERTYPE_NBPDG   0x3C07 /* 3Com NBP Datagram (like XNS IDP) not registered */
#define ETHERTYPE_NBPDGB   0x3C08 /* 3Com NBP Datagram broadcast not registered */
#define ETHERTYPE_NBPCLAIM   0x3C09 /* 3Com NBP Claim NetBIOS name not registered */
#define ETHERTYPE_NBPDLTE   0x3C0A /* 3Com NBP Delete Netbios name not registered */
#define ETHERTYPE_NBPRAS   0x3C0B /* 3Com NBP Remote adaptor status request not registered */
#define ETHERTYPE_NBPRAR   0x3C0C /* 3Com NBP Remote adaptor response not registered */
#define ETHERTYPE_NBPRST   0x3C0D /* 3Com NBP Reset not registered */
#define ETHERTYPE_PCS   0x4242 /* PCS Basic Block Protocol */
#define ETHERTYPE_IMLBLDIAG   0x424C /* Information Modes Little Big LAN diagnostic */
#define ETHERTYPE_DIDDLE   0x4321 /* THD - Diddle */
#define ETHERTYPE_IMLBL   0x4C42 /* Information Modes Little Big LAN */
#define ETHERTYPE_SIMNET   0x5208 /* BBN Simnet Private */
#define ETHERTYPE_DECEXPER   0x6000 /* DEC Unassigned, experimental */
#define ETHERTYPE_MOPDL   0x6001 /* DEC MOP dump/load */
#define ETHERTYPE_MOPRC   0x6002 /* DEC MOP remote console */
#define ETHERTYPE_DECnet   0x6003 /* DEC DECNET Phase IV route */
#define ETHERTYPE_DN   ETHERTYPE_DECnet /* libpcap, tcpdump */
#define ETHERTYPE_LAT   0x6004 /* DEC LAT */
#define ETHERTYPE_DECDIAG   0x6005 /* DEC diagnostic protocol (at interface initialization?) */
#define ETHERTYPE_DECCUST   0x6006 /* DEC customer protocol */
#define ETHERTYPE_SCA   0x6007 /* DEC LAVC, SCA */
#define ETHERTYPE_AMBER   0x6008 /* DEC AMBER */
#define ETHERTYPE_DECMUMPS   0x6009 /* DEC MUMPS */
#define ETHERTYPE_TRANSETHER   0x6558 /* Trans Ether Bridging (RFC1701)*/
#define ETHERTYPE_RAWFR   0x6559 /* Raw Frame Relay (RFC1701) */
#define ETHERTYPE_UBDL   0x7000 /* Ungermann-Bass download */
#define ETHERTYPE_UBNIU   0x7001 /* Ungermann-Bass NIUs */
#define ETHERTYPE_UBDIAGLOOP   0x7002 /* Ungermann-Bass diagnostic/loopback */
#define ETHERTYPE_UBNMC   0x7003 /* Ungermann-Bass ??? (NMC to/from UB Bridge) */
#define ETHERTYPE_UBBST   0x7005 /* Ungermann-Bass Bridge Spanning Tree */
#define ETHERTYPE_OS9   0x7007 /* OS/9 Microware */
#define ETHERTYPE_OS9NET   0x7009 /* OS/9 Net? */
#define ETHERTYPE_RACAL   0x7030 /* Racal-Interlan */
#define ETHERTYPE_PRIMENTS   0x7031 /* Prime NTS (Network Terminal Service) */
#define ETHERTYPE_CABLETRON   0x7034 /* Cabletron */
#define ETHERTYPE_CRONUSVLN   0x8003 /* Cronus VLN */
#define ETHERTYPE_CRONUS   0x8004 /* Cronus Direct */
#define ETHERTYPE_HP   0x8005 /* HP Probe */
#define ETHERTYPE_NESTAR   0x8006 /* Nestar */
#define ETHERTYPE_ATTSTANFORD   0x8008 /* AT&T/Stanford (local use) */
#define ETHERTYPE_EXCELAN   0x8010 /* Excelan */
#define ETHERTYPE_SG_DIAG   0x8013 /* SGI diagnostic type */
#define ETHERTYPE_SG_NETGAMES   0x8014 /* SGI network games */
#define ETHERTYPE_SG_RESV   0x8015 /* SGI reserved type */
#define ETHERTYPE_SG_BOUNCE   0x8016 /* SGI bounce server */
#define ETHERTYPE_APOLLODOMAIN   0x8019 /* Apollo DOMAIN */
#define ETHERTYPE_TYMSHARE   0x802E /* Tymeshare */
#define ETHERTYPE_TIGAN   0x802F /* Tigan, Inc. */
#define ETHERTYPE_REVARP   0x8035 /* Reverse addr resolution protocol */
#define ETHERTYPE_AEONIC   0x8036 /* Aeonic Systems */
#define ETHERTYPE_IPXNEW   0x8037 /* IPX (Novell Netware?) */
#define ETHERTYPE_LANBRIDGE   0x8038 /* DEC LANBridge */
#define ETHERTYPE_DSMD   0x8039 /* DEC DSM/DDP */
#define ETHERTYPE_ARGONAUT   0x803A /* DEC Argonaut Console */
#define ETHERTYPE_VAXELN   0x803B /* DEC VAXELN */
#define ETHERTYPE_DECDNS   0x803C /* DEC DNS Naming Service */
#define ETHERTYPE_ENCRYPT   0x803D /* DEC Ethernet Encryption */
#define ETHERTYPE_DECDTS   0x803E /* DEC Distributed Time Service */
#define ETHERTYPE_DECLTM   0x803F /* DEC LAN Traffic Monitor */
#define ETHERTYPE_DECNETBIOS   0x8040 /* DEC PATHWORKS DECnet NETBIOS Emulation */
#define ETHERTYPE_DECLAST   0x8041 /* DEC Local Area System Transport */
#define ETHERTYPE_PLANNING   0x8044 /* Planning Research Corp. */
#define ETHERTYPE_DECAM   0x8048 /* DEC Availability Manager for Distributed Systems DECamds (but someone at DEC says not) */
#define ETHERTYPE_EXPERDATA   0x8049 /* ExperData */
#define ETHERTYPE_VEXP   0x805B /* Stanford V Kernel exp. */
#define ETHERTYPE_VPROD   0x805C /* Stanford V Kernel prod. */
#define ETHERTYPE_ES   0x805D /* Evans & Sutherland */
#define ETHERTYPE_LITTLE   0x8060 /* Little Machines */
#define ETHERTYPE_COUNTERPOINT   0x8062 /* Counterpoint Computers */
#define ETHERTYPE_VEECO   0x8067 /* Veeco Integrated Auto. */
#define ETHERTYPE_GENDYN   0x8068 /* General Dynamics */
#define ETHERTYPE_ATT   0x8069 /* AT&T */
#define ETHERTYPE_AUTOPHON   0x806A /* Autophon */
#define ETHERTYPE_COMDESIGN   0x806C /* ComDesign */
#define ETHERTYPE_COMPUGRAPHIC   0x806D /* Compugraphic Corporation */
#define ETHERTYPE_MATRA   0x807A /* Matra */
#define ETHERTYPE_DDE   0x807B /* Dansk Data Elektronik */
#define ETHERTYPE_MERIT   0x807C /* Merit Internodal (or Univ of Michigan?) */
#define ETHERTYPE_VLTLMAN   0x8080 /* Vitalink TransLAN III Management */
#define ETHERTYPE_ATALK   0x809B /* AppleTalk */
#define ETHERTYPE_AT   ETHERTYPE_ATALK /* old NetBSD */
#define ETHERTYPE_APPLETALK   ETHERTYPE_ATALK /* HP-UX */
#define ETHERTYPE_SPIDER   0x809F /* Spider Systems Ltd. */
#define ETHERTYPE_PACER   0x80C6 /* Pacer Software */
#define ETHERTYPE_APPLITEK   0x80C7 /* Applitek Corporation */
#define ETHERTYPE_SNA   0x80D5 /* IBM SNA Services over Ethernet */
#define ETHERTYPE_VARIAN   0x80DD /* Varian Associates */
#define ETHERTYPE_RETIX   0x80F2 /* Retix */
#define ETHERTYPE_AARP   0x80F3 /* AppleTalk AARP */
#define ETHERTYPE_APOLLO   0x80F7 /* Apollo Computer */
#define ETHERTYPE_VLAN   0x8100 /* IEEE 802.1Q VLAN tagging (XXX conflicts) */
#define ETHERTYPE_BOFL   0x8102 /* Wellfleet; BOFL (Breath OF Life) pkts [every 5-10 secs.] */
#define ETHERTYPE_WELLFLEET   0x8103 /* Wellfleet Communications */
#define ETHERTYPE_TALARIS   0x812B /* Talaris */
#define ETHERTYPE_WATERLOO   0x8130 /* Waterloo Microsystems Inc. (XXX which?) */
#define ETHERTYPE_HAYES   0x8130 /* Hayes Microcomputers (XXX which?) */
#define ETHERTYPE_VGLAB   0x8131 /* VG Laboratory Systems */
#define ETHERTYPE_IPX   0x8137 /* Novell (old) NetWare IPX (ECONFIG E option) */
#define ETHERTYPE_NOVELL   0x8138 /* Novell, Inc. */
#define ETHERTYPE_MUMPS   0x813F /* M/MUMPS data sharing */
#define ETHERTYPE_AMOEBA   0x8145 /* Vrije Universiteit (NL) Amoeba 4 RPC (obsolete) */
#define ETHERTYPE_FLIP   0x8146 /* Vrije Universiteit (NL) FLIP (Fast Local Internet Protocol) */
#define ETHERTYPE_VURESERVED   0x8147 /* Vrije Universiteit (NL) [reserved] */
#define ETHERTYPE_LOGICRAFT   0x8148 /* Logicraft */
#define ETHERTYPE_NCD   0x8149 /* Network Computing Devices */
#define ETHERTYPE_ALPHA   0x814A /* Alpha Micro */
#define ETHERTYPE_SNMP   0x814C /* SNMP over Ethernet (see RFC1089) */
#define ETHERTYPE_TEC   0x814F /* Technically Elite Concepts */
#define ETHERTYPE_RATIONAL   0x8150 /* Rational Corp */
#define ETHERTYPE_XTP   0x817D /* Protocol Engines XTP */
#define ETHERTYPE_SGITW   0x817E /* SGI/Time Warner prop. */
#define ETHERTYPE_HIPPI_FP   0x8180 /* HIPPI-FP encapsulation */
#define ETHERTYPE_STP   0x8181 /* Scheduled Transfer STP, HIPPI-ST */
#define ETHERTYPE_MOTOROLA   0x818D /* Motorola */
#define ETHERTYPE_NETBEUI   0x8191 /* PowerLAN NetBIOS/NetBEUI (PC) */
#define ETHERTYPE_ACCTON   0x8390 /* Accton Technologies (unregistered) */
#define ETHERTYPE_TALARISMC   0x852B /* Talaris multicast */
#define ETHERTYPE_KALPANA   0x8582 /* Kalpana */
#define ETHERTYPE_SECTRA   0x86DB /* SECTRA */
#define ETHERTYPE_IPV6   0x86DD /* IP protocol version 6 */
#define ETHERTYPE_DELTACON   0x86DE /* Delta Controls */
#define ETHERTYPE_ATOMIC   0x86DF /* ATOMIC */
#define ETHERTYPE_RDP   0x8739 /* Control Technology Inc. RDP Without IP */
#define ETHERTYPE_MICP   0x873A /* Control Technology Inc. Mcast Industrial Ctrl Proto. */
#define ETHERTYPE_TCPCOMP   0x876B /* TCP/IP Compression (RFC1701) */
#define ETHERTYPE_IPAS   0x876C /* IP Autonomous Systems (RFC1701) */
#define ETHERTYPE_SECUREDATA   0x876D /* Secure Data (RFC1701) */
#define ETHERTYPE_FLOWCONTROL   0x8808 /* 802.3x flow control packet */
#define ETHERTYPE_PPP   0x880B /* PPP (obsolete by PPPOE) */
#define ETHERTYPE_HITACHI   0x8820 /* Hitachi Cable (Optoelectronic Systems Laboratory) */
#define ETHERTYPE_MPLS   0x8847 /* MPLS Unicast */
#define ETHERTYPE_MPLS_MCAST   0x8848 /* MPLS Multicast */
#define ETHERTYPE_AXIS   0x8856 /* Axis Communications AB proprietary bootstrap/config */
#define ETHERTYPE_PPPOEDISC   0x8863 /* PPP Over Ethernet Discovery Stage */
#define ETHERTYPE_PPPOE   0x8864 /* PPP Over Ethernet Session Stage */
#define ETHERTYPE_LANPROBE   0x8888 /* HP LanProbe test? */
#define ETHERTYPE_PAE   0x888e /* EAPOL PAE/802.1x */
#define ETHERTYPE_LOOPBACK   0x9000 /* Loopback: used to test interfaces */
#define ETHERTYPE_LBACK   ETHERTYPE_LOOPBACK /* DEC MOP loopback */
#define ETHERTYPE_XNSSM   0x9001 /* 3Com (Formerly Bridge Communications), XNS Systems Management */
#define ETHERTYPE_TCPSM   0x9002 /* 3Com (Formerly Bridge Communications), TCP/IP Systems Management */
#define ETHERTYPE_BCLOOP   0x9003 /* 3Com (Formerly Bridge Communications), loopback detection */
#define ETHERTYPE_DEBNI   0xAAAA /* DECNET? Used by VAX 6220 DEBNI */
#define ETHERTYPE_SONIX   0xFAF5 /* Sonix Arpeggio */
#define ETHERTYPE_VITAL   0xFF00 /* BBN VITAL-LanBridge cache wakeups */
#define ETHERTYPE_MAX   0xFFFF /* Maximum valid ethernet type, reserved */
#define ETHERTYPE_TRAIL   0x1000 /* Trailer packet */
#define ETHERTYPE_NTRAILER   16
#define ETHERMTU   (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
#define ETHERMIN   (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN)

Variables

const uint8_t etherbroadcastaddr [ETHER_ADDR_LEN]

Define Documentation

#define ETHER_ADDR_LEN   6

Definition at line 15 of file ethernet.h.

#define ETHER_ALIGN   2

Definition at line 33 of file ethernet.h.

#define ETHER_CRC_LEN   4

Definition at line 25 of file ethernet.h.

#define ETHER_CRC_POLY_BE   0x04c11db6

Definition at line 60 of file ethernet.h.

#define ETHER_CRC_POLY_LE   0xedb88320

Definition at line 59 of file ethernet.h.

Definition at line 38 of file ethernet.h.

#define ETHER_IS_MULTICAST (   addr)    (*(addr) & 0x01) /* is address mcast/bcast? */

Definition at line 80 of file ethernet.h.

#define ETHER_IS_VALID_LEN (   foo)    ((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)

Definition at line 53 of file ethernet.h.

#define ETHER_MAX_LEN   1518

Definition at line 48 of file ethernet.h.

#define ETHER_MIN_LEN   64

Definition at line 43 of file ethernet.h.

#define ETHER_TYPE_LEN   2

Definition at line 20 of file ethernet.h.

Definition at line 351 of file ethernet.h.

Definition at line 350 of file ethernet.h.

#define ETHERTYPE_8023   0x0004 /* IEEE 802.3 packet */

Definition at line 87 of file ethernet.h.

#define ETHERTYPE_AARP   0x80F3 /* AppleTalk AARP */

Definition at line 248 of file ethernet.h.

#define ETHERTYPE_ACCTON   0x8390 /* Accton Technologies (unregistered) */

Definition at line 302 of file ethernet.h.

#define ETHERTYPE_AEONIC   0x8036 /* Aeonic Systems */

Definition at line 190 of file ethernet.h.

#define ETHERTYPE_ALPHA   0x814A /* Alpha Micro */

Definition at line 270 of file ethernet.h.

#define ETHERTYPE_AMBER   0x6008 /* DEC AMBER */

Definition at line 160 of file ethernet.h.

#define ETHERTYPE_AMOEBA   0x8145 /* Vrije Universiteit (NL) Amoeba 4 RPC (obsolete) */

Definition at line 265 of file ethernet.h.

#define ETHERTYPE_APOLLO   0x80F7 /* Apollo Computer */

Definition at line 250 of file ethernet.h.

#define ETHERTYPE_APOLLODOMAIN   0x8019 /* Apollo DOMAIN */

Definition at line 186 of file ethernet.h.

#define ETHERTYPE_APPLETALK   ETHERTYPE_ATALK /* HP-UX */

Definition at line 229 of file ethernet.h.

#define ETHERTYPE_APPLITEK   0x80C7 /* Applitek Corporation */

Definition at line 237 of file ethernet.h.

#define ETHERTYPE_ARGONAUT   0x803A /* DEC Argonaut Console */

Definition at line 194 of file ethernet.h.

#define ETHERTYPE_ARP   0x0806 /* Address resolution protocol */

Definition at line 103 of file ethernet.h.

#define ETHERTYPE_AT   ETHERTYPE_ATALK /* old NetBSD */

Definition at line 228 of file ethernet.h.

#define ETHERTYPE_ATALK   0x809B /* AppleTalk */

Definition at line 227 of file ethernet.h.

#define ETHERTYPE_ATOMIC   0x86DF /* ATOMIC */

Definition at line 311 of file ethernet.h.

#define ETHERTYPE_ATT   0x8069 /* AT&T */

Definition at line 215 of file ethernet.h.

#define ETHERTYPE_ATTSTANFORD   0x8008 /* AT&T/Stanford (local use) */

Definition at line 180 of file ethernet.h.

#define ETHERTYPE_AUTOPHON   0x806A /* Autophon */

Definition at line 216 of file ethernet.h.

#define ETHERTYPE_AXIS   0x8856 /* Axis Communications AB proprietary bootstrap/config */

Definition at line 325 of file ethernet.h.

#define ETHERTYPE_BCLOOP   0x9003 /* 3Com (Formerly Bridge Communications), loopback detection */

Definition at line 334 of file ethernet.h.

#define ETHERTYPE_BOFL   0x8102 /* Wellfleet; BOFL (Breath OF Life) pkts [every 5-10 secs.] */

Definition at line 253 of file ethernet.h.

#define ETHERTYPE_CABLETRON   0x7034 /* Cabletron */

Definition at line 175 of file ethernet.h.

#define ETHERTYPE_CHAOS   0x0804 /* CHAOSnet */

Definition at line 101 of file ethernet.h.

#define ETHERTYPE_COMDESIGN   0x806C /* ComDesign */

Definition at line 217 of file ethernet.h.

#define ETHERTYPE_COMPUGRAPHIC   0x806D /* Compugraphic Corporation */

Definition at line 218 of file ethernet.h.

#define ETHERTYPE_COUNTERPOINT   0x8062 /* Counterpoint Computers */

Definition at line 211 of file ethernet.h.

#define ETHERTYPE_CRONUS   0x8004 /* Cronus Direct */

Definition at line 177 of file ethernet.h.

#define ETHERTYPE_CRONUSVLN   0x8003 /* Cronus VLN */

Definition at line 176 of file ethernet.h.

#define ETHERTYPE_DCA   0x1234 /* DCA - Multicast */

Definition at line 124 of file ethernet.h.

#define ETHERTYPE_DDE   0x807B /* Dansk Data Elektronik */

Definition at line 221 of file ethernet.h.

#define ETHERTYPE_DEBNI   0xAAAA /* DECNET? Used by VAX 6220 DEBNI */

Definition at line 335 of file ethernet.h.

#define ETHERTYPE_DECAM   0x8048 /* DEC Availability Manager for Distributed Systems DECamds (but someone at DEC says not) */

Definition at line 205 of file ethernet.h.

#define ETHERTYPE_DECCUST   0x6006 /* DEC customer protocol */

Definition at line 158 of file ethernet.h.

#define ETHERTYPE_DECDIAG   0x6005 /* DEC diagnostic protocol (at interface initialization?) */

Definition at line 157 of file ethernet.h.

#define ETHERTYPE_DECDNS   0x803C /* DEC DNS Naming Service */

Definition at line 196 of file ethernet.h.

#define ETHERTYPE_DECDTS   0x803E /* DEC Distributed Time Service */

Definition at line 198 of file ethernet.h.

#define ETHERTYPE_DECEXPER   0x6000 /* DEC Unassigned, experimental */

Definition at line 151 of file ethernet.h.

#define ETHERTYPE_DECLAST   0x8041 /* DEC Local Area System Transport */

Definition at line 201 of file ethernet.h.

#define ETHERTYPE_DECLTM   0x803F /* DEC LAN Traffic Monitor */

Definition at line 199 of file ethernet.h.

#define ETHERTYPE_DECMUMPS   0x6009 /* DEC MUMPS */

Definition at line 161 of file ethernet.h.

#define ETHERTYPE_DECnet   0x6003 /* DEC DECNET Phase IV route */

Definition at line 154 of file ethernet.h.

#define ETHERTYPE_DECNETBIOS   0x8040 /* DEC PATHWORKS DECnet NETBIOS Emulation */

Definition at line 200 of file ethernet.h.

#define ETHERTYPE_DELTACON   0x86DE /* Delta Controls */

Definition at line 310 of file ethernet.h.

#define ETHERTYPE_DIDDLE   0x4321 /* THD - Diddle */

Definition at line 148 of file ethernet.h.

#define ETHERTYPE_DLOG1   0x0660 /* DLOG (?) */

Definition at line 95 of file ethernet.h.

#define ETHERTYPE_DLOG2   0x0661 /* DLOG (?) */

Definition at line 96 of file ethernet.h.

#define ETHERTYPE_DN   ETHERTYPE_DECnet /* libpcap, tcpdump */

Definition at line 155 of file ethernet.h.

#define ETHERTYPE_DOGFIGHT   0x1989 /* Artificial Horizons ("Aviator" dogfight simulator [on Sun]) */

Definition at line 126 of file ethernet.h.

#define ETHERTYPE_DSMD   0x8039 /* DEC DSM/DDP */

Definition at line 193 of file ethernet.h.

#define ETHERTYPE_ECMA   0x0803 /* ECMA Internet */

Definition at line 100 of file ethernet.h.

#define ETHERTYPE_ENCRYPT   0x803D /* DEC Ethernet Encryption */

Definition at line 197 of file ethernet.h.

#define ETHERTYPE_ES   0x805D /* Evans & Sutherland */

Definition at line 209 of file ethernet.h.

#define ETHERTYPE_EXCELAN   0x8010 /* Excelan */

Definition at line 181 of file ethernet.h.

#define ETHERTYPE_EXPERDATA   0x8049 /* ExperData */

Definition at line 206 of file ethernet.h.

#define ETHERTYPE_FLIP   0x8146 /* Vrije Universiteit (NL) FLIP (Fast Local Internet Protocol) */

Definition at line 266 of file ethernet.h.

#define ETHERTYPE_FLOWCONTROL   0x8808 /* 802.3x flow control packet */

Definition at line 320 of file ethernet.h.

#define ETHERTYPE_FRARP   0x0808 /* Frame Relay ARP (RFC1701) */

Definition at line 105 of file ethernet.h.

#define ETHERTYPE_GENDYN   0x8068 /* General Dynamics */

Definition at line 214 of file ethernet.h.

#define ETHERTYPE_HAYES   0x8130 /* Hayes Microcomputers (XXX which?) */

Definition at line 258 of file ethernet.h.

#define ETHERTYPE_HIPPI_FP   0x8180 /* HIPPI-FP encapsulation */

Definition at line 280 of file ethernet.h.

#define ETHERTYPE_HITACHI   0x8820 /* Hitachi Cable (Optoelectronic Systems Laboratory) */

Definition at line 322 of file ethernet.h.

#define ETHERTYPE_HP   0x8005 /* HP Probe */

Definition at line 178 of file ethernet.h.

#define ETHERTYPE_IEEEPUP   0x0A00 /* Xerox IEEE802.3 PUP */

Definition at line 109 of file ethernet.h.

#define ETHERTYPE_IEEEPUPAT   0x0A01 /* Xerox IEEE802.3 PUP Address Translation */

Definition at line 110 of file ethernet.h.

#define ETHERTYPE_IMLBL   0x4C42 /* Information Modes Little Big LAN */

Definition at line 149 of file ethernet.h.

#define ETHERTYPE_IMLBLDIAG   0x424C /* Information Modes Little Big LAN diagnostic */

Definition at line 147 of file ethernet.h.

#define ETHERTYPE_IP   0x0800 /* IP protocol */

Definition at line 97 of file ethernet.h.

#define ETHERTYPE_IPAS   0x876C /* IP Autonomous Systems (RFC1701) */

Definition at line 318 of file ethernet.h.

#define ETHERTYPE_IPV6   0x86DD /* IP protocol version 6 */

Definition at line 309 of file ethernet.h.

#define ETHERTYPE_IPX   0x8137 /* Novell (old) NetWare IPX (ECONFIG E option) */

Definition at line 261 of file ethernet.h.

#define ETHERTYPE_IPXNEW   0x8037 /* IPX (Novell Netware?) */

Definition at line 191 of file ethernet.h.

#define ETHERTYPE_KALPANA   0x8582 /* Kalpana */

Definition at line 304 of file ethernet.h.

#define ETHERTYPE_LANBRIDGE   0x8038 /* DEC LANBridge */

Definition at line 192 of file ethernet.h.

#define ETHERTYPE_LANPROBE   0x8888 /* HP LanProbe test? */

Definition at line 328 of file ethernet.h.

#define ETHERTYPE_LAT   0x6004 /* DEC LAT */

Definition at line 156 of file ethernet.h.

#define ETHERTYPE_LBACK   ETHERTYPE_LOOPBACK /* DEC MOP loopback */

Definition at line 331 of file ethernet.h.

#define ETHERTYPE_LITTLE   0x8060 /* Little Machines */

Definition at line 210 of file ethernet.h.

#define ETHERTYPE_LOGICRAFT   0x8148 /* Logicraft */

Definition at line 268 of file ethernet.h.

#define ETHERTYPE_LOOPBACK   0x9000 /* Loopback: used to test interfaces */

Definition at line 330 of file ethernet.h.

#define ETHERTYPE_MATRA   0x807A /* Matra */

Definition at line 220 of file ethernet.h.

#define ETHERTYPE_MAX   0xFFFF /* Maximum valid ethernet type, reserved */

Definition at line 340 of file ethernet.h.

#define ETHERTYPE_MERIT   0x807C /* Merit Internodal (or Univ of Michigan?) */

Definition at line 222 of file ethernet.h.

#define ETHERTYPE_MICP   0x873A /* Control Technology Inc. Mcast Industrial Ctrl Proto. */

Definition at line 315 of file ethernet.h.

#define ETHERTYPE_MOPDL   0x6001 /* DEC MOP dump/load */

Definition at line 152 of file ethernet.h.

#define ETHERTYPE_MOPRC   0x6002 /* DEC MOP remote console */

Definition at line 153 of file ethernet.h.

#define ETHERTYPE_MOTOROLA   0x818D /* Motorola */

Definition at line 284 of file ethernet.h.

#define ETHERTYPE_MPLS   0x8847 /* MPLS Unicast */

Definition at line 323 of file ethernet.h.

#define ETHERTYPE_MPLS_MCAST   0x8848 /* MPLS Multicast */

Definition at line 324 of file ethernet.h.

#define ETHERTYPE_MUMPS   0x813F /* M/MUMPS data sharing */

Definition at line 264 of file ethernet.h.

#define ETHERTYPE_NBPCC   0x3C04 /* 3Com NBP Connect complete not registered */

Definition at line 135 of file ethernet.h.

#define ETHERTYPE_NBPCLAIM   0x3C09 /* 3Com NBP Claim NetBIOS name not registered */

Definition at line 140 of file ethernet.h.

#define ETHERTYPE_NBPCLREQ   0x3C05 /* 3Com NBP Close request (virtual cct) not registered */

Definition at line 136 of file ethernet.h.

#define ETHERTYPE_NBPCLRSP   0x3C06 /* 3Com NBP Close response not registered */

Definition at line 137 of file ethernet.h.

#define ETHERTYPE_NBPCREQ   0x3C02 /* 3Com NBP Connect request (virtual cct) not registered */

Definition at line 133 of file ethernet.h.

#define ETHERTYPE_NBPCRSP   0x3C03 /* 3Com NBP Connect repsonse not registered */

Definition at line 134 of file ethernet.h.

#define ETHERTYPE_NBPDG   0x3C07 /* 3Com NBP Datagram (like XNS IDP) not registered */

Definition at line 138 of file ethernet.h.

#define ETHERTYPE_NBPDGB   0x3C08 /* 3Com NBP Datagram broadcast not registered */

Definition at line 139 of file ethernet.h.

#define ETHERTYPE_NBPDLTE   0x3C0A /* 3Com NBP Delete Netbios name not registered */

Definition at line 141 of file ethernet.h.

#define ETHERTYPE_NBPRAR   0x3C0C /* 3Com NBP Remote adaptor response not registered */

Definition at line 143 of file ethernet.h.

#define ETHERTYPE_NBPRAS   0x3C0B /* 3Com NBP Remote adaptor status request not registered */

Definition at line 142 of file ethernet.h.

#define ETHERTYPE_NBPRST   0x3C0D /* 3Com NBP Reset not registered */

Definition at line 144 of file ethernet.h.

#define ETHERTYPE_NBPSCD   0x3C01 /* 3Com NBP System control datagram not registered */

Definition at line 132 of file ethernet.h.

#define ETHERTYPE_NBPVCD   0x3C00 /* 3Com NBP virtual circuit datagram (like XNS SPP) not registered */

Definition at line 131 of file ethernet.h.

#define ETHERTYPE_NBS   0x0802 /* NBS Internet */

Definition at line 99 of file ethernet.h.

#define ETHERTYPE_NCD   0x8149 /* Network Computing Devices */

Definition at line 269 of file ethernet.h.

#define ETHERTYPE_NESTAR   0x8006 /* Nestar */

Definition at line 179 of file ethernet.h.

#define ETHERTYPE_NETBEUI   0x8191 /* PowerLAN NetBIOS/NetBEUI (PC) */

Definition at line 285 of file ethernet.h.

#define ETHERTYPE_NOVELL   0x8138 /* Novell, Inc. */

Definition at line 262 of file ethernet.h.

#define ETHERTYPE_NS   0x0600 /* XNS */

Definition at line 93 of file ethernet.h.

#define ETHERTYPE_NSAT   0x0601 /* XNS Address Translation (3Mb only) */

Definition at line 94 of file ethernet.h.

#define ETHERTYPE_NSCOMPAT   0x0807 /* XNS Compatibility */

Definition at line 104 of file ethernet.h.

#define ETHERTYPE_NTRAILER   16

Definition at line 348 of file ethernet.h.

#define ETHERTYPE_NTRAILER   16

Definition at line 348 of file ethernet.h.

#define ETHERTYPE_OS9   0x7007 /* OS/9 Microware */

Definition at line 170 of file ethernet.h.

#define ETHERTYPE_OS9NET   0x7009 /* OS/9 Net? */

Definition at line 171 of file ethernet.h.

#define ETHERTYPE_PACER   0x80C6 /* Pacer Software */

Definition at line 236 of file ethernet.h.

#define ETHERTYPE_PAE   0x888e /* EAPOL PAE/802.1x */

Definition at line 329 of file ethernet.h.

#define ETHERTYPE_PCS   0x4242 /* PCS Basic Block Protocol */

Definition at line 146 of file ethernet.h.

#define ETHERTYPE_PLANNING   0x8044 /* Planning Research Corp. */

Definition at line 203 of file ethernet.h.

#define ETHERTYPE_PPP   0x880B /* PPP (obsolete by PPPOE) */

Definition at line 321 of file ethernet.h.

#define ETHERTYPE_PPPOE   0x8864 /* PPP Over Ethernet Session Stage */

Definition at line 327 of file ethernet.h.

#define ETHERTYPE_PPPOEDISC   0x8863 /* PPP Over Ethernet Discovery Stage */

Definition at line 326 of file ethernet.h.

#define ETHERTYPE_PRIMENTS   0x7031 /* Prime NTS (Network Terminal Service) */

Definition at line 174 of file ethernet.h.

#define ETHERTYPE_PUP   0x0200 /* Xerox PUP protocol - see 0A00 */

Definition at line 89 of file ethernet.h.

#define ETHERTYPE_PUPAT   0x0200 /* PUP Address Translation - see 0A01 */

Definition at line 90 of file ethernet.h.

#define ETHERTYPE_RACAL   0x7030 /* Racal-Interlan */

Definition at line 173 of file ethernet.h.

#define ETHERTYPE_RATIONAL   0x8150 /* Rational Corp */

Definition at line 274 of file ethernet.h.

#define ETHERTYPE_RAWFR   0x6559 /* Raw Frame Relay (RFC1701) */

Definition at line 164 of file ethernet.h.

#define ETHERTYPE_RCL   0x1995 /* Datapoint Corporation (RCL lan protocol) */

Definition at line 127 of file ethernet.h.

#define ETHERTYPE_RDP   0x8739 /* Control Technology Inc. RDP Without IP */

Definition at line 314 of file ethernet.h.

#define ETHERTYPE_RETIX   0x80F2 /* Retix */

Definition at line 247 of file ethernet.h.

#define ETHERTYPE_REVARP   0x8035 /* Reverse addr resolution protocol */

Definition at line 189 of file ethernet.h.

#define ETHERTYPE_SCA   0x6007 /* DEC LAVC, SCA */

Definition at line 159 of file ethernet.h.

#define ETHERTYPE_SECTRA   0x86DB /* SECTRA */

Definition at line 308 of file ethernet.h.

#define ETHERTYPE_SECUREDATA   0x876D /* Secure Data (RFC1701) */

Definition at line 319 of file ethernet.h.

#define ETHERTYPE_SG_BOUNCE   0x8016 /* SGI bounce server */

Definition at line 185 of file ethernet.h.

#define ETHERTYPE_SG_DIAG   0x8013 /* SGI diagnostic type */

Definition at line 182 of file ethernet.h.

#define ETHERTYPE_SG_NETGAMES   0x8014 /* SGI network games */

Definition at line 183 of file ethernet.h.

#define ETHERTYPE_SG_RESV   0x8015 /* SGI reserved type */

Definition at line 184 of file ethernet.h.

#define ETHERTYPE_SGITW   0x817E /* SGI/Time Warner prop. */

Definition at line 279 of file ethernet.h.

#define ETHERTYPE_SIMNET   0x5208 /* BBN Simnet Private */

Definition at line 150 of file ethernet.h.

#define ETHERTYPE_SNA   0x80D5 /* IBM SNA Services over Ethernet */

Definition at line 242 of file ethernet.h.

#define ETHERTYPE_SNMP   0x814C /* SNMP over Ethernet (see RFC1089) */

Definition at line 271 of file ethernet.h.

#define ETHERTYPE_SONIX   0xFAF5 /* Sonix Arpeggio */

Definition at line 336 of file ethernet.h.

#define ETHERTYPE_SPIDER   0x809F /* Spider Systems Ltd. */

Definition at line 231 of file ethernet.h.

#define ETHERTYPE_SPRITE   0x0500 /* ??? */

Definition at line 91 of file ethernet.h.

#define ETHERTYPE_STP   0x8181 /* Scheduled Transfer STP, HIPPI-ST */

Definition at line 281 of file ethernet.h.

#define ETHERTYPE_TALARIS   0x812B /* Talaris */

Definition at line 256 of file ethernet.h.

#define ETHERTYPE_TALARISMC   0x852B /* Talaris multicast */

Definition at line 303 of file ethernet.h.

#define ETHERTYPE_TCPCOMP   0x876B /* TCP/IP Compression (RFC1701) */

Definition at line 317 of file ethernet.h.

#define ETHERTYPE_TCPSM   0x9002 /* 3Com (Formerly Bridge Communications), TCP/IP Systems Management */

Definition at line 333 of file ethernet.h.

#define ETHERTYPE_TEC   0x814F /* Technically Elite Concepts */

Definition at line 273 of file ethernet.h.

#define ETHERTYPE_TIGAN   0x802F /* Tigan, Inc. */

Definition at line 188 of file ethernet.h.

#define ETHERTYPE_TRAIL   0x1000 /* Trailer packet */

Definition at line 347 of file ethernet.h.

#define ETHERTYPE_TRAIL   0x1000 /* Trailer packet */

Definition at line 347 of file ethernet.h.

#define ETHERTYPE_TRANSETHER   0x6558 /* Trans Ether Bridging (RFC1701)*/

Definition at line 163 of file ethernet.h.

#define ETHERTYPE_TYMSHARE   0x802E /* Tymeshare */

Definition at line 187 of file ethernet.h.

#define ETHERTYPE_UBBST   0x7005 /* Ungermann-Bass Bridge Spanning Tree */

Definition at line 169 of file ethernet.h.

#define ETHERTYPE_UBDEBUG   0x0900 /* Ungermann-Bass network debugger */

Definition at line 108 of file ethernet.h.

#define ETHERTYPE_UBDIAGLOOP   0x7002 /* Ungermann-Bass diagnostic/loopback */

Definition at line 167 of file ethernet.h.

#define ETHERTYPE_UBDL   0x7000 /* Ungermann-Bass download */

Definition at line 165 of file ethernet.h.

#define ETHERTYPE_UBNIU   0x7001 /* Ungermann-Bass NIUs */

Definition at line 166 of file ethernet.h.

#define ETHERTYPE_UBNMC   0x7003 /* Ungermann-Bass ??? (NMC to/from UB Bridge) */

Definition at line 168 of file ethernet.h.

#define ETHERTYPE_VALID   0x1600 /* VALID system protocol */

Definition at line 125 of file ethernet.h.

#define ETHERTYPE_VARIAN   0x80DD /* Varian Associates */

Definition at line 243 of file ethernet.h.

#define ETHERTYPE_VAXELN   0x803B /* DEC VAXELN */

Definition at line 195 of file ethernet.h.

#define ETHERTYPE_VEECO   0x8067 /* Veeco Integrated Auto. */

Definition at line 213 of file ethernet.h.

#define ETHERTYPE_VEXP   0x805B /* Stanford V Kernel exp. */

Definition at line 207 of file ethernet.h.

#define ETHERTYPE_VGLAB   0x8131 /* VG Laboratory Systems */

Definition at line 259 of file ethernet.h.

#define ETHERTYPE_VINES   0x0BAD /* Banyan VINES */

Definition at line 111 of file ethernet.h.

#define ETHERTYPE_VINESECHO   0x0BAF /* Banyan VINES Echo */

Definition at line 113 of file ethernet.h.

#define ETHERTYPE_VINESLOOP   0x0BAE /* Banyan VINES Loopback */

Definition at line 112 of file ethernet.h.

#define ETHERTYPE_VITAL   0xFF00 /* BBN VITAL-LanBridge cache wakeups */

Definition at line 337 of file ethernet.h.

#define ETHERTYPE_VLAN   0x8100 /* IEEE 802.1Q VLAN tagging (XXX conflicts) */

Definition at line 251 of file ethernet.h.

#define ETHERTYPE_VLTLMAN   0x8080 /* Vitalink TransLAN III Management */

Definition at line 224 of file ethernet.h.

#define ETHERTYPE_VPROD   0x805C /* Stanford V Kernel prod. */

Definition at line 208 of file ethernet.h.

#define ETHERTYPE_VURESERVED   0x8147 /* Vrije Universiteit (NL) [reserved] */

Definition at line 267 of file ethernet.h.

#define ETHERTYPE_WATERLOO   0x8130 /* Waterloo Microsystems Inc. (XXX which?) */

Definition at line 257 of file ethernet.h.

#define ETHERTYPE_WELLFLEET   0x8103 /* Wellfleet Communications */

Definition at line 254 of file ethernet.h.

#define ETHERTYPE_X25   0x0805 /* X.25 Level 3 */

Definition at line 102 of file ethernet.h.

#define ETHERTYPE_X75   0x0801 /* X.75 Internet */

Definition at line 98 of file ethernet.h.

#define ETHERTYPE_XNSSM   0x9001 /* 3Com (Formerly Bridge Communications), XNS Systems Management */

Definition at line 332 of file ethernet.h.

#define ETHERTYPE_XTP   0x817D /* Protocol Engines XTP */

Definition at line 278 of file ethernet.h.


Variable Documentation