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)
124 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan,
129 addr->mode = mode;
131 if (mode == IEEE802154_ADDR_NONE)
139 if (mode == IEEE802154_ADDR_SHORT) {
148 static int ieee802154_hdr_addr_len(int mode, bool omit_pan)
152 switch (mode) {