| /netbsd-src/sys/arch/evbarm/stand/boot2440/ |
| H A D | netif.c | 66 void netif_match(unsigned int tag, uint8_t *macaddr); 67 int netif_init(unsigned int tag, uint8_t *macaddr); 72 netif_match(unsigned int tag, uint8_t *macaddr) in netif_match() argument 80 if ((*dv->match)(tag, macaddr) > 0) { in netif_match() 87 memcpy(bi_net.mac_address, macaddr, sizeof(bi_net.mac_address)); in netif_match() 96 netif_init(unsigned int tag, uint8_t *macaddr) in netif_init() argument
|
| H A D | dm9k.h | 32 int dm9k_match(unsigned int tag, void *macaddr); 33 void *dm9k_init(unsigned int tag, void *macaddr);
|
| /netbsd-src/sys/arch/arm/xilinx/ |
| H A D | zynq_cemac.c | 89 const char *macaddr; in cemac_attach() 118 macaddr = fdtbus_get_prop(phandle, "local-mac-address", &len); 119 if (macaddr != NULL && len == ETHER_ADDR_LEN) { 120 prop_dictionary_set_data(prop, "mac-address", macaddr, len); 69 const char *macaddr; cemac_attach() local
|
| /netbsd-src/sys/net80211/ |
| H A D | ieee80211_node.c | 1036 struct ieee80211_node *ni, const u_int8_t *macaddr) in ieee80211_setup_node() argument 1043 ether_sprintf(macaddr), nt->nt_name); in ieee80211_setup_node() 1045 IEEE80211_ADDR_COPY(ni->ni_macaddr, macaddr); in ieee80211_setup_node() 1046 hash = IEEE80211_NODE_HASH(macaddr); in ieee80211_setup_node() 1065 ieee80211_alloc_node(struct ieee80211_node_table *nt, const u_int8_t *macaddr) in ieee80211_alloc_node() argument 1072 ieee80211_setup_node(nt, ni, macaddr); in ieee80211_alloc_node() 1085 ieee80211_tmp_node(struct ieee80211com *ic, const u_int8_t *macaddr) in ieee80211_tmp_node() argument 1092 "%s %p<%s>\n", __func__, ni, ether_sprintf(macaddr)); in ieee80211_tmp_node() 1094 IEEE80211_ADDR_COPY(ni->ni_macaddr, macaddr); in ieee80211_tmp_node() 1115 ieee80211_dup_bss(struct ieee80211_node_table *nt, const u_int8_t *macaddr) in ieee80211_dup_bss() argument [all …]
|
| H A D | ieee80211_node.h | 215 const u_int8_t *macaddr); 235 struct ieee80211_node_table *, const u_int8_t *macaddr, 238 struct ieee80211_node_table *, const u_int8_t *macaddr, 266 struct ieee80211_node_table *, const u_int8_t *macaddr, 269 struct ieee80211_node_table *, const u_int8_t *macaddr, 287 const u_int8_t macaddr[IEEE80211_ADDR_LEN]);
|
| H A D | ieee80211_acl.c | 123 _find_acl(struct aclstate *as, const u_int8_t *macaddr) in _find_acl() argument 128 hash = ACL_HASH(macaddr); in _find_acl() 130 if (IEEE80211_ADDR_EQ(acl->acl_macaddr, macaddr)) in _find_acl()
|
| H A D | ieee80211_crypto.c | 496 const u_int8_t macaddr[IEEE80211_ADDR_LEN]) in ieee80211_crypto_setkey() 505 key->wk_flags, ether_sprintf(macaddr), in ieee80211_crypto_setkey() 527 return dev_key_set(ic, key, macaddr); in ieee80211_crypto_setkey()
|
| /netbsd-src/sys/external/isc/atheros_hal/dist/ |
| H A D | ah_eeprom_v1.c | 31 uint8_t *macaddr; in v1EepromGet() local 37 macaddr = val; in v1EepromGet() 46 macaddr[2*i + 0] = eeval >> 8; in v1EepromGet() 47 macaddr[2*i + 1] = eeval & 0xff; in v1EepromGet() 51 __func__, ath_hal_ether_sprintf(macaddr)); in v1EepromGet()
|
| H A D | ah_eeprom_v4k.c | 37 uint8_t *macaddr; in v4kEepromGet() local 46 macaddr = val; in v4kEepromGet() 48 macaddr[i] = pBase->macAddr[i]; in v4kEepromGet() 53 __func__, ath_hal_ether_sprintf(macaddr)); in v4kEepromGet()
|
| H A D | ah_eeprom_v14.c | 35 uint8_t *macaddr; in v14EepromGet() local 47 macaddr = val; in v14EepromGet() 49 macaddr[i] = pBase->macAddr[i]; in v14EepromGet() 54 __func__, ath_hal_ether_sprintf(macaddr)); in v14EepromGet()
|
| /netbsd-src/usr.sbin/wakeonlan/ |
| H A D | wakeonlan.c | 85 struct ether_addr macaddr; in wake() local 87 if (get_ether(host, &macaddr) == -1) in wake() 90 return send_wakeup(bpf, &macaddr); in wake()
|
| /netbsd-src/sys/arch/evbppc/obs405/ |
| H A D | obs600_machdep.c | 175 u_char *macaddr, *macaddr1; in cpu_startup() local 206 macaddr = &buf[0]; in cpu_startup() 209 pd = prop_data_create_data_nocopy(macaddr, ETHER_ADDR_LEN); in cpu_startup()
|
| /netbsd-src/tests/net/ |
| H A D | net_common.sh | 345 local macaddr= 353 macaddr=$(get_macaddr $sock $ifname) 354 if [ -n "$macaddr" ]; then 357 grep -q $macaddr $_rump_server_macaddrs 359 echo $macaddr >> $_rump_server_macaddrs
|
| /netbsd-src/tests/net/ndp/ |
| H A D | t_ndp.sh | 119 local macaddr= 134 macaddr=$(get_macaddr $SOCKSRC shmif0) 136 atf_check -s exit:0 -o ignore rump.ndp -s $IP6SRC $macaddr 753 local macaddr= 770 macaddr=$(get_macaddr $SOCKSRC shmif0) 772 atf_check -s exit:0 -o ignore rump.ndp -s $IP6SRC $macaddr
|
| /netbsd-src/sys/dev/fdt/ |
| H A D | fdt_boot.c | 485 const uint8_t *macaddr = in fdt_detect_root_device() 489 if (macaddr == NULL || len != 6) in fdt_detect_root_device() 494 if (memcmp(macaddr, CLLADDR(ifp->if_sadl), len) == 0) { in fdt_detect_root_device() 484 const uint8_t *macaddr = fdt_detect_root_device() local
|
| /netbsd-src/sys/stand/efiboot/ |
| H A D | efifdt.c | 410 uint8_t macaddr[6]; in efi_fdt_bootargs() local 442 } else if (efi_net_get_booted_macaddr(macaddr) == 0) { in efi_fdt_bootargs() 443 fdt_setprop(fdt_data, chosen, "netbsd,booted-mac-address", macaddr, sizeof(macaddr)); in efi_fdt_bootargs()
|
| /netbsd-src/sys/dev/ic/ |
| H A D | elinkxl.c | 171 uint8_t macaddr[ETHER_ADDR_LEN] = {0}; in ex_config() local 184 macaddr[0] = val >> 8; in ex_config() 185 macaddr[1] = val & 0xff; in ex_config() 187 macaddr[2] = val >> 8; in ex_config() 188 macaddr[3] = val & 0xff; in ex_config() 190 macaddr[4] = val >> 8; in ex_config() 191 macaddr[5] = val & 0xff; in ex_config() 194 ether_sprintf(macaddr)); in ex_config() 429 ether_ifattach(ifp, macaddr); in ex_config()
|
| /netbsd-src/sys/dev/pci/cxgb/ |
| H A D | cxgb_adapter.h | 481 uint8_t *macaddr = NULL; in t3_get_next_mcaddr() local 484 macaddr = rm->port->hw_addr; in t3_get_next_mcaddr() 487 return (macaddr); in t3_get_next_mcaddr()
|
| /netbsd-src/external/broadcom/bwfm/dist/ |
| H A D | brcmfmac43362-sdio.cubietech,cubietruck.txt | 20 macaddr=00:90:4c:c5:12:38
|
| H A D | brcmfmac43362-sdio.lemaker,bananapro.txt | 20 macaddr=00:90:4c:c5:12:38
|
| H A D | brcmfmac43430-sdio.raspberrypi,3-model-b.txt | 25 macaddr=00:90:4c:c5:12:38
|
| H A D | brcmfmac43430-sdio.MUR1DX.txt | 22 macaddr=00:90:4c:c5:12:38
|
| H A D | brcmfmac43430-sdio.AP6212.txt | 22 macaddr=00:90:4c:c5:12:38
|
| H A D | brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt | 23 macaddr=00:90:4c:c5:12:38
|
| /netbsd-src/sys/dev/pcmcia/ |
| H A D | if_malo_pcmciavar.h | 81 uint8_t macaddr[ETHER_ADDR_LEN]; member 185 uint8_t macaddr[ETHER_ADDR_LEN]; member
|