Lines Matching refs:inline_pos
738 uint8_t *inline_pos; in compress_IPHC_header() local
753 inline_pos = pkt->buffer->data + NET_IPV6H_LEN; in compress_IPHC_header()
756 udp = (struct net_udp_hdr *)inline_pos; in compress_IPHC_header()
757 inline_pos += NET_UDPH_LEN; in compress_IPHC_header()
759 inline_pos = compress_nh_udp(udp, inline_pos, false); in compress_IPHC_header()
763 inline_pos = compress_da(ipv6, pkt, inline_pos, &iphc); in compress_IPHC_header()
768 inline_pos = compress_da_mcast(ipv6, inline_pos, &iphc); in compress_IPHC_header()
776 inline_pos = compress_da_ctx(ipv6, inline_pos, pkt, &iphc, in compress_IPHC_header()
781 inline_pos = set_da_inline(ipv6, inline_pos, &iphc); in compress_IPHC_header()
785 inline_pos = compress_sa(ipv6, pkt, inline_pos, &iphc); in compress_IPHC_header()
801 inline_pos = compress_sa_ctx(ipv6, inline_pos, pkt, &iphc, in compress_IPHC_header()
807 inline_pos = set_sa_inline(ipv6, inline_pos, &iphc); in compress_IPHC_header()
810 inline_pos = compress_hoplimit(ipv6, inline_pos, &iphc); in compress_IPHC_header()
811 inline_pos = compress_nh(ipv6, inline_pos, &iphc); in compress_IPHC_header()
812 inline_pos = compress_tfl(ipv6, inline_pos, &iphc); in compress_IPHC_header()
816 inline_pos -= sizeof(uint8_t); in compress_IPHC_header()
817 *inline_pos = 0; in compress_IPHC_header()
820 *inline_pos = src_ctx->cid << 4; in compress_IPHC_header()
824 *inline_pos |= dst_ctx->cid & 0x0F; in compress_IPHC_header()
829 inline_pos -= sizeof(iphc); in compress_IPHC_header()
831 memmove(inline_pos, &iphc, sizeof(iphc)); in compress_IPHC_header()
833 compressed = inline_pos - pkt->buffer->data; in compress_IPHC_header()