Lines Matching refs:inline_ptr_udp
597 uint8_t *inline_ptr_udp = inline_ptr; in compress_nh_udp() local
620 inline_ptr_udp -= sizeof(udp->chksum); in compress_nh_udp()
621 memmove(inline_ptr_udp, &udp->chksum, sizeof(udp->chksum)); in compress_nh_udp()
639 inline_ptr_udp -= sizeof(tmp); in compress_nh_udp()
640 *inline_ptr_udp = tmp; in compress_nh_udp()
651 inline_ptr_udp -= sizeof(uint8_t); in compress_nh_udp()
652 *inline_ptr_udp = (uint8_t)(htons(udp->dst_port)); in compress_nh_udp()
654 inline_ptr_udp -= sizeof(udp->src_port); in compress_nh_udp()
655 memmove(inline_ptr_udp, &udp->src_port, sizeof(udp->src_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()
669 inline_ptr_udp -= sizeof(uint8_t); in compress_nh_udp()
670 *inline_ptr_udp = (uint8_t)(htons(udp->src_port)); in compress_nh_udp()
676 inline_ptr_udp -= sizeof(udp->dst_port) + sizeof(udp->src_port); in compress_nh_udp()
677 memmove(inline_ptr_udp, &udp->src_port, in compress_nh_udp()
681 inline_ptr_udp -= sizeof(nhc); in compress_nh_udp()
682 *inline_ptr_udp = nhc; in compress_nh_udp()
684 return inline_ptr_udp; in compress_nh_udp()