Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/
Dxdpxceiver.h32 #define IP_PKT_SIZE (PKT_SIZE - sizeof(struct ethhdr)) macro
35 #define UDP_PKT_SIZE (IP_PKT_SIZE - sizeof(struct iphdr))
Dxdpxceiver.c212 ip_hdr->tot_len = htons(IP_PKT_SIZE); in gen_ip_hdr()
/Linux-v5.15/samples/bpf/
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()