Lines Matching refs:pkts
290 STACK_OF(MEMPACKET) *pkts;
338 if (!TEST_ptr(ctx->pkts = sk_MEMPACKET_new_null())) { in mempacket_test_new()
353 sk_MEMPACKET_pop_free(ctx->pkts, mempacket_free); in mempacket_test_free()
378 thispkt = sk_MEMPACKET_value(ctx->pkts, 0); in mempacket_test_read()
384 (void)sk_MEMPACKET_shift(ctx->pkts); in mempacket_test_read()
497 for(i = 0; (looppkt = sk_MEMPACKET_value(ctx->pkts, i)) != NULL; i++) { in mempacket_test_inject()
500 if (sk_MEMPACKET_insert(ctx->pkts, thispkt, i) == 0) in mempacket_test_inject()
513 nextpkt = sk_MEMPACKET_value(ctx->pkts, i); in mempacket_test_inject()
534 if (!sk_MEMPACKET_push(ctx->pkts, thispkt)) in mempacket_test_inject()
562 ret = (long)(sk_MEMPACKET_num(ctx->pkts) == 0); in mempacket_test_ctrl()
574 thispkt = sk_MEMPACKET_value(ctx->pkts, 0); in mempacket_test_ctrl()