Lines Matching refs:pkt_bytes
291 struct real_definition *dst, __u32 pkt_bytes) in encap_v6() argument
320 __builtin_bswap16(pkt_bytes + sizeof(struct ipv6hdr)); in encap_v6()
334 struct real_definition *dst, __u32 pkt_bytes) in encap_v4() argument
367 iph->tot_len = __builtin_bswap16(pkt_bytes + sizeof(struct iphdr)); in encap_v4()
641 __u16 *pkt_bytes, void *data, in process_l3_headers_v6() argument
654 *pkt_bytes = __builtin_bswap16(ip6h->payload_len); in process_l3_headers_v6()
672 __u16 *pkt_bytes, void *data, in process_l3_headers_v4() argument
686 *pkt_bytes = __builtin_bswap16(iph->tot_len); in process_l3_headers_v4()
717 __u16 pkt_bytes; in process_packet() local
725 &pkt_bytes, data, data_end); in process_packet()
728 &pkt_bytes, data, data_end); in process_packet()
790 if (!encap_v6(xdp, cval, &pckt, dst, pkt_bytes)) in process_packet()
793 if (!encap_v4(xdp, cval, &pckt, dst, pkt_bytes)) in process_packet()
801 data_stats->v2 += pkt_bytes; in process_packet()