Home
last modified time | relevance | path

Searched refs:sa_data (Results 1 – 25 of 232) sorted by relevance

12345678910

/linux-5.19.10/net/rose/ !
Drose_dev.c61 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-5.19.10/net/netrom/ !
Dnr_dev.c103 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-5.19.10/net/wireless/ !
Dwext-spy.c57 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()
Dibss.c55 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()
Dwext-sme.c252 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-5.19.10/drivers/net/ethernet/atheros/atlx/ !
Datlx.c69 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-5.19.10/drivers/infiniband/hw/mlx4/ !
Dmcg.c282 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-5.19.10/drivers/staging/rtl8192e/ !
Drtllib_softmac_wx.c120 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-5.19.10/drivers/net/ethernet/microchip/sparx5/ !
Dsparx5_netdev.c175 if (!is_valid_ether_addr(addr->sa_data)) in sparx5_set_mac_address()
182 sparx5_mact_learn(sparx5, PGID_CPU, addr->sa_data, port->pvid); in sparx5_set_mac_address()
185 eth_hw_addr_set(dev, addr->sa_data); in sparx5_set_mac_address()
/linux-5.19.10/net/core/ !
Ddev_ioctl.c344 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-5.19.10/drivers/staging/rtl8192u/ieee80211/ !
Dieee80211_softmac_wx.c122 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-5.19.10/drivers/staging/r8188eu/os_dep/ !
Dmlme_linux.c181 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event()
202 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_disassoc_event()
/linux-5.19.10/drivers/staging/ks7010/ !
Dks_wlan_net.c322 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-5.19.10/drivers/net/usb/ !
Dsr9700.c294 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()
Dmcs7830.c162 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()
Ddm9601.c329 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-5.19.10/net/bridge/ !
Dbr_device.c233 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-5.19.10/net/ncsi/ !
Dncsi-rsp.c629 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-5.19.10/drivers/net/wireless/intersil/orinoco/ !
Dwext.c168 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-5.19.10/drivers/net/wireless/intersil/hostap/ !
Dhostap_ioctl.c683 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-5.19.10/net/802/ !
Dhippi.c124 dev_addr_set(dev, addr->sa_data); in hippi_mac_addr()
/linux-5.19.10/drivers/infiniband/ulp/opa_vnic/ !
Dopa_vnic_netdev.c148 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-5.19.10/net/8021q/ !
Dvlan_dev.c336 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-5.19.10/drivers/staging/rtl8712/ !
Drecv_linux.c85 ether_addr_copy(ev.src_addr.sa_data, &mlmepriv->assoc_bssid[0]); in r8712_handle_tkip_mic_err()
/linux-5.19.10/net/ethernet/ !
Deth.c293 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()

12345678910