diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-10 21:54:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:49:00 -0800 |
commit | 828c1dd5deeea44b801b3f0951ed08b7470f8240 (patch) | |
tree | 39ba2dcf0d528a42df4bbf1696bc5a10537dab31 /drivers | |
parent | 5ef43c3bf6f1d963e888275780281bfec79c4bad (diff) |
Staging: bcm: Replace ULONG with unsigned long in IPv6ProtocolHdr.h
This patch replaces "ULONG" with "unsigned long" in
IPv6ProtocolHdr.h.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/bcm/IPv6ProtocolHdr.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/bcm/IPv6ProtocolHdr.h b/drivers/staging/bcm/IPv6ProtocolHdr.h index 2ce49ae26a48..5bbe4efc95f7 100644 --- a/drivers/staging/bcm/IPv6ProtocolHdr.h +++ b/drivers/staging/bcm/IPv6ProtocolHdr.h @@ -27,8 +27,8 @@ typedef struct IPV6HeaderFormatTag { unsigned short usPayloadLength; UCHAR ucNextHeader; UCHAR ucHopLimit; - ULONG ulSrcIpAddress[4]; - ULONG ulDestIpAddress[4]; + unsigned long ulSrcIpAddress[4]; + unsigned long ulDestIpAddress[4]; } IPV6Header; typedef struct IPV6RoutingHeaderFormatTag { @@ -36,14 +36,14 @@ typedef struct IPV6RoutingHeaderFormatTag { UCHAR ucRoutingType; UCHAR ucNumAddresses; UCHAR ucNextAddress; - ULONG ulReserved; + unsigned long ulReserved; } IPV6RoutingHeader; typedef struct IPV6FragmentHeaderFormatTag { UCHAR ucNextHeader; UCHAR ucReserved; unsigned short usFragmentOffset; - ULONG ulIdentification; + unsigned long ulIdentification; } IPV6FragmentHeader; typedef struct IPV6DestOptionsHeaderFormatTag { @@ -55,14 +55,14 @@ typedef struct IPV6DestOptionsHeaderFormatTag { typedef struct IPV6HopByHopOptionsHeaderFormatTag { UCHAR ucNextHeader; UCHAR ucMisc[3]; - ULONG ulJumboPayloadLen; + unsigned long ulJumboPayloadLen; } IPV6HopByHopOptionsHeader; typedef struct IPV6AuthenticationHeaderFormatTag { UCHAR ucNextHeader; UCHAR ucLength; unsigned short usReserved; - ULONG ulSecurityParametersIndex; + unsigned long ulSecurityParametersIndex; } IPV6AuthenticationHeader; typedef struct IPV6IcmpHeaderFormatTag { @@ -82,7 +82,7 @@ unsigned short IpVersion6(struct bcm_mini_adapter *Adapter, /* < Pointer to the PVOID pcIpHeader, /* <Pointer to the IP Hdr of the packet */ struct bcm_classifier_rule *pstClassifierRule); -VOID DumpIpv6Address(ULONG *puIpv6Address); +VOID DumpIpv6Address(unsigned long *puIpv6Address); extern BOOLEAN MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule, unsigned short ushSrcPort); extern BOOLEAN MatchDestPort(struct bcm_classifier_rule *pstClassifierRule, unsigned short ushSrcPort); |