/linux-6.12.1/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.12.1/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.12.1/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 | 54 memcpy(wrqu.ap_addr.sa_data, bssid, ETH_ALEN); in __cfg80211_ibss_joined() 429 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap() 487 memcpy(ap_addr->sa_data, wdev->u.ibss.current_bss->pub.bssid, in cfg80211_ibss_wext_giwap() 490 memcpy(ap_addr->sa_data, wdev->wext.ibss.bssid, ETH_ALEN); in cfg80211_ibss_wext_giwap() 492 eth_zero_addr(ap_addr->sa_data); in cfg80211_ibss_wext_giwap()
|
D | wext-sme.c | 234 u8 *bssid = ap_addr->sa_data; in cfg80211_mgd_wext_siwap() 289 memcpy(ap_addr->sa_data, in cfg80211_mgd_wext_giwap() 293 eth_zero_addr(ap_addr->sa_data); in cfg80211_mgd_wext_giwap()
|
/linux-6.12.1/drivers/staging/rtl8192e/ |
D | rtllib_softmac_wx.c | 94 eth_zero_addr(wrqu->ap_addr.sa_data); in rtllib_wx_get_wap() 96 memcpy(wrqu->ap_addr.sa_data, in rtllib_wx_get_wap() 126 if (is_zero_ether_addr(temp->sa_data)) { in rtllib_wx_set_wap() 128 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap() 144 ether_addr_copy(ieee->current_network.bssid, temp->sa_data); in rtllib_wx_set_wap() 145 ieee->wap_set = !is_zero_ether_addr(temp->sa_data); in rtllib_wx_set_wap()
|
/linux-6.12.1/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.12.1/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.12.1/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.12.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc_vf.c | 83 if (!is_valid_ether_addr(saddr->sa_data)) in enetc_vf_set_mac_addr() 90 eth_hw_addr_set(ndev, saddr->sa_data); in enetc_vf_set_mac_addr()
|
/linux-6.12.1/drivers/net/usb/ |
D | sr9700.c | 301 if (!is_valid_ether_addr(addr->sa_data)) { in sr9700_set_mac_address() 303 addr->sa_data); in sr9700_set_mac_address() 307 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 | 334 if (!is_valid_ether_addr(addr->sa_data)) { in dm9601_set_mac_address() 336 addr->sa_data); in dm9601_set_mac_address() 340 eth_hw_addr_set(net, addr->sa_data); in dm9601_set_mac_address()
|
D | asix_common.c | 767 if (!is_valid_ether_addr(addr->sa_data)) in asix_set_mac_address() 770 eth_hw_addr_set(net, addr->sa_data); in asix_set_mac_address() 776 memcpy(data->mac_addr, addr->sa_data, ETH_ALEN); in asix_set_mac_address()
|
/linux-6.12.1/net/bridge/ |
D | br_device.c | 224 if (!is_valid_ether_addr(addr->sa_data)) in br_set_mac_address() 234 if (!ether_addr_equal(dev->dev_addr, addr->sa_data)) { in br_set_mac_address() 236 br_stp_change_bridge_id(br, addr->sa_data); in br_set_mac_address()
|
/linux-6.12.1/drivers/net/ethernet/microchip/lan865x/ |
D | lan865x.c | 95 if (ether_addr_equal(address->sa_data, netdev->dev_addr)) in lan865x_set_mac_address() 98 ret = lan865x_set_hw_macaddr(priv, address->sa_data); in lan865x_set_mac_address()
|
/linux-6.12.1/net/ethernet/ |
D | eth.c | 281 if (!is_valid_ether_addr(addr->sa_data)) in eth_prepare_mac_addr_change() 296 eth_hw_addr_set(dev, addr->sa_data); in eth_commit_mac_addr_change()
|
/linux-6.12.1/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.12.1/net/802/ |
D | hippi.c | 124 dev_addr_set(dev, addr->sa_data); in hippi_mac_addr()
|
/linux-6.12.1/net/ncsi/ |
D | ncsi-rsp.c | 649 memcpy(saddr.sa_data, &rsp->data[mac_addr_off], ETH_ALEN); in ncsi_rsp_handler_oem_gma() 651 eth_addr_inc((u8 *)saddr.sa_data); in ncsi_rsp_handler_oem_gma() 652 if (!is_valid_ether_addr((const u8 *)saddr.sa_data)) in ncsi_rsp_handler_oem_gma() 1119 memcpy(saddr.sa_data, &rsp->addresses[i], ETH_ALEN); in ncsi_rsp_handler_gmcma() 1123 saddr.sa_data); in ncsi_rsp_handler_gmcma() 1126 netdev_warn(ndev, "NCSI: Set MAC address to %pM\n", saddr.sa_data); in ncsi_rsp_handler_gmcma()
|
/linux-6.12.1/net/core/ |
D | dev_ioctl.c | 543 memcpy(dev->broadcast, ifr->ifr_hwaddr.sa_data, in dev_ifsioc() 558 return dev_mc_add_global(dev, ifr->ifr_hwaddr.sa_data); in dev_ifsioc() 566 return dev_mc_del_global(dev, ifr->ifr_hwaddr.sa_data); in dev_ifsioc()
|
/linux-6.12.1/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.12.1/net/batman-adv/ |
D | soft-interface.c | 132 if (!is_valid_ether_addr(addr->sa_data)) in batadv_interface_set_mac_addr() 136 eth_hw_addr_set(dev, addr->sa_data); in batadv_interface_set_mac_addr() 146 batadv_tt_local_add(dev, addr->sa_data, vlan->vid, in batadv_interface_set_mac_addr()
|
/linux-6.12.1/drivers/net/ethernet/intel/idpf/ |
D | idpf_lib.c | 2279 if (!is_valid_ether_addr(addr->sa_data)) { in idpf_set_mac() 2281 addr->sa_data); in idpf_set_mac() 2286 if (ether_addr_equal(netdev->dev_addr, addr->sa_data)) in idpf_set_mac() 2290 err = idpf_add_mac_filter(vport, np, addr->sa_data, false); in idpf_set_mac() 2292 __idpf_del_mac_filter(vport_config, addr->sa_data); in idpf_set_mac() 2299 ether_addr_copy(vport->default_mac_addr, addr->sa_data); in idpf_set_mac() 2300 eth_hw_addr_set(netdev, addr->sa_data); in idpf_set_mac()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_main.c | 858 if (!is_valid_ether_addr(addr->sa_data)) in octep_vf_set_mac() 861 err = octep_vf_mbox_set_mac_addr(oct, addr->sa_data); in octep_vf_set_mac() 865 memcpy(oct->mac_addr, addr->sa_data, ETH_ALEN); in octep_vf_set_mac() 866 eth_hw_addr_set(netdev, addr->sa_data); in octep_vf_set_mac()
|