Searched refs:build_ipv4_header (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/net/ |
H A D | tap.c | 264 static int build_ipv4_header(uint8_t *buf, int payload_len) in build_ipv4_header() function 320 cur += build_ipv4_header(cur, payload_len); in build_test_packet_valid_udp_gso() 336 cur += build_ipv4_header(cur, payload_len); in build_test_packet_valid_udp_csum() 356 cur += build_ipv4_header(cur, payload_len); in build_test_packet_crash_tap_invalid_eth_proto()
|
H A D | psock_snd.c | 117 static int build_ipv4_header(void *header, int payload_len) in build_ipv4_header() function 159 off += build_ipv4_header(tbuf + off, payload_len); in build_packet()
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.c | 165 static void build_ipv4_header(void *header, uint8_t proto, in build_ipv4_header() function 313 build_ipv4_header(buf + el3_len + ol3_len + ol4_len, in build_packet() 337 build_ipv4_header(buf + el3_len, cfg_encap_proto, in build_packet() 371 build_ipv4_header(buf, in build_packet()
|