Searched refs:net_sin_ptr (Results 1 – 5 of 5) sorted by relevance
96 if (net_sin_ptr(&contexts[i].local)->sin_addr == NULL) { in check_used_port()101 net_sin_ptr(&contexts[i].local)-> in check_used_port()452 if (net_sin_ptr(&context->local)->sin_addr) { in bind_default()697 net_sin_ptr(&context->local)->sin_family = AF_INET; in net_context_bind()698 net_sin_ptr(&context->local)->sin_addr = ptr; in net_context_bind()703 net_sin_ptr(&context->local)->sin_port = in net_context_bind()712 net_sin_ptr(&context->local)->sin_port; in net_context_bind()1063 net_sin_ptr(&context->local)->sin_family = AF_INET; in net_context_connect()1068 if (net_sin_ptr(&context->local)->sin_addr) { in net_context_connect()1070 net_sin_ptr(&context->local)->sin_addr); in net_context_connect()[all …]
1513 net_sin_ptr(&context->local)->sin_family = af; in tcp_conn_new()1525 if (net_sin_ptr(&context->local)->sin_addr) { in tcp_conn_new()1527 net_sin_ptr(&context->local)->sin_addr); in tcp_conn_new()2400 if (net_sin_ptr(&context->local)->sin_addr) { in net_tcp_accept()2402 net_sin_ptr(&context->local)->sin_addr); in net_tcp_accept()
1339 net_sin_ptr(&context->local)->sin_addr), in get_addresses()1340 ntohs(net_sin_ptr(&context->local)->sin_port)); in get_addresses()
1342 struct sockaddr_in_ptr *net_sin_ptr(const struct sockaddr_ptr *addr) in net_sin_ptr() function
2000 addr4.sin_port = net_sin_ptr(&ctx->local)->sin_port; in zsock_getsockname_ctx()2001 memcpy(&addr4.sin_addr, net_sin_ptr(&ctx->local)->sin_addr, in zsock_getsockname_ctx()