Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353814
b: refs/heads/master
c: 5f8797b
h: refs/heads/master
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 0530e31 commit dde1f37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3df56e1066f88f97a602de2182a9236b8464f41b
refs/heads/master: 5f8797b64f62662f36814db36409720eac02a5a4
10 changes: 5 additions & 5 deletions trunk/drivers/staging/bcm/Protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct TransportHeaderT {
struct udphdr uhdr;
struct tcphdr thdr;
};
} __attribute__((packed));
} __packed;
typedef struct TransportHeaderT xporthdr;

typedef enum _E_NWPKT_IPFRAME_TYPE {
Expand Down Expand Up @@ -50,14 +50,14 @@ typedef struct _ETH_CS_802_Q_FRAME {
USHORT CFI:1;
USHORT VLANID:12;
USHORT EthType;
} __attribute__((packed)) ETH_CS_802_Q_FRAME;
} __packed ETH_CS_802_Q_FRAME;

typedef struct _ETH_CS_802_LLC_FRAME {
struct bcm_eth_header EThHdr;
unsigned char DSAP;
unsigned char SSAP;
unsigned char Control;
} __attribute__((packed)) ETH_CS_802_LLC_FRAME;
} __packed ETH_CS_802_LLC_FRAME;

typedef struct _ETH_CS_802_LLC_SNAP_FRAME {
struct bcm_eth_header EThHdr;
Expand All @@ -66,11 +66,11 @@ typedef struct _ETH_CS_802_LLC_SNAP_FRAME {
unsigned char Control;
unsigned char OUI[3];
unsigned short usEtherType;
} __attribute__((packed)) ETH_CS_802_LLC_SNAP_FRAME;
} __packed ETH_CS_802_LLC_SNAP_FRAME;

typedef struct _ETH_CS_ETH2_FRAME {
struct bcm_eth_header EThHdr;
} __attribute__((packed)) ETH_CS_ETH2_FRAME;
} __packed ETH_CS_ETH2_FRAME;

#define ETHERNET_FRAMETYPE_IPV4 ntohs(0x0800)
#define ETHERNET_FRAMETYPE_IPV6 ntohs(0x86dd)
Expand Down

0 comments on commit dde1f37

Please sign in to comment.