Home
last modified time | relevance | path

Searched refs:iphc (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/subsys/net/ip/
D6lo.c82 static int get_ihpc_inlined_size(uint16_t iphc) in get_ihpc_inlined_size() argument
86 if (((iphc >> 8) & NET_6LO_DISPATCH_IPHC_MASK) != in get_ihpc_inlined_size()
92 size += tf_inline_size_table[(iphc & NET_6LO_IPHC_TF_MASK) >> in get_ihpc_inlined_size()
95 if (!(iphc & NET_6LO_IPHC_NH_MASK)) { in get_ihpc_inlined_size()
99 if (!(iphc & NET_6LO_IPHC_HLIM_MASK)) { in get_ihpc_inlined_size()
103 if (iphc & NET_6LO_IPHC_CID_MASK) { in get_ihpc_inlined_size()
107 size += sa_inline_size_table[(iphc & NET_6LO_IPHC_SA_MASK) >> in get_ihpc_inlined_size()
110 size += da_inline_size_table[(iphc & NET_6LO_IPHC_DA_MASK) >> in get_ihpc_inlined_size()
269 uint16_t *iphc) in compress_tfl() argument
281 *iphc |= NET_6LO_IPHC_TF_11; in compress_tfl()
[all …]
D6lo.h35 int net_6lo_compress(struct net_pkt *pkt, bool iphc);
37 static inline int net_6lo_compress(struct net_pkt *pkt, bool iphc) in net_6lo_compress() argument
40 ARG_UNUSED(iphc); in net_6lo_compress()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_6lo_fragment.h32 bool iphc) in ieee802154_6lo_fragment_ctx_init() argument
37 ctx->pkt_size = net_pkt_get_len(pkt) + (iphc ? hdr_diff : -1); in ieee802154_6lo_fragment_ctx_init()
57 struct net_buf *frame_buf, bool iphc);
Dieee802154_6lo_fragment.c181 struct net_buf *frame_buf, bool iphc) in ieee802154_6lo_fragment() argument
194 if (iphc) { in ieee802154_6lo_fragment()
/Zephyr-latest/tests/net/ieee802154/6lo_fragment/src/
Dmain.c158 bool iphc; member
319 .iphc = true
336 .iphc = true
353 .iphc = true
370 .iphc = true
387 .iphc = true
404 .iphc = true
421 .iphc = false
438 .iphc = false
456 .iphc = true
[all …]
/Zephyr-latest/tests/net/6lo/src/
Dmain.c249 bool iphc; member
571 .iphc = true
593 .iphc = true
615 .iphc = true
637 .iphc = true
659 .iphc = true
681 .iphc = true
698 .iphc = true
718 .iphc = true
738 .iphc = false
[all …]