/third_party/lwip/ |
D | 0030-refactor-tcp-new-port.patch | 82 - tcp_port++; 83 - if (tcp_port == TCP_LOCAL_PORT_RANGE_END) { 84 - tcp_port = TCP_LOCAL_PORT_RANGE_START; 89 - if (pcb->local_port == tcp_port) { 94 + tcp_port++; 95 + if (tcp_port == TCP_LOCAL_PORT_RANGE_END) { 96 + tcp_port = TCP_LOCAL_PORT_RANGE_START; 99 + if (__atomic_load_n(&port_state[tcp_port - TCP_LOCAL_PORT_RANGE_START], __ATOMIC_ACQUIRE) ==… 101 … if (port_in_stack_queue(pcb->remote_ip.addr, pcb->local_ip.addr, pcb->remote_port, tcp_port)) { 102 + tmp_port = tcp_port; [all …]
|
D | 0015-fix-tcp-port-alloc-issue.patch | 26 + tmp_port = tcp_port; 29 - return tcp_port;
|
D | 0080-enable-ipv6.patch | 170 … if (__atomic_load_n(&port_state[tcp_port - TCP_LOCAL_PORT_RANGE_START], __ATOMIC_ACQUIRE) == 0) { 172 … if (port_in_stack_queue(pcb->remote_ip.addr, pcb->local_ip.addr, pcb->remote_port, tcp_port)) { 173 + if (port_in_stack_queue(pcb->remote_ip, pcb->local_ip, pcb->remote_port, tcp_port)) { 174 tmp_port = tcp_port; 175 … __atomic_store_n(&port_state[tcp_port - TCP_LOCAL_PORT_RANGE_START], 1, __ATOMIC_RELEASE);
|
D | 0053-cleancode-improve-lwipopts.h-readability.patch | 639 tcp_port = TCP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); 761 … if (__atomic_load_n(&port_state[tcp_port - TCP_LOCAL_PORT_RANGE_START], __ATOMIC_ACQUIRE) == 0) { 764 … if (port_in_stack_queue(pcb->remote_ip.addr, pcb->local_ip.addr, pcb->remote_port, tcp_port)) { 765 tmp_port = tcp_port; 766 … __atomic_store_n(&port_state[tcp_port - TCP_LOCAL_PORT_RANGE_START], 1, __ATOMIC_RELEASE);
|
/third_party/lwip/src/core/distributed_net/ |
D | distributed_net.c | 53 static int try_connect_to_local_tcp_server(u16_t tcp_port) in try_connect_to_local_tcp_server() argument 57 INIT_SOCK_ADDR(&addr, LOCAL_SERVER_IP, tcp_port); in try_connect_to_local_tcp_server() 114 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() 126 if (try_connect_to_local_tcp_server(tcp_port) < 0) { in enable_distributed_net() 133 g_local_tcp_server_port = tcp_port; in enable_distributed_net()
|
/third_party/node/deps/cares/src/lib/ |
D | ares_options.c | 120 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()
|
D | ares_init.c | 134 channel->tcp_port = -1; in ares_init_options() 302 (src->servers[i].addr.tcp_port != 0)) { in ares_dup() 363 options->tcp_port = ntohs(aresx_sitous(channel->tcp_port)); in ares_save_options() 373 (channel->servers[i].addr.tcp_port == 0)) in ares_save_options() 384 (channel->servers[i].addr.tcp_port == 0)) in ares_save_options() 466 if ((optmask & ARES_OPT_TCP_PORT) && channel->tcp_port == -1) in init_by_options() 467 channel->tcp_port = htons(options->tcp_port); in init_by_options() 497 channel->servers[i].addr.tcp_port = 0; in init_by_options() 1174 pserver->addr.tcp_port = addr_in->sin_port; in init_by_resolv_conf() 1183 pserver->addr.tcp_port = addr_in->sin6_port; in init_by_resolv_conf() [all …]
|
D | ares_private.h | 144 int tcp_port; /* stored in network order */ member 274 int tcp_port; /* stored in network order */ member
|
D | ares_process.c | 1093 if (server->addr.tcp_port) { in open_tcp_socket() 1094 saddr.sa4.sin_port = aresx_sitous(server->addr.tcp_port); in open_tcp_socket() 1096 saddr.sa4.sin_port = aresx_sitous(channel->tcp_port); in open_tcp_socket() 1106 if (server->addr.tcp_port) { in open_tcp_socket() 1107 saddr.sa6.sin6_port = aresx_sitous(server->addr.tcp_port); in open_tcp_socket() 1109 saddr.sa6.sin6_port = aresx_sitous(channel->tcp_port); in open_tcp_socket()
|
D | ares_data.c | 222 ptr->data.addr_port_node.tcp_port = 0; in ares_malloc_data()
|
/third_party/pulseaudio/src/modules/dbus/ |
D | module-dbus-protocol.c | 65 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/ |
D | netstress.c | 81 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/ |
D | distributed_net.h | 77 int enable_distributed_net(u16_t tcp_port, u16_t udp_port);
|
/third_party/node/deps/v8/src/debug/wasm/gdb-server/ |
D | transport.cc | 24 SocketBinding SocketBinding::Bind(uint16_t tcp_port) { in Bind() argument 36 sockaddr.sin_port = htons(tcp_port); in Bind()
|
D | transport.h | 58 static SocketBinding Bind(uint16_t tcp_port);
|
/third_party/lwip/src/core/ |
D | tcp.c | 162 static volatile u16_t tcp_port = TCP_LOCAL_PORT_RANGE_START; variable 218 tcp_port = TCP_ENSURE_LOCAL_PORT_RANGE(LWIP_RAND()); in tcp_init() 1184 tcp_port++; 1185 if (tcp_port == TCP_LOCAL_PORT_RANGE_END) { 1186 tcp_port = TCP_LOCAL_PORT_RANGE_START; 1191 if (pcb->local_port == tcp_port) { 1200 return tcp_port;
|
/third_party/cares/include/ |
D | ares.h | 265 unsigned short tcp_port; member 725 int tcp_port; member
|
/third_party/node/deps/cares/include/ |
D | ares.h | 274 unsigned short tcp_port; member 735 int tcp_port; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | dpp_supplicant.c | 442 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/ |
D | dpp_hostapd.c | 557 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() 2369 config.tcp_port = atoi(pos); in hostapd_dpp_controller_start()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | dpp.h | 277 int tcp_port; member
|
/third_party/node/deps/cares/src/tools/ |
D | adig.c | 298 options.tcp_port = (unsigned short)strtol(optarg, NULL, 0); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp.h | 397 int tcp_port; member
|
D | dpp_tcp.c | 1694 port = config->tcp_port ? config->tcp_port : DPP_TCP_PORT; in dpp_controller_start()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | dpp_supplicant.c | 756 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() 3496 config.tcp_port = atoi(pos); in wpas_dpp_controller_start()
|