mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1999, 2001 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1999, 2001, 2008 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -45,9 +45,17 @@ struct ether_header
|
||||
|
||||
/* Ethernet protocol ID's */
|
||||
#define ETHERTYPE_PUP 0x0200 /* Xerox PUP */
|
||||
#define ETHERTYPE_SPRITE 0x0500 /* Sprite */
|
||||
#define ETHERTYPE_IP 0x0800 /* IP */
|
||||
#define ETHERTYPE_ARP 0x0806 /* Address resolution */
|
||||
#define ETHERTYPE_REVARP 0x8035 /* Reverse ARP */
|
||||
#define ETHERTYPE_AT 0x809B /* AppleTalk protocol */
|
||||
#define ETHERTYPE_AARP 0x80F3 /* AppleTalk ARP */
|
||||
#define ETHERTYPE_VLAN 0x8100 /* IEEE 802.1Q VLAN tagging */
|
||||
#define ETHERTYPE_IPX 0x8137 /* IPX */
|
||||
#define ETHERTYPE_IPV6 0x86dd /* IP protocol version 6 */
|
||||
#define ETHERTYPE_LOOPBACK 0x9000 /* used to test interfaces */
|
||||
|
||||
|
||||
#define ETHER_ADDR_LEN ETH_ALEN /* size of ethernet addr */
|
||||
#define ETHER_TYPE_LEN 2 /* bytes in type field */
|
||||
|
Reference in New Issue
Block a user