Home
last modified time | relevance | path

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

/openbmc/linux/net/6lowpan/
H A Dnhc_udp.c18 #define LOWPAN_NHC_UDP_4BIT_PORT 0xF0B0 macro
63 uh.source = htons(LOWPAN_NHC_UDP_4BIT_PORT + (val >> 4)); in udp_uncompress()
64 uh.dest = htons(LOWPAN_NHC_UDP_4BIT_PORT + (val & 0x0f)); in udp_uncompress()
121 LOWPAN_NHC_UDP_4BIT_PORT) && in udp_compress()
123 LOWPAN_NHC_UDP_4BIT_PORT)) { in udp_compress()
129 tmp = ntohs(uh->dest) - LOWPAN_NHC_UDP_4BIT_PORT + in udp_compress()
130 ((ntohs(uh->source) - LOWPAN_NHC_UDP_4BIT_PORT) << 4); in udp_compress()