Home
last modified time | relevance | path

Searched refs:IP_PKT_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/
A Dxdpxceiver.h31 #define IP_PKT_SIZE (PKT_SIZE - sizeof(struct ethhdr)) macro
34 #define UDP_PKT_SIZE (IP_PKT_SIZE - sizeof(struct iphdr))
A Dxdpxceiver.c213 ip_hdr->tot_len = htons(IP_PKT_SIZE); in gen_ip_hdr()
/linux/samples/bpf/
A Dxdpsock_user.c744 #define IP_PKT_SIZE (PKT_SIZE - sizeof(struct ethhdr)) macro
745 #define UDP_PKT_SIZE (IP_PKT_SIZE - sizeof(struct iphdr))
768 ip_hdr->tot_len = htons(IP_PKT_SIZE); in gen_eth_hdr_data()

Completed in 11 milliseconds