#define MIBS_MAX_HIST_ENTRIES 12
#define MIBS_PKTSIZEHIST_RANGE 128
-typedef union _U_MIBS_IP_ADDRESS {
+union bcm_mibs_ip_addr {
struct {
/* Source Ip Address Range */
unsigned long ulIpv4Addr[MIBS_MAX_IP_RANGE_LENGTH];
unsigned char ucIpv6Address[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;
+};
struct bcm_mibs_host_info {
u64 GoodTransmits;
bool bUsed;
unsigned short usVCID_Value;
u8 u8ClassifierRulePriority;
- U_MIBS_IP_ADDRESS stSrcIpAddress;
+ union bcm_mibs_ip_addr stSrcIpAddress;
/* IP Source Address Length */
unsigned char ucIPSourceAddressLength;
- U_MIBS_IP_ADDRESS stDestIpAddress;
+ union bcm_mibs_ip_addr stDestIpAddress;
/* IP Destination Address Length */
unsigned char ucIPDestinationAddressLength;
unsigned char ucIPTypeOfServiceLength;