Searched refs:net_sin_ptr (Results 1 – 5 of 5) sorted by relevance
102 net_sin_ptr(&context->local)->sin_addr), in get_addresses()103 ntohs(net_sin_ptr(&context->local)->sin_port)); in get_addresses()
269 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 …]
261 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()
1596 struct sockaddr_in_ptr *net_sin_ptr(const struct sockaddr_ptr *addr) in net_sin_ptr() function
995 (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()