Searched refs:numpkts (Results 1 – 2 of 2) sorted by relevance
157 const int numpkts = totalsize / pktsize; in test_eagain() local171 for(i=0; i < numpkts; i++) { in test_eagain()238 int numpkts; in test_pipe_simulator() local254 numpkts = MAX(sndbufsize, rcvbufsize) * 8 / pktsize; in test_pipe_simulator()256 num_sent < numpkts || num_received < numpkts; ) { in test_pipe_simulator()257 if (currently_sending && num_sent < numpkts) { in test_pipe_simulator()281 ATF_REQUIRE_MSG(num_sent < numpkts, in test_pipe_simulator()306 int numpkts; member318 for(i=0; i < td->numpkts; i++) { in test_pipe_writer()341 for(i=0; i < td->numpkts; i++) { in test_pipe_reader()[all …]
429 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_swap_epoch() local431 if (numpkts <= 0) in mempacket_swap_epoch()438 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 1); in mempacket_swap_epoch()486 if (sk_MEMPACKET_insert(ctx->pkts, thispkt, numpkts) <= 0) { in mempacket_swap_epoch()506 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_move_packet() local513 if (numpkts <= s) in mempacket_move_packet()541 int numpkts = sk_MEMPACKET_num(ctx->pkts); in mempacket_dup_last_packet() local544 if (numpkts <= 0) in mempacket_dup_last_packet()548 thispkt = sk_MEMPACKET_value(ctx->pkts, numpkts - 1); in mempacket_dup_last_packet()563 if (sk_MEMPACKET_insert(ctx->pkts, duppkt, numpkts) <= 0) { in mempacket_dup_last_packet()