/freebsd-12-stable/usr.sbin/bhyve/ |
H A D | net_utils.h | 37 int net_parsemac(char *mac_str, uint8_t *mac_addr);
|
H A D | net_utils.c | 43 net_parsemac(char *mac_str, uint8_t *mac_addr) argument 58 memcpy(mac_addr, ea->octet, ETHER_ADDR_LEN);
|
/freebsd-12-stable/sys/dev/ixl/ |
H A D | ixl_debug.h | 39 #define MAC_FORMAT_ARGS(mac_addr) \ 40 (mac_addr)[0], (mac_addr)[1], (mac_addr)[2], (mac_addr)[3], \ 41 (mac_addr)[4], (mac_addr)[5]
|
/freebsd-12-stable/sys/dev/qlxgb/ |
H A D | qla_inline.h | 128 return (ha->hw.mac_addr); 150 ha->hw.mac_addr[5] = macp[0]; 151 ha->hw.mac_addr[4] = macp[1]; 155 ha->hw.mac_addr[3] = macp[0]; 156 ha->hw.mac_addr[2] = macp[1]; 157 ha->hw.mac_addr[1] = macp[2]; 158 ha->hw.mac_addr[0] = macp[3]; 162 ha->hw.mac_addr[5] = macp[0]; 163 ha->hw.mac_addr[4] = macp[1]; 164 ha->hw.mac_addr[ [all...] |
/freebsd-12-stable/sys/dev/e1000/ |
H A D | e1000_82543.h | 52 u32 frame_len, u8 *mac_addr,
|
/freebsd-12-stable/sys/mips/nlm/dev/net/ |
H A D | sgmii.c | 183 int port_type, uint8_t *mac_addr) 187 (mac_addr[5] << 24) | 188 (mac_addr[4] << 16) | 189 (mac_addr[3] << 8) | 190 mac_addr[2]); 194 (mac_addr[1] << 24) | 195 (mac_addr[0] << 16)); 182 nlm_nae_setup_mac_addr_sgmii(uint64_t base, int nblock, int iface, int port_type, uint8_t *mac_addr) argument
|
H A D | xaui.c | 157 int port_type, unsigned char *mac_addr) 161 (mac_addr[5] << 24) | 162 (mac_addr[4] << 16) | 163 (mac_addr[3] << 8) | 164 mac_addr[2]); 168 (mac_addr[1] << 24) | 169 (mac_addr[0] << 16)); 156 nlm_nae_setup_mac_addr_xaui(uint64_t base, int nblock, int iface, int port_type, unsigned char *mac_addr) argument
|
/freebsd-12-stable/contrib/wpa/src/wps/ |
H A D | wps_upnp.h | 33 const u8 *mac_addr, const struct wpabuf *msg,
|
H A D | wps_attr_process.c | 195 const u8 *mac_addr) 197 if (mac_addr == NULL) { 203 wpa_printf(MSG_DEBUG, "WPS: MAC Address " MACSTR, MAC2STR(mac_addr)); 204 os_memcpy(cred->mac_addr, mac_addr, ETH_ALEN); 259 wps_process_cred_mac_addr(cred, attr->mac_addr)) 278 wps_process_cred_mac_addr(cred, attr->mac_addr)) 194 wps_process_cred_mac_addr(struct wps_credential *cred, const u8 *mac_addr) argument
|
H A D | wps_er.h | 45 u8 mac_addr[ETH_ALEN]; member in struct:wps_er_ap 80 u8 mac_addr[ETH_ALEN]; /* mac addr of network i.f. we use */ member in struct:wps_er
|
H A D | wps_i.h | 142 u16 config_error, u16 error_indication, const u8 *mac_addr); 143 void wps_success_event(struct wps_context *wps, const u8 *mac_addr); 145 const u8 *mac_addr); 218 int wps_cb_new_psk(struct wps_registrar *reg, const u8 *mac_addr,
|
H A D | wps_enrollee.c | 324 wps->peer_dev.mac_addr, 344 wpabuf_put_data(msg, wps->wps->dev.mac_addr, ETH_ALEN); 445 wps_success_event(wps->wps, wps->peer_dev.mac_addr); 653 wps_pwd_auth_fail_event(wps->wps, 1, 1, wps->peer_dev.mac_addr); 693 wps_pwd_auth_fail_event(wps->wps, 1, 2, wps->peer_dev.mac_addr); 718 if (os_memcmp(wps->cred.mac_addr, wps->wps->dev.mac_addr, ETH_ALEN) != 722 ")", MAC2STR(wps->cred.mac_addr), 723 MAC2STR(wps->wps->dev.mac_addr)); 818 if (os_memcmp(cred.mac_addr, wp [all...] |
H A D | wps_attr_parse.h | 49 const u8 *mac_addr; /* ETH_ALEN (6) octets */ member in struct:wps_parse_attr
|
H A D | wps.h | 42 * @mac_addr: MAC address of the Credential receiver 55 u8 mac_addr[ETH_ALEN]; member in struct:wps_credential 72 * @mac_addr: Device MAC address 86 u8 mac_addr[ETH_ALEN]; member in struct:wps_device_data 259 * @mac_addr: MAC address of the Enrollee 267 int (*new_psk_cb)(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr, 300 * @mac_addr: MAC address of the Enrollee 308 void (*reg_success_cb)(void *ctx, const u8 *mac_addr, 566 const u8 *mac_addr; member in struct:wps_event_data::wps_event_er_ap 582 const u8 *mac_addr; member in struct:wps_event_data::wps_event_er_enrollee [all...] |
/freebsd-12-stable/contrib/wpa/src/ap/ |
H A D | wpa_auth_ie.h | 20 const u8 *mac_addr; member in struct:wpa_eapol_ie_parse
|
H A D | iapp.c | 78 u8 mac_addr[ETH_ALEN]; member in struct:iapp_add_notify 99 u8 mac_addr[ETH_ALEN]; member in struct:iapp_move_notify 110 u8 mac_addr[ETH_ALEN]; member in struct:iapp_move_response 127 u8 mac_addr[ETH_ALEN]; member in struct:iapp_cache_notify 140 u8 mac_addr[ETH_ALEN]; member in struct:iapp_cache_response 174 static void iapp_send_add(struct iapp_data *iapp, u8 *mac_addr, u16 seq_num) argument 193 os_memcpy(add->mac_addr, mac_addr, ETH_ALEN); 273 sta = ap_get_sta(iapp->hapd, add->mac_addr); 276 hostapd_logger(iapp->hapd, add->mac_addr, HOSTAPD_MODULE_IAP [all...] |
/freebsd-12-stable/sys/dev/sfxge/common/ |
H A D | hunt_nic.c | 108 uint8_t mac_addr[6]; local 149 rc = efx_mcdi_get_mac_address_pf(enp, mac_addr); 150 if ((rc == 0) && (mac_addr[0] & 0x02)) { 160 rc = efx_mcdi_get_mac_address_vf(enp, mac_addr); 165 EFX_MAC_ADDR_COPY(encp->enc_mac_addr, mac_addr);
|
H A D | medford_nic.c | 135 uint8_t mac_addr[6] = { 0 }; local 181 rc = efx_mcdi_get_mac_address_pf(enp, mac_addr); 188 if ((rc == 0) && (mac_addr[0] & 0x02)) { 199 rc = efx_mcdi_get_mac_address_vf(enp, mac_addr); 204 EFX_MAC_ADDR_COPY(encp->enc_mac_addr, mac_addr);
|
/freebsd-12-stable/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ie.h | 22 const u8 *mac_addr; member in struct:wpa_eapol_ie_parse
|
/freebsd-12-stable/contrib/ofed/libibverbs/ |
H A D | neigh.c | 400 uint8_t mac_addr[6] = {0x01, 0x00, 0x5E}; local 403 mac_addr[5] = addr & 0xFF; 405 mac_addr[4] = addr & 0xFF; 407 mac_addr[3] = addr & 0x7F; 409 *ll_addr = nl_addr_build(AF_LLC, mac_addr, sizeof(mac_addr)); 416 uint8_t mac_addr[6] = {0x33, 0x33}; local 418 memcpy(mac_addr + 2, (uint8_t *)nl_addr_get_binary_addr(dst) + 12, 4); 420 *ll_addr = nl_addr_build(AF_LLC, mac_addr, sizeof(mac_addr)); 428 uint8_t mac_addr[6]; local [all...] |
/freebsd-12-stable/sys/dev/oce/ |
H A D | oce_user.h | 67 uint8_t mac_addr[6]; member in struct:oce_dev_info
|
/freebsd-12-stable/sys/dev/qlxge/ |
H A D | qls_inline.h | 79 return (ha->mac_addr);
|
/freebsd-12-stable/sys/dev/cxgb/common/ |
H A D | cxgb_ctl_defs.h | 68 const unsigned char *mac_addr; member in struct:iff_mac
|
/freebsd-12-stable/sys/contrib/ncsw/inc/flib/ |
H A D | fsl_fman_memac.h | 184 struct mac_addr { struct 193 struct mac_addr mac_addr0; /* 0x00C-0x010 MAC_ADDR_0...1 */ 210 struct mac_addr mac_addr[MEMAC_NUM_OF_PADDRS]; /* 0x80-0x0B4 mac padr */ member in struct:memac_regs
|
/freebsd-12-stable/sys/dev/sbni/ |
H A D | if_sbnivar.h | 59 u_int mac_addr : 24; member in struct:sbni_flags
|