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

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

This patch replace "UCHAR" with "unsigned
char" in HostMIBSInterface.h
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af2bdcee
...@@ -34,12 +34,12 @@ typedef union _U_MIBS_IP_ADDRESS { ...@@ -34,12 +34,12 @@ typedef union _U_MIBS_IP_ADDRESS {
ULONG ulIpv6Mask[MIBS_MAX_IP_RANGE_LENGTH * 4]; ULONG ulIpv6Mask[MIBS_MAX_IP_RANGE_LENGTH * 4];
}; };
struct { struct {
UCHAR ucIpv4Address[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IP_LENGTH_OF_ADDRESS]; unsigned char ucIpv4Address[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IP_LENGTH_OF_ADDRESS];
UCHAR ucIpv4Mask[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IP_LENGTH_OF_ADDRESS]; unsigned char ucIpv4Mask[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IP_LENGTH_OF_ADDRESS];
}; };
struct { struct {
UCHAR ucIpv6Address[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IPV6_ADDRESS_SIZEINBYTES]; unsigned char ucIpv6Address[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IPV6_ADDRESS_SIZEINBYTES];
UCHAR ucIpv6Mask[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IPV6_ADDRESS_SIZEINBYTES]; unsigned char ucIpv6Mask[MIBS_MAX_IP_RANGE_LENGTH * MIBS_IPV6_ADDRESS_SIZEINBYTES];
}; };
} U_MIBS_IP_ADDRESS; } U_MIBS_IP_ADDRESS;
...@@ -66,34 +66,34 @@ typedef struct _S_MIBS_HOST_INFO { ...@@ -66,34 +66,34 @@ typedef struct _S_MIBS_HOST_INFO {
typedef struct _S_MIBS_CLASSIFIER_RULE { typedef struct _S_MIBS_CLASSIFIER_RULE {
ULONG ulSFID; ULONG ulSFID;
UCHAR ucReserved[2]; unsigned char ucReserved[2];
B_UINT16 uiClassifierRuleIndex; B_UINT16 uiClassifierRuleIndex;
BOOLEAN bUsed; BOOLEAN bUsed;
USHORT usVCID_Value; USHORT usVCID_Value;
B_UINT8 u8ClassifierRulePriority; B_UINT8 u8ClassifierRulePriority;
U_MIBS_IP_ADDRESS stSrcIpAddress; U_MIBS_IP_ADDRESS stSrcIpAddress;
/* IP Source Address Length */ /* IP Source Address Length */
UCHAR ucIPSourceAddressLength; unsigned char ucIPSourceAddressLength;
U_MIBS_IP_ADDRESS stDestIpAddress; U_MIBS_IP_ADDRESS stDestIpAddress;
/* IP Destination Address Length */ /* IP Destination Address Length */
UCHAR ucIPDestinationAddressLength; unsigned char ucIPDestinationAddressLength;
UCHAR ucIPTypeOfServiceLength; unsigned char ucIPTypeOfServiceLength;
UCHAR ucTosLow; unsigned char ucTosLow;
UCHAR ucTosHigh; unsigned char ucTosHigh;
UCHAR ucTosMask; unsigned char ucTosMask;
UCHAR ucProtocolLength; unsigned char ucProtocolLength;
UCHAR ucProtocol[MIBS_MAX_PROTOCOL_LENGTH]; unsigned char ucProtocol[MIBS_MAX_PROTOCOL_LENGTH];
USHORT usSrcPortRangeLo[MIBS_MAX_PORT_RANGE]; USHORT usSrcPortRangeLo[MIBS_MAX_PORT_RANGE];
USHORT usSrcPortRangeHi[MIBS_MAX_PORT_RANGE]; USHORT usSrcPortRangeHi[MIBS_MAX_PORT_RANGE];
UCHAR ucSrcPortRangeLength; unsigned char ucSrcPortRangeLength;
USHORT usDestPortRangeLo[MIBS_MAX_PORT_RANGE]; USHORT usDestPortRangeLo[MIBS_MAX_PORT_RANGE];
USHORT usDestPortRangeHi[MIBS_MAX_PORT_RANGE]; USHORT usDestPortRangeHi[MIBS_MAX_PORT_RANGE];
UCHAR ucDestPortRangeLength; unsigned char ucDestPortRangeLength;
BOOLEAN bProtocolValid; BOOLEAN bProtocolValid;
BOOLEAN bTOSValid; BOOLEAN bTOSValid;
BOOLEAN bDestIpValid; BOOLEAN bDestIpValid;
BOOLEAN bSrcIpValid; BOOLEAN bSrcIpValid;
UCHAR ucDirection; unsigned char ucDirection;
BOOLEAN bIpv6Protocol; BOOLEAN bIpv6Protocol;
UINT32 u32PHSRuleID; UINT32 u32PHSRuleID;
} S_MIBS_CLASSIFIER_RULE; } S_MIBS_CLASSIFIER_RULE;
...@@ -161,7 +161,7 @@ typedef struct _S_MIBS_SERVICEFLOW_TABLE { ...@@ -161,7 +161,7 @@ typedef struct _S_MIBS_SERVICEFLOW_TABLE {
LARGE_INTEGER liLastUpdateTokenAt; LARGE_INTEGER liLastUpdateTokenAt;
UINT uiMaxAllowedRate; UINT uiMaxAllowedRate;
UINT NumOfPacketsSent; UINT NumOfPacketsSent;
UCHAR ucDirection; unsigned char ucDirection;
USHORT usCID; USHORT usCID;
S_MIBS_EXTSERVICEFLOW_PARAMETERS stMibsExtServiceFlowTable; S_MIBS_EXTSERVICEFLOW_PARAMETERS stMibsExtServiceFlowTable;
UINT uiCurrentRxRate; UINT uiCurrentRxRate;
......
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