Searched refs:udp_v6_ctx (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/net/context/src/ |
D | main.c | 40 static struct net_context *udp_v6_ctx; variable 156 &udp_v6_ctx); in net_ctx_create() 193 ret = net_context_bind(udp_v6_ctx, (struct sockaddr *)&addr, in net_ctx_bind_fail() 209 ret = net_context_bind(udp_v6_ctx, (struct sockaddr *)&addr, in net_ctx_bind_uni_success_v6() 288 ret = net_context_connect(udp_v6_ctx, (struct sockaddr *)&addr, in net_ctx_connect_v6() 352 ret = net_context_accept(udp_v6_ctx, accept_cb, K_NO_WAIT, in net_ctx_accept_v6() 389 ret = net_context_put(udp_v6_ctx); in net_ctx_put() 432 ret = net_context_send(udp_v6_ctx, test_data, strlen(test_data), in net_ctx_send_v6() 466 ret = net_context_sendto(udp_v6_ctx, test_data, strlen(test_data), in net_ctx_sendto_v6() 513 ret = net_context_recv(udp_v6_ctx, recv_cb, K_NO_WAIT, in ZTEST() [all …]
|
/Zephyr-latest/tests/net/tx_timestamp/src/ |
D | main.c | 67 static struct net_context *udp_v6_ctx; variable 441 &udp_v6_ctx); in send_some_data() 447 ret = net_context_bind(udp_v6_ctx, (struct sockaddr *)&src_addr6, in send_some_data() 454 ret = net_context_sendto(udp_v6_ctx, test_data, strlen(test_data), in send_some_data() 460 net_context_unref(udp_v6_ctx); in send_some_data()
|