Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/net/
Dgro.c64 #define PAYLOAD_LEN 100 macro
300 static char flag_buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_flags()
301 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_flags()
305 payload_len = PAYLOAD_LEN * psh; in send_flags()
324 create_packet(buf, i * PAYLOAD_LEN, 0, PAYLOAD_LEN, 0); in send_flags()
325 write_packet(fd, buf, total_hdr_len + PAYLOAD_LEN, daddr); in send_flags()
384 no_ext + total_hdr_len, PAYLOAD_LEN); in recompute_packet()
388 tcphdr->check = tcp_checksum(tcphdr, PAYLOAD_LEN + extlen); in recompute_packet()
471 static char buf[MAX_HDR_LEN + PAYLOAD_LEN]; in send_changed_checksum()
473 int pkt_size = total_hdr_len + PAYLOAD_LEN; in send_changed_checksum()
[all …]