Searched refs:cb (Results 1 - 11 of 11) sorted by relevance

/tldk/lib/libtle_l4p/
H A Dudp_stream.h48 struct tle_stream_cb cb; member in struct:tle_udp_stream::__anon544
60 struct tle_stream_cb cb; member in struct:tle_udp_stream::__anon545
H A Dtcp_stream.c332 check_cbev(const struct tle_event *ev, const struct tle_stream_cb *cb) argument
334 if (ev != NULL && cb->func != NULL)
399 s->rx.cb = prm->cfg.recv_cb;
401 s->tx.cb = prm->cfg.send_cb;
403 s->err.cb = prm->cfg.err_cb;
445 s->rx.cb = zcb;
446 s->tx.cb = zcb;
447 s->err.cb = zcb;
622 s->rx.cb.data = prm->recv_cb.data;
623 s->tx.cb
[all...]
H A Dtcp_rxq.h141 else if (s->rx.cb.func != NULL && r == 0)
142 s->rx.cb.func(s->rx.cb.data, &s->s);
H A Dtcp_stream.h112 struct tle_stream_cb cb; member in struct:tle_tcp_stream::__anon15
119 struct tle_stream_cb cb; /* user provided recv callback. */ member in struct:tle_tcp_stream::__anon16
131 struct tle_stream_cb cb; member in struct:tle_tcp_stream::__anon17
H A Dudp_stream.c266 s->rx.cb = prm->recv_cb;
268 s->tx.cb = prm->send_cb;
307 s->rx.cb = zcb;
308 s->tx.cb = zcb;
H A Dudp_rxtx.c100 if (s->rx.cb.func != NULL && r != 0 && rte_ring_count(s->rx.q) == r)
101 s->rx.cb.func(s->rx.cb.data, &s->s);
232 else if (s->tx.cb.func != NULL && n == 0)
233 s->tx.cb.func(s->tx.cb.data, &s->s);
H A Dtcp_rxtx.c826 else if (s->err.cb.func != NULL)
827 s->err.cb.func(s->err.cb.data, &s->s);
1023 else if (k == 0 && s->tx.cb.func != NULL)
1024 s->tx.cb.func(s->tx.cb.data, &s->s);
1055 /* raise err.ev & err.cb */
1058 else if (s->err.cb.func != NULL)
1059 s->err.cb.func(s->err.cb
[all...]
/tldk/test/gtest/
H A Dtest_tle_udp_stream_gen.h310 const void *cb; member in class:test_tle_udp_gen_base
320 cb = rte_eth_add_rx_callback(*portid, 0,
470 /* TODO: Add tests which use cb's and events. */
/tldk/app/nginx/src/os/win32/
H A Dngx_process.c213 si.cb = sizeof(STARTUPINFO);
/tldk/examples/l4fwd/
H A Dpkt.c949 const void *cb; local
1022 cb = rte_eth_add_rx_callback(uprt->id, qid,
1028 __func__, uprt->id, ptype2cb[i].name, cb);
1029 return ((cb == NULL) ? rc : 0);
/tldk/app/nginx/src/tldk/
H A Dbe.c997 const void *cb; local
1027 cb = rte_eth_add_rx_callback(td->cf.port, td->cf.queue,
1033 __func__, td->cf.port, ptype2cb[i].name, cb);
1034 return ((cb == NULL) ? rc : 0);

Completed in 19 milliseconds