Lines Matching refs:dst_port
626 (((htons(udp->dst_port) >> 4) & 0xFFF) == in compress_nh_udp()
638 tmp |= (((uint8_t)(htons(udp->dst_port))) & 0x0F); in compress_nh_udp()
642 } else if (((htons(udp->dst_port) >> 8) & 0xFF) == in compress_nh_udp()
652 *inline_ptr_udp = (uint8_t)(htons(udp->dst_port)); in compress_nh_udp()
666 inline_ptr_udp -= sizeof(udp->dst_port); in compress_nh_udp()
667 memmove(inline_ptr_udp, &udp->dst_port, sizeof(udp->dst_port)); in compress_nh_udp()
676 inline_ptr_udp -= sizeof(udp->dst_port) + sizeof(udp->src_port); in compress_nh_udp()
678 sizeof(udp->dst_port) + sizeof(udp->src_port)); in compress_nh_udp()
1277 memmove(&udp->dst_port, cursor, sizeof(udp->dst_port)); in uncompress_nh_udp()
1278 cursor += sizeof(udp->dst_port); in uncompress_nh_udp()
1286 udp->dst_port = htons(((uint16_t)NET_6LO_NHC_UDP_8_BIT_PORT << 8) | in uncompress_nh_udp()
1297 memmove(&udp->dst_port, cursor, sizeof(udp->dst_port)); in uncompress_nh_udp()
1298 cursor += sizeof(udp->dst_port); in uncompress_nh_udp()
1307 udp->dst_port = htons((NET_6LO_NHC_UDP_4_BIT_PORT << 4) | in uncompress_nh_udp()