Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/
Dxskxceiver.h39 #define PKT_HDR_SIZE (sizeof(struct ethhdr) + 2) /* Just to align the data in the packet */ macro
Dxskxceiver.c707 len -= PKT_HDR_SIZE; in pkt_generate()
708 data += PKT_HDR_SIZE; in pkt_generate()
710 bytes_written -= PKT_HDR_SIZE; in pkt_generate()
800 data = pkt + PKT_HDR_SIZE; in pkt_dump()
869 pkt_data += PKT_HDR_SIZE / sizeof(*pkt_data); in is_frag_valid()
870 len -= PKT_HDR_SIZE; in is_frag_valid()
872 bytes_processed -= PKT_HDR_SIZE; in is_frag_valid()