Lines Matching refs:short_addr
95 ieee802154_be16_to_le16(&neigh->short_addr, lladdr_short); in lowpan_ndisc_802154_update()
96 if (!lowpan_802154_is_valid_src_short_addr(neigh->short_addr)) in lowpan_ndisc_802154_update()
97 neigh->short_addr = cpu_to_le16(IEEE802154_ADDR_SHORT_UNSPEC); in lowpan_ndisc_802154_update()
130 if (lowpan_802154_is_valid_src_short_addr(n->short_addr)) { in lowpan_ndisc_opt_addr_space()
131 memcpy(ha_buf, &n->short_addr, in lowpan_ndisc_opt_addr_space()
145 if (lowpan_802154_is_valid_src_short_addr(wpan_dev->short_addr)) in lowpan_ndisc_opt_addr_space()
160 __be16 short_addr; in lowpan_ndisc_fill_addr_option() local
169 ieee802154_le16_to_be16(&short_addr, ha); in lowpan_ndisc_fill_addr_option()
171 &short_addr, in lowpan_ndisc_fill_addr_option()
188 if (lowpan_802154_is_valid_src_short_addr(wpan_dev->short_addr)) { in lowpan_ndisc_fill_addr_option()
189 ieee802154_le16_to_be16(&short_addr, in lowpan_ndisc_fill_addr_option()
190 &wpan_dev->short_addr); in lowpan_ndisc_fill_addr_option()
191 __ndisc_fill_addr_option(skb, opt_type, &short_addr, in lowpan_ndisc_fill_addr_option()