/kernel/linux/linux-5.10/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 memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); in rose_set_mac_address()
|
/kernel/linux/linux-5.10/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 memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); in nr_set_mac_address()
|
/kernel/linux/linux-5.10/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() 467 u8 *bssid = ap_addr->sa_data; in cfg80211_ibss_wext_siwap() 532 memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); 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 | 245 u8 *bssid = ap_addr->sa_data; in cfg80211_mgd_wext_siwap() 304 memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); in cfg80211_mgd_wext_giwap() 306 eth_zero_addr(ap_addr->sa_data); in cfg80211_mgd_wext_giwap()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_010.cpp | 141 …02hhX:%02hhX:%02hhX:XX:XX:XX", ifr.ifr_hwaddr.sa_data[0], ifr.ifr_hwaddr.sa_data[1], ifr.ifr_hwadd… in IoctlTestInternal()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 69 if (!is_valid_ether_addr(addr->sa_data)) in atlx_set_mac() 72 memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); in atlx_set_mac() 73 memcpy(adapter->hw.mac_addr, addr->sa_data, netdev->addr_len); in atlx_set_mac()
|
/kernel/linux/linux-5.10/net/core/ |
D | dev_ioctl.c | 247 memcpy(dev->broadcast, ifr->ifr_hwaddr.sa_data, in dev_ifsioc() 248 min(sizeof(ifr->ifr_hwaddr.sa_data), in dev_ifsioc() 267 return dev_mc_add_global(dev, ifr->ifr_hwaddr.sa_data); in dev_ifsioc() 275 return dev_mc_del_global(dev, ifr->ifr_hwaddr.sa_data); in dev_ifsioc()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | mlme_linux.c | 145 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event() 168 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_disassoc_event()
|
/kernel/uniproton/src/net/lwip-2.1/include/lwip/ |
D | sockets.h | 48 #define sa_len sa_data[0] * 0 + SA_LEN(naddr, _)
|
/kernel/liteos_m/components/net/lwip-2.1/porting/include/lwip/ |
D | sockets.h | 68 #define sa_len sa_data[0] * 0 + SA_LEN(naddr, _)
|
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/ |
D | sockets.h | 68 #define sa_len sa_data[0] * 0 + SA_LEN(naddr, _)
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | sr9700.c | 293 if (!is_valid_ether_addr(addr->sa_data)) { in sr9700_set_mac_address() 295 addr->sa_data); in sr9700_set_mac_address() 299 memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); in sr9700_set_mac_address()
|
D | mcs7830.c | 161 if (!is_valid_ether_addr(addr->sa_data)) in mcs7830_set_mac_address() 164 ret = mcs7830_hif_set_mac_address(dev, addr->sa_data); in mcs7830_set_mac_address() 170 memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); in mcs7830_set_mac_address()
|
D | dm9601.c | 328 if (!is_valid_ether_addr(addr->sa_data)) { in dm9601_set_mac_address() 330 addr->sa_data); in dm9601_set_mac_address() 334 memcpy(net->dev_addr, addr->sa_data, net->addr_len); in dm9601_set_mac_address()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_device.c | 242 if (!is_valid_ether_addr(addr->sa_data)) in br_set_mac_address() 252 if (!ether_addr_equal(dev->dev_addr, addr->sa_data)) { in br_set_mac_address() 254 br_stp_change_bridge_id(br, addr->sa_data); in br_set_mac_address()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_net_container_001.cpp | 54 inet_pton(AF_INET, ip, ifr.ifr_addr.sa_data + 2); /* 2: offset */ in SetIP()
|
D | It_net_container_002.cpp | 54 inet_pton(AF_INET, ip, ifr.ifr_addr.sa_data + 2); /* 2: offset */ in SetIP()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_main.c | 137 err = prestera_is_valid_mac_addr(port, addr->sa_data); in prestera_port_set_mac_address() 141 err = prestera_hw_port_mac_set(port, addr->sa_data); in prestera_port_set_mac_address() 145 ether_addr_copy(dev->dev_addr, addr->sa_data); in prestera_port_set_mac_address()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_ioctl.c | 694 memcpy(local->preferred_ap, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_siwap() 734 memcpy(&ap_addr->sa_data, dev->dev_addr, ETH_ALEN); in prism2_ioctl_giwap() 737 memcpy(&ap_addr->sa_data, local->assoc_ap_addr, ETH_ALEN); in prism2_ioctl_giwap() 740 memcpy(&ap_addr->sa_data, iface->u.wds.remote_addr, ETH_ALEN); in prism2_ioctl_giwap() 744 &ap_addr->sa_data, ETH_ALEN, 1) < 0) in prism2_ioctl_giwap() 749 memcpy(local->bssid, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_giwap() 1806 memcpy(iwe.u.ap_addr.sa_data, bssid, ETH_ALEN); in __prism2_translate_scan() 3220 addr = ext->addr.sa_data; in prism2_ioctl_siwencodeext() 3392 addr = ext->addr.sa_data; in prism2_ioctl_giwencodeext() 3738 return prism2_sta_send_mgmt(local, mlme->addr.sa_data, in prism2_ioctl_siwmlme() [all …]
|