Lines Matching refs:tx_buf
683 u8* tx_buf; /* The output buffer pointer */ member
697 int ret = apf_transmit_buffer(ctx->caller_ctx, ctx->tx_buf, pkt_len, dscp); in FUNC()
698 ctx->tx_buf = NULL; in FUNC()
989 ASSERT_RETURN(ctx->tx_buf == NULL); in do_apf_run()
999 ctx->tx_buf = apf_allocate_buffer(ctx->caller_ctx, ctx->tx_buf_len); in do_apf_run()
1000 if (!ctx->tx_buf) { /* allocate failure */ in do_apf_run()
1005 memset(ctx->tx_buf, 0, ctx->tx_buf_len); in do_apf_run()
1040 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
1048 int dscp = apf_internal_csum_and_return_dscp(ctx->tx_buf, (s32)pkt_len, ip_ofs, in do_apf_run()
1066 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
1073 memcpy(ctx->tx_buf + dst_offs, ctx->packet + pktcopy_src_offset, copy_len); in do_apf_run()
1076 memcpy(ctx->tx_buf + dst_offs, ctx->program + pktcopy_src_offset, copy_len); in do_apf_run()
1137 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
1140 ctx->tx_buf[ctx->mem.named.tx_buf_offset++] = in do_apf_run()
1205 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
1212 ctx->tx_buf[ctx->mem.named.tx_buf_offset++] = in do_apf_run()
1263 if (apf_ctx.tx_buf) do_discard_buffer(&apf_ctx); in apf_runner()