Home
last modified time | relevance | path

Searched refs:payload_len (Results 1 – 2 of 2) sorted by relevance

/samples/bpf/
Dxdp_tx_iptunnel_kern.c86 u16 payload_len; in handle_ipv4() local
103 payload_len = ntohs(iph->tot_len); in handle_ipv4()
135 iph->tot_len = htons(payload_len + sizeof(*iph)); in handle_ipv4()
160 __u16 payload_len; in handle_ipv6() local
175 payload_len = ip6h->payload_len; in handle_ipv6()
204 ip6h->payload_len = htons(ntohs(payload_len) + sizeof(*ip6h)); in handle_ipv6()
Dxdp_fwd_kern.c95 fib_params.tot_len = ntohs(ip6h->payload_len); in xdp_fwd_flags()