Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/shell/
Dnet_shell.c102 net_sin_ptr(&context->local)->sin_addr), in get_addresses()
103 ntohs(net_sin_ptr(&context->local)->sin_port)); in get_addresses()
/Zephyr-latest/subsys/net/ip/
Dnet_context.c269 if (net_sin_ptr(&contexts[i].local)->sin_addr == NULL || in check_used_port()
272 net_sin_ptr(&contexts[i].local)->sin_family != AF_INET)) { in check_used_port()
277 net_sin_ptr(&contexts[i].local)->sin_addr) || in check_used_port()
289 net_sin_ptr(&contexts[i].local)->sin_addr) && in check_used_port()
305 net_sin_ptr(&contexts[i].local)-> in check_used_port()
738 if (net_sin_ptr(&context->local)->sin_addr) { in bind_default()
826 net_sin_ptr(&context->local)->sin_port = re_port; in recheck_port()
835 net_sin_ptr(&context->local)->sin_port = net_sin(addr)->sin_port; in recheck_port()
1032 net_sin_ptr(&context->local)->sin_family = AF_INET; in net_context_bind()
1033 net_sin_ptr(&context->local)->sin_addr = ptr; in net_context_bind()
[all …]
Dtcp.c261 net_sin_ptr(&ctx->local)->sin_addr, in net_tcp_endpoint_copy()
263 net_sin(local)->sin_port = net_sin_ptr(&ctx->local)->sin_port; in net_tcp_endpoint_copy()
2432 net_sin_ptr(&context->local)->sin_family = af; in tcp_conn_new()
2471 net_sin_ptr(&context->local)->sin_port = conn->src.sin.sin_port; in tcp_conn_new()
4013 if (net_sin_ptr(&context->local)->sin_addr) { in net_tcp_accept()
4015 net_sin_ptr(&context->local)->sin_addr); in net_tcp_accept()
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h1596 struct sockaddr_in_ptr *net_sin_ptr(const struct sockaddr_ptr *addr) in net_sin_ptr() function
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c995 (uint8_t *)net_sin_ptr(&ctx->local)->sin_addr); in add_pktinfo()
2796 if (net_sin_ptr(&ctx->local)->sin_addr == NULL) { in zsock_getsockname_ctx()