Print this page
2553 mac address should be a dladm link property
*** 131,140 ****
--- 131,145 ----
typedef enum {
MAC_LOGTYPE_LINK = 1,
MAC_LOGTYPE_FLOW
} mac_logtype_t;
+ typedef struct mac_addrprop_s {
+ uint32_t ma_len;
+ uint8_t ma_addr[MAXMACADDRLEN];
+ } mac_addrprop_t;
+
#define MAXLINKPROPNAME 256 /* max property name len */
/*
* Public properties.
*
*** 203,212 ****
--- 208,218 ----
MAC_PROP_MAX_TX_RINGS_AVAIL,
MAC_PROP_MAX_RX_RINGS_AVAIL,
MAC_PROP_MAX_RXHWCLNT_AVAIL,
MAC_PROP_MAX_TXHWCLNT_AVAIL,
MAC_PROP_IB_LINKMODE,
+ MAC_PROP_MACADDRESS,
MAC_PROP_PRIVATE = -1
} mac_prop_id_t;
/*
* Flags to figure out r/w status of legacy ndd props.