Home
last modified time | relevance | path

Searched refs:devaddr (Results 1 – 2 of 2) sorted by relevance

/net/mac802154/
Dllsec.c547 struct ieee802154_addr devaddr = *addr; in llsec_lookup_key() local
553 devaddr.mode == IEEE802154_ADDR_NONE) { in llsec_lookup_key()
555 devaddr.extended_addr = sec->params.coord_hwaddr; in llsec_lookup_key()
556 devaddr.mode = IEEE802154_ADDR_LONG; in llsec_lookup_key()
557 } else if (llsec_recover_addr(sec, &devaddr) < 0) { in llsec_lookup_key()
572 if (ieee802154_addr_equal(&devaddr, &id->device_addr)) in llsec_lookup_key()
777 struct ieee802154_addr devaddr = *addr; in llsec_lookup_dev() local
780 if (devaddr.mode == IEEE802154_ADDR_NONE && in llsec_lookup_dev()
781 llsec_recover_addr(sec, &devaddr) < 0) in llsec_lookup_dev()
784 if (devaddr.mode == IEEE802154_ADDR_SHORT) { in llsec_lookup_dev()
[all …]
/net/ieee802154/
Dnl-mac.c1029 __le64 devaddr; in llsec_del_dev() local
1034 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_del_dev()
1036 return ops->llsec->del_dev(dev, devaddr); in llsec_del_dev()
1109 __le64 devaddr; in llsec_add_devkey() local
1116 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_add_devkey()
1119 return ops->llsec->add_devkey(dev, devaddr, &key); in llsec_add_devkey()
1135 __le64 devaddr; in llsec_del_devkey() local
1141 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_del_devkey()
1143 return ops->llsec->del_devkey(dev, devaddr, &key); in llsec_del_devkey()
1153 __le64 devaddr, in ieee802154_nl_fill_devkey() argument
[all …]