Home
last modified time | relevance | path

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

/Linux-v6.6/samples/bpf/
Dxdp_adjust_tail_kern.c63 static __always_inline void ipv4_csum(void *data_start, int data_size, in ipv4_csum() function
100 ipv4_csum(icmp_hdr, ICMP_TOOBIG_PAYLOAD_SIZE, &csum); in send_icmp4_too_big()
113 ipv4_csum(iph, sizeof(struct iphdr), &csum); in send_icmp4_too_big()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dxdping_kern.c49 static __always_inline __u16 ipv4_csum(void *data_start, int data_size) in ipv4_csum() function
144 icmph->checksum = ipv4_csum(icmph, ICMP_ECHO_LEN); in xdping_client()
177 icmph->checksum = ipv4_csum(icmph, ICMP_ECHO_LEN); in xdping_server()