Commit d83beb86 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman
Browse files

Staging: bcm: Fix all white space issues in IPv6ProtocolHdr.h



This patch fixes all white space issues in
IPv6ProtocolHdr.h as reported by checkpatch.pl.

Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7e5df051
Loading
Loading
Loading
Loading
+21 −29
Original line number Diff line number Diff line
#ifndef _IPV6_PROTOCOL_DEFINES_
#define _IPV6_PROTOCOL_DEFINES_


#define IPV6HDR_TYPE_HOPBYHOP 0x0
#define IPV6HDR_TYPE_ROUTING 0x2B
#define IPV6HDR_TYPE_FRAGMENTATION 0x2C
@@ -10,7 +9,6 @@
#define IPV6HDR_TYPE_ENCRYPTEDSECURITYPAYLOAD 0x34
#define MASK_IPV6_CS_SPEC 0x2


#define TCP_HEADER_TYPE	0x6
#define UDP_HEADER_TYPE	0x11
#define IPV6_ICMP_HDR_TYPE 0x2
@@ -79,7 +77,6 @@ typedef struct IPV6AuthenticationHeaderFormatTag
	USHORT usReserved;
	ULONG  ulSecurityParametersIndex;
	//UCHAR  ucAuthenticationData[0];

} IPV6AuthenticationHeader;

typedef struct IPV6IcmpHeaderFormatTag
@@ -88,18 +85,14 @@ typedef struct IPV6IcmpHeaderFormatTag
	UCHAR  ucCode;
	USHORT usChecksum;
	//UCHAR  ucIcmpMsg[0];

} IPV6IcmpHeader;

typedef enum _E_IPADDR_CONTEXT
{
	eSrcIpAddress,
	eDestIpAddress

} E_IPADDR_CONTEXT;



//Function Prototypes

USHORT IpVersion6(struct bcm_mini_adapter *Adapter, /**< Pointer to the driver control structure */
@@ -112,5 +105,4 @@ extern BOOLEAN MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule,USHORT
extern BOOLEAN MatchDestPort(struct bcm_classifier_rule *pstClassifierRule, USHORT ushSrcPort);
extern BOOLEAN MatchProtocol(struct bcm_classifier_rule *pstClassifierRule, UCHAR ucProtocol);


#endif