Searched refs:test_pkts (Results 1 – 1 of 1) sorted by relevance
89 struct test_pkt test_pkts[NPKTS]; member324 slen = sizeof(tcp->test_pkts[pnum]); in send_pkt()326 r = send(tcp->fds[fdidx], &tcp->test_pkts[pnum], slen, 0); in send_pkt()337 #define PDATA(tcp, i) ((tcp)->test_pkts[(i)].data)467 memcpy(tcp->test_pkts[recv_buf.pnum].tss, recv_buf.tss, in recv_pkt()469 tcp->test_pkts[recv_buf.pnum].lost = 0; in recv_pkt()539 test_ctx.test_pkts[i].pnum = i; in test_run()540 test_ctx.test_pkts[i].lost = 1; in test_run()542 test_ctx.test_pkts[i].data[j] = (unsigned char)random(); in test_run()578 if (test_ctx.test_pkts[i].lost != 0) { in test_run()[all …]