Staging: bcm: Remove typedef for _E_IPADDR_CONTEXT and call directly.
This patch removes typedef for _E_IPADDR_CONTEXT, and changes the name of the enum to bcm_ipaddr_context. In addition, any calls to enum E_IPADDR_CONTEXT are changed to call directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
16806309fe
commit
dbadab2684
@ -113,7 +113,7 @@ static VOID deleteSFBySfid(struct bcm_mini_adapter *Adapter, UINT uiSearchRuleIn
|
|||||||
static inline VOID
|
static inline VOID
|
||||||
CopyIpAddrToClassifier(struct bcm_classifier_rule *pstClassifierEntry,
|
CopyIpAddrToClassifier(struct bcm_classifier_rule *pstClassifierEntry,
|
||||||
B_UINT8 u8IpAddressLen, B_UINT8 *pu8IpAddressMaskSrc,
|
B_UINT8 u8IpAddressLen, B_UINT8 *pu8IpAddressMaskSrc,
|
||||||
BOOLEAN bIpVersion6, E_IPADDR_CONTEXT eIpAddrContext)
|
BOOLEAN bIpVersion6, enum bcm_ipaddr_context eIpAddrContext)
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
UINT nSizeOfIPAddressInBytes = IP_LENGTH_OF_ADDRESS;
|
UINT nSizeOfIPAddressInBytes = IP_LENGTH_OF_ADDRESS;
|
||||||
|
@ -71,10 +71,10 @@ typedef struct IPV6IcmpHeaderFormatTag {
|
|||||||
unsigned short usChecksum;
|
unsigned short usChecksum;
|
||||||
} IPV6IcmpHeader;
|
} IPV6IcmpHeader;
|
||||||
|
|
||||||
typedef enum _E_IPADDR_CONTEXT {
|
enum bcm_ipaddr_context {
|
||||||
eSrcIpAddress,
|
eSrcIpAddress,
|
||||||
eDestIpAddress
|
eDestIpAddress
|
||||||
} E_IPADDR_CONTEXT;
|
};
|
||||||
|
|
||||||
/* Function Prototypes */
|
/* Function Prototypes */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user