Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353761
b: refs/heads/master
c: eb379da
h: refs/heads/master
i:
  353759: f7e10cf
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 03ddc2b commit 4d178f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 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: 5cc3dead2a38ed465c99e6052e4756b4c2602f8b
refs/heads/master: eb379dae37ca215cf6fcafdbc3f3cdf5d44f4ab8
24 changes: 8 additions & 16 deletions trunk/drivers/staging/bcm/IPv6ProtocolHdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
*/
#define IPV6_DESTOPTS_HDR_OPTIONSIZE 0x8

typedef struct IPV6HeaderFormatTag
{
typedef struct IPV6HeaderFormatTag {
UCHAR ucVersionPrio;
UCHAR aucFlowLabel[3];
USHORT usPayloadLength;
Expand All @@ -32,54 +31,47 @@ typedef struct IPV6HeaderFormatTag
ULONG ulDestIpAddress[4];
} IPV6Header;

typedef struct IPV6RoutingHeaderFormatTag
{
typedef struct IPV6RoutingHeaderFormatTag {
UCHAR ucNextHeader;
UCHAR ucRoutingType;
UCHAR ucNumAddresses;
UCHAR ucNextAddress;
ULONG ulReserved;
} IPV6RoutingHeader;

typedef struct IPV6FragmentHeaderFormatTag
{
typedef struct IPV6FragmentHeaderFormatTag {
UCHAR ucNextHeader;
UCHAR ucReserved;
USHORT usFragmentOffset;
ULONG ulIdentification;
} IPV6FragmentHeader;

typedef struct IPV6DestOptionsHeaderFormatTag
{
typedef struct IPV6DestOptionsHeaderFormatTag {
UCHAR ucNextHeader;
UCHAR ucHdrExtLen;
UCHAR ucDestOptions[6];
} IPV6DestOptionsHeader;

typedef struct IPV6HopByHopOptionsHeaderFormatTag
{
typedef struct IPV6HopByHopOptionsHeaderFormatTag {
UCHAR ucNextHeader;
UCHAR ucMisc[3];
ULONG ulJumboPayloadLen;
} IPV6HopByHopOptionsHeader;

typedef struct IPV6AuthenticationHeaderFormatTag
{
typedef struct IPV6AuthenticationHeaderFormatTag {
UCHAR ucNextHeader;
UCHAR ucLength;
USHORT usReserved;
ULONG ulSecurityParametersIndex;
} IPV6AuthenticationHeader;

typedef struct IPV6IcmpHeaderFormatTag
{
typedef struct IPV6IcmpHeaderFormatTag {
UCHAR ucType;
UCHAR ucCode;
USHORT usChecksum;
} IPV6IcmpHeader;

typedef enum _E_IPADDR_CONTEXT
{
typedef enum _E_IPADDR_CONTEXT {
eSrcIpAddress,
eDestIpAddress
} E_IPADDR_CONTEXT;
Expand Down

0 comments on commit 4d178f7

Please sign in to comment.