/linux-6.1.9/net/rose/ |
D | rose_dev.c | 61 if (!memcmp(dev->dev_addr, sa->sa_data, dev->addr_len)) in rose_set_mac_address() 65 err = rose_add_loopback_node((rose_address *)sa->sa_data); in rose_set_mac_address() 72 dev_addr_set(dev, sa->sa_data); in rose_set_mac_address()
|
/linux-6.1.9/net/netrom/ |
D | nr_dev.c | 103 if (!memcmp(dev->dev_addr, sa->sa_data, dev->addr_len)) in nr_set_mac_address() 107 err = ax25_listen_register((ax25_address *)sa->sa_data, NULL); in nr_set_mac_address() 114 dev_addr_set(dev, sa->sa_data); in nr_set_mac_address()
|
/linux-6.1.9/net/wireless/ |
D | wext-spy.c | 57 memcpy(spydata->spy_address[i], address[i].sa_data, in iw_handler_set_spy() 91 memcpy(address[i].sa_data, spydata->spy_address[i], ETH_ALEN); in iw_handler_get_spy() 173 memcpy(threshold.addr.sa_data, address, ETH_ALEN); in iw_send_thrspy_event()
|
D | ibss.c | 55 memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); in __cfg80211_ibss_joined() 466 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap() 531 memcpy(ap_addr->sa_data, wdev->u.ibss.current_bss->pub.bssid, in cfg80211_ibss_wext_giwap() 534 memcpy(ap_addr->sa_data, wdev->wext.ibss.bssid, ETH_ALEN); in cfg80211_ibss_wext_giwap() 536 eth_zero_addr(ap_addr->sa_data); in cfg80211_ibss_wext_giwap()
|
D | wext-sme.c | 252 u8 *bssid = ap_addr->sa_data; in cfg80211_mgd_wext_siwap() 315 memcpy(ap_addr->sa_data, in cfg80211_mgd_wext_giwap() 319 eth_zero_addr(ap_addr->sa_data); in cfg80211_mgd_wext_giwap()
|
/linux-6.1.9/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 69 if (!is_valid_ether_addr(addr->sa_data)) in atlx_set_mac() 72 eth_hw_addr_set(netdev, addr->sa_data); in atlx_set_mac() 73 memcpy(adapter->hw.mac_addr, addr->sa_data, netdev->addr_len); in atlx_set_mac()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | mcg.c | 282 struct ib_sa_mcmember_data *sa_data = (struct ib_sa_mcmember_data *)&mad.data; in send_leave_to_wire() local 301 *sa_data = group->rec; in send_leave_to_wire() 302 sa_data->scope_join_state = join_state; in send_leave_to_wire() 322 struct ib_sa_mcmember_data *sa_data = (struct ib_sa_mcmember_data *)&mad.data; in send_reply_to_slave() local 341 *sa_data = group->rec; in send_reply_to_slave() 344 sa_data->scope_join_state &= 0xf0; in send_reply_to_slave() 345 sa_data->scope_join_state |= (group->func[slave].join_state & 0x0f); in send_reply_to_slave() 346 memcpy(&sa_data->port_gid, &req_sa_data->port_gid, sizeof req_sa_data->port_gid); in send_reply_to_slave() 611 struct ib_sa_mcmember_data *sa_data = (struct ib_sa_mcmember_data *)req->sa_mad.data; in handle_join_req() local 615 status = cmp_rec(&group->rec, sa_data, req->sa_mad.sa_hdr.comp_mask); in handle_join_req() [all …]
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_softmac_wx.c | 120 eth_zero_addr(wrqu->ap_addr.sa_data); in rtllib_wx_get_wap() 122 memcpy(wrqu->ap_addr.sa_data, in rtllib_wx_get_wap() 158 if (is_zero_ether_addr(temp->sa_data)) { in rtllib_wx_set_wap() 160 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap() 177 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap() 178 ieee->wap_set = !is_zero_ether_addr(temp->sa_data); in rtllib_wx_set_wap()
|
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_netdev.c | 186 if (!is_valid_ether_addr(addr->sa_data)) in sparx5_set_mac_address() 193 sparx5_mact_learn(sparx5, PGID_CPU, addr->sa_data, port->pvid); in sparx5_set_mac_address() 196 eth_hw_addr_set(dev, addr->sa_data); in sparx5_set_mac_address()
|
/linux-6.1.9/net/core/ |
D | dev_ioctl.c | 344 memcpy(dev->broadcast, ifr->ifr_hwaddr.sa_data, in dev_ifsioc() 345 min(sizeof(ifr->ifr_hwaddr.sa_data), in dev_ifsioc() 359 return dev_mc_add_global(dev, ifr->ifr_hwaddr.sa_data); in dev_ifsioc() 367 return dev_mc_del_global(dev, ifr->ifr_hwaddr.sa_data); in dev_ifsioc()
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_softmac_wx.c | 122 eth_zero_addr(wrqu->ap_addr.sa_data); in ieee80211_wx_get_wap() 124 memcpy(wrqu->ap_addr.sa_data, in ieee80211_wx_get_wap() 167 memcpy(ieee->current_network.bssid, temp->sa_data, ETH_ALEN); in ieee80211_wx_set_wap() 168 ieee->wap_set = !is_zero_ether_addr(temp->sa_data); in ieee80211_wx_set_wap()
|
/linux-6.1.9/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 322 ether_addr_copy(priv->reg.bssid, awrq->ap_addr.sa_data); in ks_wlan_set_wap() 346 ether_addr_copy(awrq->ap_addr.sa_data, priv->current_ap.bssid); in ks_wlan_get_wap() 348 eth_zero_addr(awrq->ap_addr.sa_data); in ks_wlan_get_wap() 1100 ether_addr_copy(address[i].sa_data, priv->aplist.ap[i].bssid); in ks_wlan_get_aplist() 1195 ether_addr_copy(iwe.u.ap_addr.sa_data, ap->bssid); in ks_wlan_translate_scan() 1569 ether_addr_copy(&key->addr.sa_data[0], &enc->addr.sa_data[0]); in ks_wlan_set_encode_ext() 1675 ether_addr_copy(pmk->bssid, pmksa->bssid.sa_data); in ks_wlan_set_pmksa() 1684 if (ether_addr_equal(pmksa->bssid.sa_data, pmk->bssid)) { in ks_wlan_set_pmksa() 1700 ether_addr_copy(pmk->bssid, pmksa->bssid.sa_data); in ks_wlan_set_pmksa() 1707 ether_addr_copy(pmk->bssid, pmksa->bssid.sa_data); in ks_wlan_set_pmksa() [all …]
|
/linux-6.1.9/drivers/net/usb/ |
D | sr9700.c | 294 if (!is_valid_ether_addr(addr->sa_data)) { in sr9700_set_mac_address() 296 addr->sa_data); in sr9700_set_mac_address() 300 eth_hw_addr_set(netdev, addr->sa_data); in sr9700_set_mac_address()
|
D | mcs7830.c | 162 if (!is_valid_ether_addr(addr->sa_data)) in mcs7830_set_mac_address() 165 ret = mcs7830_hif_set_mac_address(dev, addr->sa_data); in mcs7830_set_mac_address() 171 eth_hw_addr_set(netdev, addr->sa_data); in mcs7830_set_mac_address()
|
D | dm9601.c | 329 if (!is_valid_ether_addr(addr->sa_data)) { in dm9601_set_mac_address() 331 addr->sa_data); in dm9601_set_mac_address() 335 eth_hw_addr_set(net, addr->sa_data); in dm9601_set_mac_address()
|
/linux-6.1.9/net/bridge/ |
D | br_device.c | 233 if (!is_valid_ether_addr(addr->sa_data)) in br_set_mac_address() 243 if (!ether_addr_equal(dev->dev_addr, addr->sa_data)) { in br_set_mac_address() 245 br_stp_change_bridge_id(br, addr->sa_data); in br_set_mac_address()
|
/linux-6.1.9/net/ncsi/ |
D | ncsi-rsp.c | 629 memcpy(saddr.sa_data, &rsp->data[MLX_MAC_ADDR_OFFSET], ETH_ALEN); in ncsi_rsp_handler_oem_mlx_gma() 671 memcpy(saddr.sa_data, &rsp->data[BCM_MAC_ADDR_OFFSET], ETH_ALEN); in ncsi_rsp_handler_oem_bcm_gma() 673 eth_addr_inc((u8 *)saddr.sa_data); in ncsi_rsp_handler_oem_bcm_gma() 674 if (!is_valid_ether_addr((const u8 *)saddr.sa_data)) in ncsi_rsp_handler_oem_bcm_gma() 717 memcpy(saddr.sa_data, &rsp->data[INTEL_MAC_ADDR_OFFSET], ETH_ALEN); in ncsi_rsp_handler_oem_intel_gma() 719 eth_addr_inc((u8 *)saddr.sa_data); in ncsi_rsp_handler_oem_intel_gma() 720 if (!is_valid_ether_addr((const u8 *)saddr.sa_data)) in ncsi_rsp_handler_oem_intel_gma()
|
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/ |
D | wext.c | 168 if (is_zero_ether_addr(ap_addr->sa_data) || in orinoco_ioctl_setwap() 169 is_broadcast_ether_addr(ap_addr->sa_data)) { in orinoco_ioctl_setwap() 174 if (ap_addr->sa_data[0] == 0) { in orinoco_ioctl_setwap() 207 memcpy(priv->desired_bssid, &ap_addr->sa_data, ETH_ALEN); in orinoco_ioctl_setwap() 228 err = orinoco_hw_get_current_bssid(priv, ap_addr->sa_data); in orinoco_ioctl_getwap() 1086 ret = orinoco_hw_disassociate(priv, mlme->addr.sa_data, in orinoco_ioctl_set_mlme()
|
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_ioctl.c | 683 memcpy(local->preferred_ap, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_siwap() 723 memcpy(&ap_addr->sa_data, dev->dev_addr, ETH_ALEN); in prism2_ioctl_giwap() 726 memcpy(&ap_addr->sa_data, local->assoc_ap_addr, ETH_ALEN); in prism2_ioctl_giwap() 729 memcpy(&ap_addr->sa_data, iface->u.wds.remote_addr, ETH_ALEN); in prism2_ioctl_giwap() 733 &ap_addr->sa_data, ETH_ALEN, 1) < 0) in prism2_ioctl_giwap() 738 memcpy(local->bssid, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_giwap() 1795 memcpy(iwe.u.ap_addr.sa_data, bssid, ETH_ALEN); in __prism2_translate_scan() 3209 addr = ext->addr.sa_data; in prism2_ioctl_siwencodeext() 3381 addr = ext->addr.sa_data; in prism2_ioctl_giwencodeext() 3727 return prism2_sta_send_mgmt(local, mlme->addr.sa_data, in prism2_ioctl_siwmlme() [all …]
|
/linux-6.1.9/net/802/ |
D | hippi.c | 124 dev_addr_set(dev, addr->sa_data); in hippi_mac_addr()
|
/linux-6.1.9/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_netdev.c | 148 memcpy(saddr.sa_data, info->vport.base_mac_addr, in opa_vnic_process_vema_config() 208 if (!memcmp(netdev->dev_addr, sa->sa_data, ETH_ALEN)) in opa_vnic_set_mac_addr()
|
/linux-6.1.9/net/8021q/ |
D | vlan_dev.c | 336 if (!is_valid_ether_addr(addr->sa_data)) in vlan_dev_set_mac_address() 342 if (!ether_addr_equal(addr->sa_data, real_dev->dev_addr)) { in vlan_dev_set_mac_address() 343 err = dev_uc_add(real_dev, addr->sa_data); in vlan_dev_set_mac_address() 352 eth_hw_addr_set(dev, addr->sa_data); in vlan_dev_set_mac_address()
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | recv_linux.c | 85 ether_addr_copy(ev.src_addr.sa_data, &mlmepriv->assoc_bssid[0]); in r8712_handle_tkip_mic_err()
|
/linux-6.1.9/net/ethernet/ |
D | eth.c | 293 if (!is_valid_ether_addr(addr->sa_data)) in eth_prepare_mac_addr_change() 308 eth_hw_addr_set(dev, addr->sa_data); in eth_commit_mac_addr_change()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_main.c | 825 if (!is_valid_ether_addr(addr->sa_data)) in octep_set_mac() 828 err = octep_set_mac_addr(oct, addr->sa_data); in octep_set_mac() 832 memcpy(oct->mac_addr, addr->sa_data, ETH_ALEN); in octep_set_mac() 833 eth_hw_addr_set(netdev, addr->sa_data); in octep_set_mac()
|