Searched refs:pkt_bytes (Results 1 – 3 of 3) sorted by relevance
291 struct real_definition *dst, __u32 pkt_bytes) in encap_v6() argument320 __builtin_bswap16(pkt_bytes + sizeof(struct ipv6hdr)); in encap_v6()334 struct real_definition *dst, __u32 pkt_bytes) in encap_v4() argument367 iph->tot_len = __builtin_bswap16(pkt_bytes + sizeof(struct iphdr)); in encap_v4()641 __u16 *pkt_bytes, void *data, in process_l3_headers_v6() argument654 *pkt_bytes = __builtin_bswap16(ip6h->payload_len); in process_l3_headers_v6()672 __u16 *pkt_bytes, void *data, in process_l3_headers_v4() argument686 *pkt_bytes = __builtin_bswap16(iph->tot_len); in process_l3_headers_v4()717 __u16 pkt_bytes; in process_packet() local725 &pkt_bytes, data, data_end); in process_packet()[all …]
341 __u16 pkt_bytes; in process_packet() local357 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()379 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()447 data_stats->bytes += pkt_bytes; in process_packet()