Lines Matching refs:daddr
14 struct ieee802154_addr daddr; member
34 unsigned short type, const void *daddr, in lowpan_header_create() argument
43 if (!daddr) in lowpan_header_create()
54 info->daddr.pan_id = info->saddr.pan_id; in lowpan_header_create()
56 if (!memcmp(daddr, ldev->broadcast, EUI64_ADDR_LEN)) { in lowpan_header_create()
57 info->daddr.short_addr = cpu_to_le16(IEEE802154_ADDR_BROADCAST); in lowpan_header_create()
58 info->daddr.mode = IEEE802154_ADDR_SHORT; in lowpan_header_create()
62 n = neigh_lookup(&nd_tbl, &hdr->daddr, ldev); in lowpan_header_create()
72 info->daddr.short_addr = short_addr; in lowpan_header_create()
73 info->daddr.mode = IEEE802154_ADDR_SHORT; in lowpan_header_create()
75 info->daddr.mode = IEEE802154_ADDR_LONG; in lowpan_header_create()
76 ieee802154_be64_to_le64(&info->daddr.extended_addr, in lowpan_header_create()
77 daddr); in lowpan_header_create()
234 lowpan_header_compress(skb, ldev, &info.daddr, &info.saddr); in lowpan_header()
240 if (info.daddr.mode == IEEE802154_ADDR_SHORT && in lowpan_header()
241 ieee802154_is_broadcast_short_addr(info.daddr.short_addr)) in lowpan_header()
247 &info.daddr, &info.saddr, 0); in lowpan_header()