Lines Matching defs:mode
20 if (addr->mode == IEEE802154_ADDR_NONE)
28 switch (addr->mode) {
87 fc->dest_addr_mode = hdr->dest.mode;
94 fc->source_addr_mode = hdr->source.mode;
97 hdr->dest.mode != IEEE802154_ADDR_NONE)
171 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
176 addr->mode = mode;
178 if (mode == IEEE802154_ADDR_NONE)
186 if (mode == IEEE802154_ADDR_SHORT) {
195 static int ieee802154_hdr_addr_len(int mode, bool omit_pan)
199 switch (mode) {