Home
last modified time | relevance | path

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

/third_party/lwip/
D0064-fix-udp-send-recv-in-multiple-queue.patch33 static u16_t udp_port = UDP_LOCAL_PORT_RANGE_START;
68 + if (udp_port++ == UDP_LOCAL_PORT_RANGE_END) {
69 + udp_port = UDP_LOCAL_PORT_RANGE_START;
72 + if (__atomic_load_n(&port_state[udp_port - UDP_LOCAL_PORT_RANGE_START], __ATOMIC_ACQUIRE) == 0…
73 …_in_stack_queue(dst_pcb->remote_ip.addr, dst_pcb->local_ip.addr, dst_pcb->remote_port, udp_port)) {
74 + tmp_port = udp_port;
75 + __atomic_store_n(&port_state[udp_port - UDP_LOCAL_PORT_RANGE_START], 1, __ATOMIC_RELEASE…
95 return udp_port;
D0080-enable-ipv6.patch213 … if (__atomic_load_n(&port_state[udp_port - UDP_LOCAL_PORT_RANGE_START], __ATOMIC_ACQUIRE) == 0) {
214 …_in_stack_queue(dst_pcb->remote_ip.addr, dst_pcb->local_ip.addr, dst_pcb->remote_port, udp_port)) {
215 … if (port_in_stack_queue(dst_pcb->remote_ip, dst_pcb->local_ip, dst_pcb->remote_port, udp_port)) {
216 tmp_port = udp_port;
217 … __atomic_store_n(&port_state[udp_port - UDP_LOCAL_PORT_RANGE_START], 1, __ATOMIC_RELEASE);
/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.c133 channel->udp_port = -1; in ares_init_options()
301 (src->servers[i].addr.udp_port != 0) || in ares_dup()
362 options->udp_port = ntohs(aresx_sitous(channel->udp_port)); in ares_save_options()
372 (channel->servers[i].addr.udp_port == 0) && in ares_save_options()
383 (channel->servers[i].addr.udp_port == 0) && in ares_save_options()
464 if ((optmask & ARES_OPT_UDP_PORT) && channel->udp_port == -1) in init_by_options()
465 channel->udp_port = htons(options->udp_port); in init_by_options()
496 channel->servers[i].addr.udp_port = 0; in init_by_options()
1173 pserver->addr.udp_port = addr_in->sin_port; in init_by_resolv_conf()
1182 pserver->addr.udp_port = addr_in->sin6_port; in init_by_resolv_conf()
[all …]
Dares_private.h143 int udp_port; /* stored in network order */ member
273 int udp_port; /* stored in network order */ member
Dares_process.c1206 if (server->addr.udp_port) { in open_udp_socket()
1207 saddr.sa4.sin_port = aresx_sitous(server->addr.udp_port); in open_udp_socket()
1209 saddr.sa4.sin_port = aresx_sitous(channel->udp_port); in open_udp_socket()
1219 if (server->addr.udp_port) { in open_udp_socket()
1220 saddr.sa6.sin6_port = aresx_sitous(server->addr.udp_port); in open_udp_socket()
1222 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.c114 int enable_distributed_net(u16_t tcp_port, u16_t udp_port) in enable_distributed_net() argument
118 if (get_local_tcp_server_port() == tcp_port && get_local_udp_server_port() == udp_port) { in enable_distributed_net()
134 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
101 udp_port = UDP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); in udp_init()
117 if (udp_port++ == UDP_LOCAL_PORT_RANGE_END) { in udp_new_port()
118 udp_port = UDP_LOCAL_PORT_RANGE_START; in udp_new_port()
122 if (pcb->local_port == udp_port) { in udp_new_port()
129 return udp_port; in udp_new_port()
/third_party/lwip/src/include/lwip/distributed_net/
Ddistributed_net.h77 int enable_distributed_net(u16_t tcp_port, u16_t udp_port);
/third_party/cares/include/
Dares.h264 unsigned short udp_port; member
724 int udp_port; member
/third_party/node/deps/cares/include/
Dares.h273 unsigned short udp_port; member
734 int udp_port; member
/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/node/deps/cares/src/tools/
Dadig.c307 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()
1668 Integer::New(env->isolate(), cur->udp_port) in GetServers()
1727 cur->tcp_port = cur->udp_port = port; in SetServers()
/third_party/libabigail/tests/data/test-diff-dwarf-abixml/
DPR25409-librte_bus_dpaa.so.20.0.abi4161 …<var-decl name='udp_port' type-id='type-id-6' visibility='default' filepath='../../dpdk/lib/librte…
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h53359 __be16 udp_port; member