diff options
author | 2010-11-01 13:54:21 -0400 | |
---|---|---|
committer | 2010-11-01 13:54:21 -0400 | |
commit | 78afa9990fdbbf01227104300a657be3f3caa167 (patch) | |
tree | 27421409fe531579914f563d3161d82b09cdf5d5 /drivers/staging/bcm | |
parent | beceem: statistics and transmit queue changes (diff) | |
download | linux-78afa9990fdbbf01227104300a657be3f3caa167.tar.gz linux-78afa9990fdbbf01227104300a657be3f3caa167.tar.bz2 linux-78afa9990fdbbf01227104300a657be3f3caa167.zip |
beceem: fix definition of VLAN header type
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r-- | drivers/staging/bcm/Protocol.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Protocol.h b/drivers/staging/bcm/Protocol.h index 00f1cc12356a..b8a4009bdf0c 100644 --- a/drivers/staging/bcm/Protocol.h +++ b/drivers/staging/bcm/Protocol.h @@ -85,10 +85,10 @@ typedef struct _ETH_CS_ETH2_FRAME ETH_HEADER_STRUC EThHdr; } __attribute__((packed)) ETH_CS_ETH2_FRAME; +#define ETHERNET_FRAMETYPE_IPV4 ntohs(0x0800) +#define ETHERNET_FRAMETYPE_IPV6 ntohs(0x86dd) +#define ETHERNET_FRAMETYPE_802QVLAN ntohs(0x8100) -#define ETHERNET_FRAMETYPE_IPV4 ntohs(0x0800) -#define ETHERNET_FRAMETYPE_IPV6 ntohs(0x86dd) -#define ETHERNET_FRAMETYPE_802QVLAN 0x8100 //Per SF CS Specification Encodings typedef enum _E_SERVICEFLOW_CS_SPEC_ { |