Searched refs:udp_payload (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 46 static uint8_t udp_payload[MSG_LEN_MAX]; variable 53 /* Receive a UDP packet. Validate it matches udp_payload. */ 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() 213 * has the UDP header; other fragments are pieces of udp_payload in send_udp_frags() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 46 static uint8_t udp_payload[MSG_LEN_MAX]; variable 53 /* Receive a UDP packet. Validate it matches udp_payload. */ 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() 213 * has the UDP header; other fragments are pieces of udp_payload in send_udp_frags() [all...] |
Completed in 1 milliseconds