Searched refs:pkt_bytes (Results 1 – 3 of 3) sorted by relevance
280 struct real_definition *dst, __u32 pkt_bytes) in encap_v6() argument309 bpf_htons(pkt_bytes + sizeof(struct ipv6hdr)); in encap_v6()323 struct real_definition *dst, __u32 pkt_bytes) in encap_v4() argument356 iph->tot_len = bpf_htons(pkt_bytes + sizeof(struct iphdr)); in encap_v4()630 __u16 *pkt_bytes, void *data, in process_l3_headers_v6() argument643 *pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_l3_headers_v6()661 __u16 *pkt_bytes, void *data, in process_l3_headers_v4() argument675 *pkt_bytes = bpf_ntohs(iph->tot_len); in process_l3_headers_v4()706 __u16 pkt_bytes; in process_packet() local714 &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()