Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A Dtap.c264 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 Dpsock_snd.c117 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()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c165 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()