Home
last modified time | relevance | path

Searched refs:udp_port (Results 1 – 14 of 14) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares_options.c119 srvr_curr->udp_port = ntohs((unsigned short)channel->servers[i].addr.udp_port); in ares_get_servers_ports()
179 channel->servers[i].addr.udp_port = 0; in ares_set_servers()
231 channel->servers[i].addr.udp_port = htons((unsigned short)srvr->udp_port); in ares_set_servers_ports()
361 s->udp_port = use_port ? port: 0; in set_servers_csv()
362 s->tcp_port = s->udp_port; in set_servers_csv()
Dares_init.c130 channel->udp_port = -1; in ares_init_options()
288 (src->servers[i].addr.udp_port != 0) || in ares_dup()
346 options->udp_port = ntohs(aresx_sitous(channel->udp_port)); in ares_save_options()
356 (channel->servers[i].addr.udp_port == 0) && in ares_save_options()
367 (channel->servers[i].addr.udp_port == 0) && in ares_save_options()
441 if ((optmask & ARES_OPT_UDP_PORT) && channel->udp_port == -1) in init_by_options()
442 channel->udp_port = htons(options->udp_port); in init_by_options()
473 channel->servers[i].addr.udp_port = 0; in init_by_options()
1505 pserver->addr.udp_port = addr_in->sin_port; in init_by_resolv_conf()
1514 pserver->addr.udp_port = addr_in->sin6_port; in init_by_resolv_conf()
[all …]
Dares_private.h145 int udp_port; /* stored in network order */ member
279 int udp_port; /* stored in network order */ member
Dares_process.c1167 if (server->addr.udp_port) { in open_udp_socket()
1168 saddr.sa4.sin_port = aresx_sitous(server->addr.udp_port); in open_udp_socket()
1170 saddr.sa4.sin_port = aresx_sitous(channel->udp_port); in open_udp_socket()
1180 if (server->addr.udp_port) { in open_udp_socket()
1181 saddr.sa6.sin6_port = aresx_sitous(server->addr.udp_port); in open_udp_socket()
1183 saddr.sa6.sin6_port = aresx_sitous(channel->udp_port); in open_udp_socket()
Dares_data.c221 ptr->data.addr_port_node.udp_port = 0; in ares_malloc_data()
/third_party/lwip/src/core/distributed_net/
Ddistributed_net.c109 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()
129 g_local_udp_server_port = udp_port; in enable_distributed_net()
/third_party/lwip/src/core/
Dudp.c77 static u16_t udp_port = UDP_LOCAL_PORT_RANGE_START; variable
90 udp_port = UDP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); in udp_init()
106 if (udp_port++ == UDP_LOCAL_PORT_RANGE_END) { in udp_new_port()
107 udp_port = UDP_LOCAL_PORT_RANGE_START; in udp_new_port()
111 if (pcb->local_port == udp_port) { in udp_new_port()
118 return udp_port; in udp_new_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/node/deps/cares/include/
Dares.h265 unsigned short udp_port; member
725 int udp_port; member
/third_party/grpc/test/cpp/naming/
Dresolver_component_test.cc557 dns_server_addrs[0].udp_port = g_fake_non_responsive_dns_server_port; in InjectBrokenNameServerList()
567 dns_server_addrs[1].udp_port = atoi(local_dns_server_port.c_str()); in InjectBrokenNameServerList()
/third_party/ffmpeg/libavformat/
Dudp.c376 static int udp_port(struct sockaddr_storage *addr, int addr_len) in udp_port() function
823 s->local_port = udp_port(&my_addr, len); in udp_open()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc862 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
871 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
/third_party/node/deps/cares/src/tools/
Dadig.c306 options.udp_port = (unsigned short)strtol(optarg, NULL, 0); in main()
/third_party/node/src/
Dcares_wrap.cc814 servers[0].udp_port != 0) { in EnsureServers()
1679 Integer::New(env->isolate(), cur->udp_port) in GetServers()
1739 cur->tcp_port = cur->udp_port = port; in SetServers()