Commit eb379dae authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Properly format braces in IPv6ProtocolHdr.h

This patch properly formats braces in IPv6ProtocolHdr.h
as reported by checkpath.pl
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5cc3dead
...@@ -21,8 +21,7 @@ ...@@ -21,8 +21,7 @@
*/ */
#define IPV6_DESTOPTS_HDR_OPTIONSIZE 0x8 #define IPV6_DESTOPTS_HDR_OPTIONSIZE 0x8
typedef struct IPV6HeaderFormatTag typedef struct IPV6HeaderFormatTag {
{
UCHAR ucVersionPrio; UCHAR ucVersionPrio;
UCHAR aucFlowLabel[3]; UCHAR aucFlowLabel[3];
USHORT usPayloadLength; USHORT usPayloadLength;
...@@ -32,8 +31,7 @@ typedef struct IPV6HeaderFormatTag ...@@ -32,8 +31,7 @@ typedef struct IPV6HeaderFormatTag
ULONG ulDestIpAddress[4]; ULONG ulDestIpAddress[4];
} IPV6Header; } IPV6Header;
typedef struct IPV6RoutingHeaderFormatTag typedef struct IPV6RoutingHeaderFormatTag {
{
UCHAR ucNextHeader; UCHAR ucNextHeader;
UCHAR ucRoutingType; UCHAR ucRoutingType;
UCHAR ucNumAddresses; UCHAR ucNumAddresses;
...@@ -41,45 +39,39 @@ typedef struct IPV6RoutingHeaderFormatTag ...@@ -41,45 +39,39 @@ typedef struct IPV6RoutingHeaderFormatTag
ULONG ulReserved; ULONG ulReserved;
} IPV6RoutingHeader; } IPV6RoutingHeader;
typedef struct IPV6FragmentHeaderFormatTag typedef struct IPV6FragmentHeaderFormatTag {
{
UCHAR ucNextHeader; UCHAR ucNextHeader;
UCHAR ucReserved; UCHAR ucReserved;
USHORT usFragmentOffset; USHORT usFragmentOffset;
ULONG ulIdentification; ULONG ulIdentification;
} IPV6FragmentHeader; } IPV6FragmentHeader;
typedef struct IPV6DestOptionsHeaderFormatTag typedef struct IPV6DestOptionsHeaderFormatTag {
{
UCHAR ucNextHeader; UCHAR ucNextHeader;
UCHAR ucHdrExtLen; UCHAR ucHdrExtLen;
UCHAR ucDestOptions[6]; UCHAR ucDestOptions[6];
} IPV6DestOptionsHeader; } IPV6DestOptionsHeader;
typedef struct IPV6HopByHopOptionsHeaderFormatTag typedef struct IPV6HopByHopOptionsHeaderFormatTag {
{
UCHAR ucNextHeader; UCHAR ucNextHeader;
UCHAR ucMisc[3]; UCHAR ucMisc[3];
ULONG ulJumboPayloadLen; ULONG ulJumboPayloadLen;
} IPV6HopByHopOptionsHeader; } IPV6HopByHopOptionsHeader;
typedef struct IPV6AuthenticationHeaderFormatTag typedef struct IPV6AuthenticationHeaderFormatTag {
{
UCHAR ucNextHeader; UCHAR ucNextHeader;
UCHAR ucLength; UCHAR ucLength;
USHORT usReserved; USHORT usReserved;
ULONG ulSecurityParametersIndex; ULONG ulSecurityParametersIndex;
} IPV6AuthenticationHeader; } IPV6AuthenticationHeader;
typedef struct IPV6IcmpHeaderFormatTag typedef struct IPV6IcmpHeaderFormatTag {
{
UCHAR ucType; UCHAR ucType;
UCHAR ucCode; UCHAR ucCode;
USHORT usChecksum; USHORT usChecksum;
} IPV6IcmpHeader; } IPV6IcmpHeader;
typedef enum _E_IPADDR_CONTEXT typedef enum _E_IPADDR_CONTEXT {
{
eSrcIpAddress, eSrcIpAddress,
eDestIpAddress eDestIpAddress
} E_IPADDR_CONTEXT; } E_IPADDR_CONTEXT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment