From: Stephen Hemminger Date: Mon, 1 Nov 2010 17:54:21 +0000 (-0400) Subject: beceem: fix definition of VLAN header type X-Git-Tag: v4.13~16523^2~455^2^2~5 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=78afa9990fdbbf01227104300a657be3f3caa167;p=mirror_ubuntu-bionic-kernel.git beceem: fix definition of VLAN header type Signed-off-by: Stephen Hemminger --- 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_ {