Searched refs:udp_payload (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/net/ |
D | ip_defrag.c | 46 static uint8_t udp_payload[MSG_LEN_MAX]; variable 78 if (memcmp(udp_payload, recv_buff, payload_len)) in recv_validate_udp() 109 sum = raw_checksum((uint8_t *)udp_payload, payload_len, sum); in udp_checksum() 126 sum = raw_checksum((uint8_t *)udp_payload, payload_len, sum); in udp6_checksum() 169 memcpy(frag_start + UDP_HLEN, udp_payload, in send_fragment() 172 memcpy(frag_start, udp_payload + payload_offset, in send_fragment() 187 memcpy(frag_start + UDP_HLEN, udp_payload, in send_fragment() 190 memcpy(frag_start, udp_payload + payload_offset, in send_fragment() 347 udp_payload[idx] = idx % 256; in run_test()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_metadata.c | 222 char udp_payload[UDP_PAYLOAD_BYTES]; in generate_packet_inet() local 227 memset(udp_payload, 0xAA, UDP_PAYLOAD_BYTES); in generate_packet_inet() 236 err = sendto(sock_fd, udp_payload, UDP_PAYLOAD_BYTES, MSG_DONTWAIT, in generate_packet_inet()
|