Home
last modified time | relevance | path

Searched refs:extended_addr (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/net/mac802154/
Diface.c39 params.hwaddr = wpan_dev->extended_addr; in mac802154_wpan_update_llsec()
115 __le64 extended_addr; in mac802154_wpan_mac_addr() local
128 ieee802154_be64_to_le64(&extended_addr, addr->sa_data); in mac802154_wpan_mac_addr()
129 if (!ieee802154_is_valid_extended_unicast_addr(extended_addr)) in mac802154_wpan_mac_addr()
133 sdata->wpan_dev.extended_addr = extended_addr; in mac802154_wpan_mac_addr()
163 ret = drv_set_extended_addr(local, wpan_dev->extended_addr); in ieee802154_setup_hw()
240 wpan_dev->extended_addr != nwpan_dev->extended_addr) in ieee802154_check_mac_settings()
391 hdr.source.extended_addr = wpan_dev->extended_addr; in ieee802154_header_create()
456 ieee802154_be64_to_le64(&hdr.dest.extended_addr, daddr); in mac802154_header_create()
462 hdr.source.extended_addr = wpan_dev->extended_addr; in mac802154_header_create()
[all …]
Dtrace.h187 TP_PROTO(struct ieee802154_local *local, __le64 extended_addr),
188 TP_ARGS(local, extended_addr),
191 __field(__le64, extended_addr)
195 __entry->extended_addr = extended_addr;
198 le64_to_cpu(__entry->extended_addr))
Dcfg.c87 enum nl802154_iftype type, __le64 extended_addr) in ieee802154_add_iface() argument
93 extended_addr); in ieee802154_add_iface()
406 __le64 extended_addr) in ieee802154_del_device() argument
413 res = mac802154_llsec_dev_del(&sdata->sec, extended_addr); in ieee802154_del_device()
421 __le64 extended_addr, in ieee802154_add_devkey() argument
429 res = mac802154_llsec_devkey_add(&sdata->sec, extended_addr, key); in ieee802154_add_devkey()
437 __le64 extended_addr, in ieee802154_del_devkey() argument
445 res = mac802154_llsec_devkey_del(&sdata->sec, extended_addr, key); in ieee802154_del_devkey()
Ddriver-ops.h163 drv_set_extended_addr(struct ieee802154_local *local, __le64 extended_addr) in drv_set_extended_addr() argument
175 filt.ieee_addr = extended_addr; in drv_set_extended_addr()
177 trace_802154_drv_set_extended_addr(local, extended_addr); in drv_set_extended_addr()
Drx.c58 else if (mac_cb(skb)->dest.extended_addr == wpan_dev->extended_addr) in ieee802154_subif_frame()
125 u64 hw = swab64((__force u64)addr->extended_addr); in ieee802154_print_addr()
Dieee802154_i.h176 __le64 extended_addr);
Dllsec.c531 addr->extended_addr = sec->params.coord_hwaddr; in llsec_recover_addr()
555 devaddr.extended_addr = sec->params.coord_hwaddr; in llsec_lookup_key()
795 u64 key = llsec_dev_hash_long(devaddr.extended_addr); in llsec_lookup_dev()
799 if (dev->dev.hwaddr == devaddr.extended_addr) in llsec_lookup_dev()
/Linux-v5.10/net/ieee802154/
Drdev-ops.h50 enum nl802154_iftype type, __le64 extended_addr) in rdev_add_virtual_intf() argument
55 extended_addr); in rdev_add_virtual_intf()
58 extended_addr); in rdev_add_virtual_intf()
297 struct wpan_dev *wpan_dev, __le64 extended_addr) in rdev_del_device() argument
299 return rdev->ops->del_device(&rdev->wpan_phy, wpan_dev, extended_addr); in rdev_del_device()
304 struct wpan_dev *wpan_dev, __le64 extended_addr, in rdev_add_devkey() argument
307 return rdev->ops->add_devkey(&rdev->wpan_phy, wpan_dev, extended_addr, in rdev_add_devkey()
313 struct wpan_dev *wpan_dev, __le64 extended_addr, in rdev_del_devkey() argument
316 return rdev->ops->del_devkey(&rdev->wpan_phy, wpan_dev, extended_addr, in rdev_del_devkey()
Dtrace.h68 enum nl802154_iftype type, __le64 extended_addr),
69 TP_ARGS(wpan_phy, name, type, extended_addr),
74 __field(__le64, extended_addr)
80 __entry->extended_addr = extended_addr;
84 __le64_to_cpu(__entry->extended_addr))
Dnl802154.c698 desc->device_addr.extended_addr, in ieee802154_llsec_send_key_id()
798 wpan_dev->extended_addr, in nl802154_send_iface()
902 __le64 extended_addr = cpu_to_le64(0x0000000000000000ULL); in nl802154_new_interface() local
919 extended_addr = nla_get_le64(info->attrs[NL802154_ATTR_EXTENDED_ADDR]); in nl802154_new_interface()
926 NET_NAME_USER, type, extended_addr); in nl802154_new_interface()
1309 addr->extended_addr = nla_get_le64(attrs[NL802154_DEV_ADDR_ATTR_EXTENDED]); in ieee802154_llsec_parse_dev_addr()
1758 __le64 extended_addr; in nl802154_del_llsec_dev() local
1766 extended_addr = nla_get_le64(attrs[NL802154_DEV_ATTR_EXTENDED_ADDR]); in nl802154_del_llsec_dev()
1767 return rdev_del_device(rdev, wpan_dev, extended_addr); in nl802154_del_llsec_dev()
1773 struct net_device *dev, __le64 extended_addr, in nl802154_send_devkey() argument
[all …]
Dheader_ops.c35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_addr()
143 memcpy(&addr->extended_addr, buf + pos, IEEE802154_ADDR_LEN); in ieee802154_hdr_get_addr()
Dnl-mac.c195 addr.extended_addr = nla_get_hwaddr( in ieee802154_associate_req()
238 addr.extended_addr = nla_get_hwaddr( in ieee802154_associate_resp()
272 addr.extended_addr = nla_get_hwaddr( in ieee802154_disassociate_req()
566 desc->device_addr.extended_addr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in ieee802154_llsec_parse_key_id()
620 desc->device_addr.extended_addr, in ieee802154_llsec_fill_key_id()
Dsocket.c41 ieee802154_devaddr_to_raw(hwaddr, addr->extended_addr); in ieee802154_get_dev()
775 hw_addr == ro->src_addr.extended_addr) in ieee802154_match_sock()
798 hw_addr = dev->ieee802154_ptr->extended_addr; in ieee802154_dgram_deliver()
/Linux-v5.10/include/net/
Dcfg802154.h45 __le64 extended_addr);
105 struct wpan_dev *wpan_dev, __le64 extended_addr);
108 __le64 extended_addr,
112 __le64 extended_addr,
235 __le64 extended_addr; member
344 __le64 extended_addr; member
Dieee802154_netdev.h145 a1->extended_addr != a2->extended_addr) || in ieee802154_addr_equal()
179 a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr); in ieee802154_addr_from_sa()
195 ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr); in ieee802154_addr_to_sa()
/Linux-v5.10/net/ieee802154/6lowpan/
Dtx.c76 ieee802154_be64_to_le64(&info->daddr.extended_addr, in lowpan_header_create()
90 info->saddr.extended_addr = wpan_dev->extended_addr; in lowpan_header_create()
94 ieee802154_be64_to_le64(&info->saddr.extended_addr, saddr); in lowpan_header_create()
/Linux-v5.10/net/6lowpan/
Diphc.c165 ieee802154_le64_to_be64(eui64, &addr->extended_addr); in lowpan_iphc_uncompress_802154_lladdr()
796 unsigned char extended_addr[EUI64_ADDR_LEN]; in lowpan_iphc_compress_ctx_802154_lladdr() local
802 ieee802154_le64_to_be64(&extended_addr, &addr->extended_addr); in lowpan_iphc_compress_ctx_802154_lladdr()
804 memcpy(&tmp.s6_addr[8], &extended_addr, EUI64_ADDR_LEN); in lowpan_iphc_compress_ctx_802154_lladdr()
909 unsigned char extended_addr[EUI64_ADDR_LEN]; in lowpan_iphc_compress_802154_lladdr() local
915 ieee802154_le64_to_be64(&extended_addr, &addr->extended_addr); in lowpan_iphc_compress_802154_lladdr()
916 if (is_addr_mac_addr_based(ipaddr, extended_addr)) in lowpan_iphc_compress_802154_lladdr()
/Linux-v5.10/drivers/net/ieee802154/
Datusb.c970 __le64 extended_addr; in atusb_set_extended_addr() local
997 memcpy(&extended_addr, buffer, IEEE802154_EXTENDED_ADDR_LEN); in atusb_set_extended_addr()
999 if (!ieee802154_is_valid_extended_unicast_addr(extended_addr)) { in atusb_set_extended_addr()
1003 atusb->hw->phy->perm_extended_addr = extended_addr; in atusb_set_extended_addr()
Dca8210.c1842 memcpy(&hdr.source.extended_addr, &data_ind[3], 8); in ca8210_skb_rx()
1847 memcpy(&hdr.dest.extended_addr, &data_ind[14], 8); in ca8210_skb_rx()
1972 (union macaddr *)&header.dest.extended_addr, in ca8210_skb_tx()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c741 bool extended_addr = false; in iwl_pcie_load_section() local
748 extended_addr = true; in iwl_pcie_load_section()
750 if (extended_addr) in iwl_pcie_load_section()
758 if (extended_addr) in iwl_pcie_load_section()