Home
last modified time | relevance | path

Searched refs:build_udp_header (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dpsock_snd.c134 static int build_udp_header(void *header, int payload_len) in build_udp_header() function
160 off += build_udp_header(tbuf + off, payload_len); in build_packet()
H A Dtuntap_helpers.h315 static inline int build_udp_header(uint8_t *buf, uint16_t sport, uint16_t dport, in build_udp_header() function
348 build_udp_header(buf, sport, dport, payload_len); in build_udp_packet()
H A Dtun.c831 cur += build_udp_header(cur, UDP_SRC_PORT, VN_PORT, pktlen); in build_gso_packet_into_tun()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_classification.c166 static void build_udp_header(void *header, int payload_len, uint16_t sport, in build_udp_header() function
261 build_udp_header(buf + el3_len + ol3_len + ol4_len + il3_len, in build_packet()
290 build_udp_header(buf + el3_len + ol3_len, in build_packet()