diff options
Diffstat (limited to 'usr/src/uts/common/io/simnet/simnet_impl.h')
| -rw-r--r-- | usr/src/uts/common/io/simnet/simnet_impl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/simnet/simnet_impl.h b/usr/src/uts/common/io/simnet/simnet_impl.h index 659cb10d9b..c804a416eb 100644 --- a/usr/src/uts/common/io/simnet/simnet_impl.h +++ b/usr/src/uts/common/io/simnet/simnet_impl.h @@ -42,6 +42,8 @@ extern "C" { #define MAX_ESSLIST_ARGS 10 /* Max num of ESS list arguments */ #define MAX_ESSLIST_ARGLEN 50 /* Max ESS list argument len */ +#define SM_MAX_NUM_MCAST_ADDRS 1024 + struct simnet_dev; typedef struct simnet_wifidev { @@ -81,7 +83,7 @@ typedef struct simnet_dev { /* Num of multicast addresses stored in sd_mcastaddrs */ uint_t sd_mcastaddr_count; /* Multicast address list stored in single buffer */ - uint8_t *sd_mcastaddrs; + struct ether_addr sd_mcastaddrs[SM_MAX_NUM_MCAST_ADDRS]; uint_t sd_mac_len; uchar_t sd_mac_addr[MAXMACADDRLEN]; simnet_stats_t sd_stats; |
