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

Staging: bcm: Replace UCHAR with unsigned char in IPv6ProtocolHdr.h

This patch replaces "UCHAR" with "unsigned char" in
IPv6ProtocolHdr.h.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 828c1dd5
...@@ -22,52 +22,52 @@ ...@@ -22,52 +22,52 @@
#define IPV6_DESTOPTS_HDR_OPTIONSIZE 0x8 #define IPV6_DESTOPTS_HDR_OPTIONSIZE 0x8
typedef struct IPV6HeaderFormatTag { typedef struct IPV6HeaderFormatTag {
UCHAR ucVersionPrio; unsigned char ucVersionPrio;
UCHAR aucFlowLabel[3]; unsigned char aucFlowLabel[3];
unsigned short usPayloadLength; unsigned short usPayloadLength;
UCHAR ucNextHeader; unsigned char ucNextHeader;
UCHAR ucHopLimit; unsigned char ucHopLimit;
unsigned long ulSrcIpAddress[4]; unsigned long ulSrcIpAddress[4];
unsigned long ulDestIpAddress[4]; unsigned long ulDestIpAddress[4];
} IPV6Header; } IPV6Header;
typedef struct IPV6RoutingHeaderFormatTag { typedef struct IPV6RoutingHeaderFormatTag {
UCHAR ucNextHeader; unsigned char ucNextHeader;
UCHAR ucRoutingType; unsigned char ucRoutingType;
UCHAR ucNumAddresses; unsigned char ucNumAddresses;
UCHAR ucNextAddress; unsigned char ucNextAddress;
unsigned long ulReserved; unsigned long ulReserved;
} IPV6RoutingHeader; } IPV6RoutingHeader;
typedef struct IPV6FragmentHeaderFormatTag { typedef struct IPV6FragmentHeaderFormatTag {
UCHAR ucNextHeader; unsigned char ucNextHeader;
UCHAR ucReserved; unsigned char ucReserved;
unsigned short usFragmentOffset; unsigned short usFragmentOffset;
unsigned long ulIdentification; unsigned long ulIdentification;
} IPV6FragmentHeader; } IPV6FragmentHeader;
typedef struct IPV6DestOptionsHeaderFormatTag { typedef struct IPV6DestOptionsHeaderFormatTag {
UCHAR ucNextHeader; unsigned char ucNextHeader;
UCHAR ucHdrExtLen; unsigned char ucHdrExtLen;
UCHAR ucDestOptions[6]; unsigned char ucDestOptions[6];
} IPV6DestOptionsHeader; } IPV6DestOptionsHeader;
typedef struct IPV6HopByHopOptionsHeaderFormatTag { typedef struct IPV6HopByHopOptionsHeaderFormatTag {
UCHAR ucNextHeader; unsigned char ucNextHeader;
UCHAR ucMisc[3]; unsigned char ucMisc[3];
unsigned long ulJumboPayloadLen; unsigned long ulJumboPayloadLen;
} IPV6HopByHopOptionsHeader; } IPV6HopByHopOptionsHeader;
typedef struct IPV6AuthenticationHeaderFormatTag { typedef struct IPV6AuthenticationHeaderFormatTag {
UCHAR ucNextHeader; unsigned char ucNextHeader;
UCHAR ucLength; unsigned char ucLength;
unsigned short usReserved; unsigned short usReserved;
unsigned long ulSecurityParametersIndex; unsigned long ulSecurityParametersIndex;
} IPV6AuthenticationHeader; } IPV6AuthenticationHeader;
typedef struct IPV6IcmpHeaderFormatTag { typedef struct IPV6IcmpHeaderFormatTag {
UCHAR ucType; unsigned char ucType;
UCHAR ucCode; unsigned char ucCode;
unsigned short usChecksum; unsigned short usChecksum;
} IPV6IcmpHeader; } IPV6IcmpHeader;
...@@ -86,6 +86,6 @@ VOID DumpIpv6Address(unsigned long *puIpv6Address); ...@@ -86,6 +86,6 @@ VOID DumpIpv6Address(unsigned long *puIpv6Address);
extern BOOLEAN MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule, unsigned short ushSrcPort); extern BOOLEAN MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule, unsigned short ushSrcPort);
extern BOOLEAN MatchDestPort(struct bcm_classifier_rule *pstClassifierRule, unsigned short ushSrcPort); extern BOOLEAN MatchDestPort(struct bcm_classifier_rule *pstClassifierRule, unsigned short ushSrcPort);
extern BOOLEAN MatchProtocol(struct bcm_classifier_rule *pstClassifierRule, UCHAR ucProtocol); extern BOOLEAN MatchProtocol(struct bcm_classifier_rule *pstClassifierRule, unsigned char ucProtocol);
#endif #endif
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