Searched refs:test_pkts (Results 1 – 1 of 1) sorted by relevance
87 struct test_pkt test_pkts[NPKTS]; member322 slen = sizeof(tcp->test_pkts[pnum]); in send_pkt()324 r = send(tcp->fds[fdidx], &tcp->test_pkts[pnum], slen, 0); in send_pkt()335 #define PDATA(tcp, i) ((tcp)->test_pkts[(i)].data)465 memcpy(tcp->test_pkts[recv_buf.pnum].tss, recv_buf.tss, in recv_pkt()467 tcp->test_pkts[recv_buf.pnum].lost = 0; in recv_pkt()537 test_ctx.test_pkts[i].pnum = i; in test_run()538 test_ctx.test_pkts[i].lost = 1; in test_run()540 test_ctx.test_pkts[i].data[j] = (unsigned char)random(); in test_run()576 if (test_ctx.test_pkts[i].lost != 0) { in test_run()[all …]