Searched refs:tx_buf (Results 1 – 3 of 3) sorted by relevance
/hardware/google/apf/next/ |
D | apf_interpreter_source.c | 78 u8* tx_buf; // The output buffer pointer member 92 int ret = apf_transmit_buffer(ctx->caller_ctx, ctx->tx_buf, pkt_len, dscp); in FUNC() 93 ctx->tx_buf = NULL; in FUNC() 384 ASSERT_RETURN(ctx->tx_buf == NULL); in do_apf_run() 394 ctx->tx_buf = apf_allocate_buffer(ctx->caller_ctx, ctx->tx_buf_len); in do_apf_run() 395 if (!ctx->tx_buf) { // allocate failure in do_apf_run() 400 memset(ctx->tx_buf, 0, ctx->tx_buf_len); in do_apf_run() 435 ASSERT_RETURN(ctx->tx_buf); in do_apf_run() 443 int dscp = csum_and_return_dscp(ctx->tx_buf, (s32)pkt_len, ip_ofs, in do_apf_run() 461 ASSERT_RETURN(ctx->tx_buf); in do_apf_run() [all …]
|
D | apf_interpreter.c | 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() [all …]
|
/hardware/google/apf/v6/ |
D | apf_interpreter.c | 622 u8* tx_buf; /* The output buffer pointer */ member 636 int ret = apf_transmit_buffer(ctx->caller_ctx, ctx->tx_buf, pkt_len, dscp); in FUNC() 637 ctx->tx_buf = NULL; in FUNC() 892 ASSERT_RETURN(ctx->tx_buf == NULL); in do_apf_run() 900 ctx->tx_buf = apf_allocate_buffer(ctx->caller_ctx, ctx->tx_buf_len); in do_apf_run() 901 if (!ctx->tx_buf) { /* allocate failure */ in do_apf_run() 906 memset(ctx->tx_buf, 0, ctx->tx_buf_len); in do_apf_run() 918 ASSERT_RETURN(ctx->tx_buf); in do_apf_run() 930 int dscp = apf_internal_csum_and_return_dscp(ctx->tx_buf, (s32)pkt_len, ip_ofs, in do_apf_run() 948 ASSERT_RETURN(ctx->tx_buf); in do_apf_run() [all …]
|