Home
last modified time | relevance | path

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

/third_party/lwip/src/core/distributed_net/
Ddistributed_net.c48 static int try_connect_to_local_tcp_server(u16_t tcp_port) in try_connect_to_local_tcp_server() argument
52 INIT_SOCK_ADDR(&addr, LOCAL_SERVER_IP, tcp_port); in try_connect_to_local_tcp_server()
109 int enable_distributed_net(u16_t tcp_port, u16_t udp_port) in enable_distributed_net() argument
113 if (get_local_tcp_server_port() == tcp_port && get_local_udp_server_port() == udp_port) { in enable_distributed_net()
121 if (try_connect_to_local_tcp_server(tcp_port) < 0) { in enable_distributed_net()
128 g_local_tcp_server_port = tcp_port; in enable_distributed_net()
/third_party/node/deps/cares/src/lib/
Dares_options.c120 srvr_curr->tcp_port = ntohs((unsigned short)channel->servers[i].addr.tcp_port); in ares_get_servers_ports()
180 channel->servers[i].addr.tcp_port = 0; in ares_set_servers()
232 channel->servers[i].addr.tcp_port = htons((unsigned short)srvr->tcp_port); in ares_set_servers_ports()
362 s->tcp_port = s->udp_port; in set_servers_csv()
Dares_init.c131 channel->tcp_port = -1; in ares_init_options()
289 (src->servers[i].addr.tcp_port != 0)) { in ares_dup()
347 options->tcp_port = ntohs(aresx_sitous(channel->tcp_port)); in ares_save_options()
357 (channel->servers[i].addr.tcp_port == 0)) in ares_save_options()
368 (channel->servers[i].addr.tcp_port == 0)) in ares_save_options()
443 if ((optmask & ARES_OPT_TCP_PORT) && channel->tcp_port == -1) in init_by_options()
444 channel->tcp_port = htons(options->tcp_port); in init_by_options()
474 channel->servers[i].addr.tcp_port = 0; in init_by_options()
1506 pserver->addr.tcp_port = addr_in->sin_port; in init_by_resolv_conf()
1515 pserver->addr.tcp_port = addr_in->sin6_port; in init_by_resolv_conf()
[all …]
Dares_private.h146 int tcp_port; /* stored in network order */ member
280 int tcp_port; /* stored in network order */ member
Dares_process.c1054 if (server->addr.tcp_port) { in open_tcp_socket()
1055 saddr.sa4.sin_port = aresx_sitous(server->addr.tcp_port); in open_tcp_socket()
1057 saddr.sa4.sin_port = aresx_sitous(channel->tcp_port); in open_tcp_socket()
1067 if (server->addr.tcp_port) { in open_tcp_socket()
1068 saddr.sa6.sin6_port = aresx_sitous(server->addr.tcp_port); in open_tcp_socket()
1070 saddr.sa6.sin6_port = aresx_sitous(channel->tcp_port); in open_tcp_socket()
Dares_data.c222 ptr->data.addr_port_node.tcp_port = 0; in ares_malloc_data()
/third_party/pulseaudio/src/modules/dbus/
Dmodule-dbus-protocol.c65 uint32_t tcp_port; member
464 address = pa_sprintf_malloc("tcp:host=%s,port=%u", u->tcp_listen, u->tcp_port); in start_tcp_server()
529 u->tcp_port = PA_DBUS_DEFAULT_PORT; in pa__init()
536 …if (pa_modargs_get_value_u32(ma, "tcp_port", &u->tcp_port) < 0 || u->tcp_port < 1 || u->tcp_port >… in pa__init()
/third_party/ltp/testcases/network/netstress/
Dnetstress.c81 static char *tcp_port; variable
473 SAFE_GETADDRINFO(server_addr, tcp_port, &hints, &remote_addrinfo); in client_init()
663 if (!source_addr && !tcp_port) in server_init()
664 tcp_port = "0"; in server_init()
668 SAFE_GETADDRINFO(src_addr ? src_addr : source_addr, tcp_port, in server_init()
895 server_addr, tcp_port); in setup()
1005 {"g:", &tcp_port, "Server port"},
/third_party/lwip/src/include/lwip/distributed_net/
Ddistributed_net.h72 int enable_distributed_net(u16_t tcp_port, u16_t udp_port);
/third_party/lwip/src/core/
Dtcp.c159 static volatile u16_t tcp_port = TCP_LOCAL_PORT_RANGE_START; variable
204 tcp_port = TCP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); in tcp_init()
1019 tcp_port++; in tcp_new_port()
1020 if (tcp_port == TCP_LOCAL_PORT_RANGE_END) { in tcp_new_port()
1021 tcp_port = TCP_LOCAL_PORT_RANGE_START; in tcp_new_port()
1026 if (pcb->local_port == tcp_port) { in tcp_new_port()
1035 return tcp_port; in tcp_new_port()
/third_party/node/deps/cares/include/
Dares.h266 unsigned short tcp_port; member
726 int tcp_port; member
/third_party/grpc/test/cpp/naming/
Dresolver_component_test.cc556 dns_server_addrs[0].tcp_port = g_fake_non_responsive_dns_server_port; in InjectBrokenNameServerList()
566 dns_server_addrs[1].tcp_port = atoi(local_dns_server_port.c_str()); in InjectBrokenNameServerList()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Ddpp_supplicant.c442 int tcp_port = DPP_TCP_PORT; in wpas_dpp_auth_init() local
464 tcp_port = atoi(pos); in wpas_dpp_auth_init()
548 return dpp_tcp_init(wpa_s->dpp, auth, &ipaddr, tcp_port); in wpas_dpp_auth_init()
2321 config.tcp_port = atoi(pos); in wpas_dpp_controller_start()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Ddpp_hostapd.c557 int tcp_port = DPP_TCP_PORT; in hostapd_dpp_auth_init() local
577 tcp_port = atoi(pos); in hostapd_dpp_auth_init()
665 &ipaddr, tcp_port, hapd->conf->dpp_name, in hostapd_dpp_auth_init()
2363 config.tcp_port = atoi(pos); in hostapd_dpp_controller_start()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.h277 int tcp_port; member
Ddpp.c10025 port = config->tcp_port ? config->tcp_port : DPP_TCP_PORT; in dpp_controller_start()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc861 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
870 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp.h397 int tcp_port; member
Ddpp_tcp.c1690 port = config->tcp_port ? config->tcp_port : DPP_TCP_PORT; in dpp_controller_start()
/third_party/node/deps/cares/src/tools/
Dadig.c298 options.tcp_port = (unsigned short)strtol(optarg, NULL, 0); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Ddpp_supplicant.c756 int tcp_port = DPP_TCP_PORT; in wpas_dpp_auth_init() local
778 tcp_port = atoi(pos); in wpas_dpp_auth_init()
875 return dpp_tcp_init(wpa_s->dpp, auth, &ipaddr, tcp_port, in wpas_dpp_auth_init()
3489 config.tcp_port = atoi(pos); in wpas_dpp_controller_start()
/third_party/node/src/
Dcares_wrap.cc813 servers[0].tcp_port != 0 || in EnsureServers()
1739 cur->tcp_port = cur->udp_port = port; in SetServers()