Home
last modified time | relevance | path

Searched refs:remote_port (Results 1 – 25 of 55) sorted by relevance

123

/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_tcp.c191 value->u32 = pcb->remote_port; in tcp_ConnTable_get_cell_value_core()
209 u16_t remote_port; in tcp_ConnTable_get_cell_value() local
221 remote_port = (u16_t)row_oid[9]; in tcp_ConnTable_get_cell_value()
234 if (ip4_addr_cmp(&remote_ip, IP4_ADDR_ANY4) && (remote_port == 0)) { in tcp_ConnTable_get_cell_value()
240 … ip4_addr_cmp(&remote_ip, ip_2_ip4(&pcb->remote_ip)) && (remote_port == pcb->remote_port)) { in tcp_ConnTable_get_cell_value()
285 test_oid[9] = pcb->remote_port; in tcp_ConnTable_get_next_cell_instance_and_value()
333 u16_t local_port, remote_port; in tcp_ConnectionTable_get_cell_value() local
348 idx += snmp_oid_to_ip_port(&row_oid[idx], row_oid_len - idx, &remote_ip, &remote_port); in tcp_ConnectionTable_get_cell_value()
361 (remote_port == pcb->remote_port)) { in tcp_ConnectionTable_get_cell_value()
401 idx += snmp_ip_port_to_oid(&pcb->remote_ip, pcb->remote_port, &test_oid[idx]); in tcp_ConnectionTable_get_next_cell_instance_and_value()
Dsnmp_mib2_udp.c121 u16_t local_port, remote_port; in udp_endpointTable_get_cell_value() local
134 idx += snmp_oid_to_ip_port(&row_oid[idx], row_oid_len - idx, &remote_ip, &remote_port); in udp_endpointTable_get_cell_value()
153 (remote_port == pcb->remote_port)) { in udp_endpointTable_get_cell_value()
190 idx += snmp_ip_port_to_oid(&pcb->remote_ip, pcb->remote_port, &test_oid[idx]); in udp_endpointTable_get_next_cell_instance_and_value()
/third_party/curl/lib/
Dsocks.c190 int remote_port, in Curl_SOCKS4() argument
218 protocol4a ? "a" : "", hostname, remote_port); in Curl_SOCKS4()
220 infof(data, "SOCKS4 communication to %s:%d", hostname, remote_port); in Curl_SOCKS4()
235 socksreq[2] = (unsigned char)((remote_port >> 8) & 0xff); /* PORT MSB */ in Curl_SOCKS4()
236 socksreq[3] = (unsigned char)(remote_port & 0xff); /* PORT LSB */ in Curl_SOCKS4()
241 Curl_resolv(data, hostname, remote_port, FALSE, &dns); in Curl_SOCKS4()
489 int remote_port, in Curl_SOCKS5() argument
534 hostname, remote_port); in Curl_SOCKS5()
759 enum resolve_t rc = Curl_resolv(data, hostname, remote_port, in Curl_SOCKS5()
776 dns = Curl_fetch_addr(data, hostname, remote_port); in Curl_SOCKS5()
[all …]
Dhttp_proxy.c94 int remote_port; in Curl_proxy_connect() local
111 remote_port = conn->secondary_port; in Curl_proxy_connect()
113 remote_port = conn->conn_to_port; in Curl_proxy_connect()
115 remote_port = conn->remote_port; in Curl_proxy_connect()
117 result = Curl_proxyCONNECT(data, sockindex, hostname, remote_port); in Curl_proxy_connect()
219 int remote_port, in CONNECT_host() argument
232 remote_port); in CONNECT_host()
252 int remote_port) in CONNECT() argument
281 hostname, remote_port); in CONNECT()
293 hostname, remote_port, &hostheader, &host); in CONNECT()
[all …]
Dsocks.h53 int remote_port,
65 int remote_port,
Dhttp_proxy.h32 const char *hostname, int remote_port);
Durl.c1383 needle->remote_port == check->remote_port) { in ConnectionExists()
1717 conn->remote_port = -1; /* unknown at this point */ in allocate_conn()
2149 conn->port = conn->remote_port =
2922 conn->remote_port = (unsigned short)data->set.use_port;
2923 msnprintf(portbuf, sizeof(portbuf), "%d", conn->remote_port);
3216 if((endp == ptr_next) && (port_to_match == conn->remote_port)) {
3305 srcalpnid, host, conn->remote_port, /* from */
3313 srcalpnid, host, conn->remote_port, /* from */
3328 Curl_alpnid2str(srcalpnid), host, conn->remote_port,
3424 conn->port = conn->remote_port;
[all …]
/third_party/lwip/test/unit/tcp/
Dtcp_helper.c128 return tcp_create_segment(&pcb->remote_ip, &pcb->local_ip, pcb->remote_port, pcb->local_port, in tcp_create_rx_segment()
140 return tcp_create_segment_wnd(&pcb->remote_ip, &pcb->local_ip, pcb->remote_port, pcb->local_port, in tcp_create_rx_segment_wnd()
147 const ip_addr_t* remote_ip, u16_t local_port, u16_t remote_port) in tcp_set_state() argument
166 pcb->remote_port = remote_port; in tcp_set_state()
176 pcb->remote_port = remote_port; in tcp_set_state()
Dtcp_helper.h46 const ip_addr_t* remote_ip, u16_t local_port, u16_t remote_port);
/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c93 u32_t remote_port; member
242 &conn->conn_pcb->remote_ip, conn->conn_pcb->remote_port, in lwip_tcp_conn_report()
387 lwiperf_tx_start_impl(const ip_addr_t *remote_ip, u16_t remote_port, lwiperf_settings_t *settings, … in lwiperf_tx_start_impl() argument
428 err = tcp_connect(newpcb, &remote_addr, remote_port, lwiperf_tcp_client_connected); in lwiperf_tx_start_impl()
443 u16_t remote_port = (u16_t)lwip_htonl(conn->settings.remote_port); in lwiperf_tx_start_passive() local
445 …ret = lwiperf_tx_start_impl(&conn->conn_pcb->remote_ip, remote_port, &conn->settings, conn->report… in lwiperf_tx_start_passive()
758 void* lwiperf_start_tcp_client(const ip_addr_t* remote_addr, u16_t remote_port, in lwiperf_start_tcp_client() argument
784 settings.remote_port = htonl(LWIPERF_TCP_PORT_DEFAULT); in lwiperf_start_tcp_client()
788 …ret = lwiperf_tx_start_impl(remote_addr, remote_port, &settings, report_fn, report_arg, NULL, &sta… in lwiperf_start_tcp_client()
/third_party/lwip/src/include/lwip/apps/
Dlwiperf.h81 const ip_addr_t* local_addr, u16_t local_port, const ip_addr_t* remote_addr, u16_t remote_port,
87 void* lwiperf_start_tcp_client(const ip_addr_t* remote_addr, u16_t remote_port,
/third_party/gstreamer/gstreamer/libs/gst/net/
Dgstnetclientclock.h77 gint remote_port, GstClockTime base_time);
98 gint remote_port, GstClockTime base_time);
Dgstnetclientclock.c1443 gint remote_port, GstClockTime base_time) in gst_net_client_clock_new() argument
1448 g_return_val_if_fail (remote_port > 0, NULL); in gst_net_client_clock_new()
1449 g_return_val_if_fail (remote_port <= G_MAXUINT16, NULL); in gst_net_client_clock_new()
1454 remote_address, "port", remote_port, "base-time", base_time, NULL); in gst_net_client_clock_new()
1492 gint remote_port, GstClockTime base_time) in gst_ntp_clock_new() argument
1497 g_return_val_if_fail (remote_port > 0, NULL); in gst_ntp_clock_new()
1498 g_return_val_if_fail (remote_port <= G_MAXUINT16, NULL); in gst_ntp_clock_new()
1503 "port", remote_port, "base-time", base_time, NULL); in gst_ntp_clock_new()
/third_party/curl/tests/data/
Dtest122330 HTTP GET -w remote_ip and -w remote_port
33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w 'IP %{remote_ip} and PORT %{remote_port}\n'
Dtest97062 …fy_result":0,"redirect_url":null,"referer":null,"remote_ip":"%HOSTIP","remote_port":%HTTPPORT,"res…
/third_party/toybox/toys/pending/
Dlsof.c179 int local_port, remote_port, state; in scan_ip() local
186 &(remote.s6_addr32[0]), &remote_port, in scan_ip()
196 &remote_port, &state, &inode) == 12; in scan_ip()
208 local_ip, local_port, remote_ip, remote_port, in scan_ip()
213 local_ip, local_port, remote_ip, remote_port); in scan_ip()
/third_party/lwip/test/sockets/
Dsockets_stresstest.h38 void sockets_stresstest_init_client(const char *remote_ip, u16_t remote_port);
/third_party/lwip/src/core/
Dudp.c259 LWIP_DEBUGF(UDP_DEBUG, (", %"U16_F")\n", pcb->remote_port)); in udp_input()
289 if ((pcb->remote_port == src) && in udp_input()
481 return udp_sendto(pcb, p, &pcb->remote_ip, pcb->remote_port); in udp_send()
500 return udp_sendto_chksum(pcb, p, &pcb->remote_ip, pcb->remote_port, in udp_send_chksum()
1105 pcb->remote_port = port; in udp_connect()
1111 …LWIP_DEBUGF(UDP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_STATE, (", port %"U16_F")\n", pcb->remote_port)); in udp_connect()
1150 pcb->remote_port = 0; in udp_disconnect()
Dtcp.c361 pcb->local_port, pcb->remote_port); in tcp_close_shutdown()
618 tcp_rst(pcb, seqno, ackno, &pcb->local_ip, &pcb->remote_ip, local_port, pcb->remote_port); in tcp_abandon()
1085 pcb->remote_port = port; in tcp_connect()
1133 (cpcb->remote_port == port) && in tcp_connect()
1400 pcb->local_port, pcb->remote_port); in tcp_slowtmr()
2223 return LWIP_HOOK_TCP_ISN(&pcb->local_ip, pcb->local_port, &pcb->remote_ip, pcb->remote_port); in tcp_next_iss()
2379 *port = pcb->remote_port; in tcp_tcp_get_tcp_addrinfo()
2497 pcb->local_port, pcb->remote_port, in tcp_debug_print_pcbs()
2511 pcb->local_port, pcb->remote_port, in tcp_debug_print_pcbs()
/third_party/gstreamer/gstplugins_bad/ext/sctp/
Dsctpassociation.c230 self->remote_port = DEFAULT_REMOTE_SCTP_PORT; in gst_sctp_association_init()
285 self->remote_port = g_value_get_uint (value); in gst_sctp_association_set_property()
315 (self->local_port != 0 && self->remote_port != 0) in maybe_set_state_to_ready()
342 g_value_set_uint (value, self->remote_port); in gst_sctp_association_get_property()
489 remote_addr = get_sctp_socket_address (self, self->remote_port); in gst_sctp_association_send_data()
718 remote_addr = get_sctp_socket_address (self, self->remote_port); in client_role_connect()
Dsctpassociation.h78 guint16 remote_port; member
/third_party/curl/lib/vtls/
Dvtls.c421 int port = isProxy ? (int)conn->port : conn->remote_port; in Curl_ssl_getsessionid()
426 int port = conn->remote_port; in Curl_ssl_getsessionid()
461 (port == check->remote_port) && in Curl_ssl_getsessionid()
613 store->remote_port = isProxy ? (int)conn->port : conn->remote_port; in Curl_ssl_addsessionid()
625 store->scheme, store->name, store->remote_port, in Curl_ssl_addsessionid()
Dvtls.h160 (SSL_IS_PROXY() ? conn->port : conn->remote_port)
171 #define SSL_HOST_PORT() conn->remote_port
/third_party/lwip/src/include/netif/ppp/
Dpppol2tp.h174 u16_t remote_port; /* LNS port */ member
/third_party/lwip/src/include/lwip/
Dudp.h91 u16_t local_port, remote_port; member

123