Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/ip/
D6lo.c62 static int get_udp_nhc_inlined_size(uint8_t nhc) in get_udp_nhc_inlined_size() argument
66 if ((nhc & 0xF8) != NET_6LO_NHC_UDP_BARE) { in get_udp_nhc_inlined_size()
71 if (!(nhc & NET_6LO_NHC_UDP_CHECKSUM)) { in get_udp_nhc_inlined_size()
75 size += udp_nhc_inline_size_table[(nhc & NET_6LO_NHC_UDP_PORT_MASK)]; in get_udp_nhc_inlined_size()
596 uint8_t nhc = NET_6LO_NHC_UDP_BARE; in compress_nh_udp() local
618 nhc |= NET_6LO_NHC_UDP_CHECKSUM; in compress_nh_udp()
633 nhc |= NET_6LO_NHC_UDP_PORT_11; in compress_nh_udp()
649 nhc |= NET_6LO_NHC_UDP_PORT_01; in compress_nh_udp()
664 nhc |= NET_6LO_NHC_UDP_PORT_10; in compress_nh_udp()
681 inline_ptr_udp -= sizeof(nhc); in compress_nh_udp()
[all …]