Lines Matching refs:saddr
15 struct ieee802154_addr saddr; member
35 const void *saddr, unsigned int len) in lowpan_header_create() argument
53 info->saddr.pan_id = wpan_dev->pan_id; in lowpan_header_create()
54 info->daddr.pan_id = info->saddr.pan_id; in lowpan_header_create()
84 if (!saddr) { in lowpan_header_create()
86 info->saddr.mode = IEEE802154_ADDR_SHORT; in lowpan_header_create()
87 info->saddr.short_addr = wpan_dev->short_addr; in lowpan_header_create()
89 info->saddr.mode = IEEE802154_ADDR_LONG; in lowpan_header_create()
90 info->saddr.extended_addr = wpan_dev->extended_addr; in lowpan_header_create()
93 info->saddr.mode = IEEE802154_ADDR_LONG; in lowpan_header_create()
94 ieee802154_be64_to_le64(&info->saddr.extended_addr, saddr); in lowpan_header_create()
234 lowpan_header_compress(skb, ldev, &info.daddr, &info.saddr); in lowpan_header()
247 &info.daddr, &info.saddr, 0); in lowpan_header()