Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/shell/
Dtcp.c16 static struct net_context *tcp_ctx; variable
213 tcp_ctx = NULL; in tcp_connect()
231 if (!tcp_ctx || !net_context_is_used(tcp_ctx)) { in tcp_recv_cb()
235 ret = net_context_put(tcp_ctx); in tcp_recv_cb()
243 tcp_ctx = NULL; in tcp_recv_cb()
269 if (tcp_ctx && net_context_is_used(tcp_ctx)) { in cmd_net_tcp_connect()
292 tcp_connect(sh, ip, port, &tcp_ctx); in cmd_net_tcp_connect()
309 if (!tcp_ctx || !net_context_is_used(tcp_ctx)) { in cmd_net_tcp_send()
321 ret = net_context_send(tcp_ctx, (uint8_t *)argv[arg], in cmd_net_tcp_send()
344 if (!tcp_ctx || !net_context_is_used(tcp_ctx)) { in cmd_net_tcp_recv()
[all …]