Home
last modified time | relevance | path

Searched refs:tx_buf (Results 1 – 4 of 4) sorted by relevance

/hardware/google/apf/v7/
Dapf_interpreter_source.c78 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()
356 ASSERT_RETURN(ctx->tx_buf == NULL); in do_apf_run()
364 ctx->tx_buf = apf_allocate_buffer(ctx->caller_ctx, ctx->tx_buf_len); in do_apf_run()
365 if (!ctx->tx_buf) { // allocate failure in do_apf_run()
370 memset(ctx->tx_buf, 0, ctx->tx_buf_len); in do_apf_run()
382 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
394 int dscp = csum_and_return_dscp(ctx->tx_buf, (s32)pkt_len, ip_ofs, in do_apf_run()
412 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
[all …]
Dapf_interpreter.c624 u8* tx_buf; /* The output buffer pointer */ member
638 int ret = apf_transmit_buffer(ctx->caller_ctx, ctx->tx_buf, pkt_len, dscp); in FUNC()
639 ctx->tx_buf = NULL; in FUNC()
902 ASSERT_RETURN(ctx->tx_buf == NULL); in do_apf_run()
910 ctx->tx_buf = apf_allocate_buffer(ctx->caller_ctx, ctx->tx_buf_len); in do_apf_run()
911 if (!ctx->tx_buf) { /* allocate failure */ in do_apf_run()
916 memset(ctx->tx_buf, 0, ctx->tx_buf_len); in do_apf_run()
928 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
940 int dscp = apf_internal_csum_and_return_dscp(ctx->tx_buf, (s32)pkt_len, ip_ofs, in do_apf_run()
958 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
[all …]
/hardware/google/apf/v6/
Dapf_interpreter.c622 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 …]
/hardware/google/apf/devtools/
Dapf_interpreter.c624 u8* tx_buf; /* The output buffer pointer */ member
638 int ret = apf_transmit_buffer(ctx->caller_ctx, ctx->tx_buf, pkt_len, dscp); in FUNC()
639 ctx->tx_buf = NULL; in FUNC()
902 ASSERT_RETURN(ctx->tx_buf == NULL); in do_apf_run()
910 ctx->tx_buf = apf_allocate_buffer(ctx->caller_ctx, ctx->tx_buf_len); in do_apf_run()
911 if (!ctx->tx_buf) { /* allocate failure */ in do_apf_run()
916 memset(ctx->tx_buf, 0, ctx->tx_buf_len); in do_apf_run()
928 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
940 int dscp = apf_internal_csum_and_return_dscp(ctx->tx_buf, (s32)pkt_len, ip_ofs, in do_apf_run()
958 ASSERT_RETURN(ctx->tx_buf); in do_apf_run()
[all …]