Home
last modified time | relevance | path

Searched refs:remote_ip (Results 1 – 25 of 35) sorted by relevance

12

/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_tcp.c184 value->u32 = ip_2_ip4(&pcb->remote_ip)->addr; in tcp_ConnTable_get_cell_value_core()
207 ip4_addr_t remote_ip; in tcp_ConnTable_get_cell_value() local
220 …snmp_oid_to_ip4(&row_oid[5], &remote_ip); /* we know it succeeds because of oid_in_range check abo… 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()
239 if (IP_IS_V4_VAL(pcb->remote_ip) && 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()
281 if (IP_IS_V6_VAL(pcb->remote_ip)) { /* should never happen */ in tcp_ConnTable_get_next_cell_instance_and_value()
284 snmp_ip4_to_oid(ip_2_ip4(&pcb->remote_ip), &test_oid[5]); in tcp_ConnTable_get_next_cell_instance_and_value()
332 ip_addr_t local_ip, remote_ip; 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()
[all …]
Dsnmp_mib2_udp.c120 ip_addr_t local_ip, remote_ip; 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()
152 ip_addr_cmp(&remote_ip, &pcb->remote_ip) && 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/lwip/src/core/
Draw.c169 ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()))) { in raw_input()
284 ip_addr_set_ipaddr(&pcb->remote_ip, ipaddr); in raw_connect()
288 if (IP_IS_V6(&pcb->remote_ip) && in raw_connect()
289 ip6_addr_lacks_zone(ip_2_ip6(&pcb->remote_ip), IP6_UNKNOWN)) { in raw_connect()
290 ip6_addr_select_zone(ip_2_ip6(&pcb->remote_ip), ip_2_ip6(&pcb->local_ip)); in raw_connect()
310 ip_addr_copy(pcb->remote_ip, *IP_ANY_TYPE); in raw_disconnect()
313 ip_addr_set_any(IP_IS_V6_VAL(pcb->remote_ip), &pcb->remote_ip); in raw_disconnect()
548 return raw_sendto(pcb, p, &pcb->remote_ip); in raw_send()
642 IP_SET_TYPE_VAL(pcb->remote_ip, type); in raw_new_ip_type()
Dudp.c258 ip_addr_debug_print_val(UDP_DEBUG, pcb->remote_ip); in udp_input()
290 (ip_addr_isany_val(pcb->remote_ip) || in udp_input()
291 ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()))) { in udp_input()
476 if (IP_IS_ANY_TYPE_VAL(pcb->remote_ip)) { in udp_send()
481 return udp_sendto(pcb, p, &pcb->remote_ip, pcb->remote_port); in udp_send()
495 if (IP_IS_ANY_TYPE_VAL(pcb->remote_ip)) { in udp_send_chksum()
500 return udp_sendto_chksum(pcb, p, &pcb->remote_ip, pcb->remote_port, in udp_send_chksum()
1095 ip_addr_set_ipaddr(&pcb->remote_ip, ipaddr); in udp_connect()
1099 if (IP_IS_V6(&pcb->remote_ip) && in udp_connect()
1100 ip6_addr_lacks_zone(ip_2_ip6(&pcb->remote_ip), IP6_UNKNOWN)) { in udp_connect()
[all …]
Dtcp.c360 tcp_rst(pcb, pcb->snd_nxt, pcb->rcv_nxt, &pcb->local_ip, &pcb->remote_ip, in tcp_close_shutdown()
618 tcp_rst(pcb, seqno, ackno, &pcb->local_ip, &pcb->remote_ip, local_port, pcb->remote_port); in tcp_abandon()
897 IP_SET_TYPE_VAL(lpcb->remote_ip, pcb->local_ip.type); in tcp_listen_with_backlog_and_err()
1084 ip_addr_set(&pcb->remote_ip, ipaddr); in tcp_connect()
1091 netif = ip_route(&pcb->local_ip, &pcb->remote_ip); in tcp_connect()
1110 if (IP_IS_V6(&pcb->remote_ip) && in tcp_connect()
1111 ip6_addr_lacks_zone(ip_2_ip6(&pcb->remote_ip), IP6_UNICAST)) { in tcp_connect()
1112 ip6_addr_assign_zone(ip_2_ip6(&pcb->remote_ip), IP6_UNICAST, netif); in tcp_connect()
1135 ip_addr_cmp(&cpcb->remote_ip, ipaddr)) { in tcp_connect()
1160 pcb->mss = tcp_eff_send_mss_netif(pcb->mss, netif, &pcb->remote_ip); in tcp_connect()
[all …]
Dtcp_out.c1291 netif = tcp_route(pcb, &pcb->local_ip, &pcb->remote_ip); in tcp_output()
1298 const ip_addr_t *local_ip = ip_netif_get_local_ip(netif, &pcb->remote_ip); in tcp_output()
1501 mss = tcp_eff_send_mss_netif(TCP_MSS, netif, &pcb->remote_ip); in tcp_output_segment()
1573 seg->p->tot_len, &pcb->local_ip, &pcb->remote_ip); in tcp_output_segment()
1582 … seg->p->tot_len, TCPH_HDRLEN_BYTES(seg->tcphdr), &pcb->local_ip, &pcb->remote_ip); in tcp_output_segment()
1601 seg->p->tot_len, &pcb->local_ip, &pcb->remote_ip); in tcp_output_segment()
1608 err = ip_output_if(seg->p, &pcb->local_ip, &pcb->remote_ip, pcb->ttl, in tcp_output_segment()
1982 const ip_addr_t *local_ip, const ip_addr_t *remote_ip, in tcp_rst() argument
1990 LWIP_ASSERT("tcp_rst: invalid remote_ip", remote_ip != NULL); in tcp_rst()
2010 tcp_output_control_segment(pcb, p, local_ip, remote_ip); in tcp_rst()
[all …]
Dtcp_in.c264 ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) &&
297 ip_addr_cmp(&pcb->remote_ip, ip_current_src_addr()) &&
677 ip_addr_copy(npcb->remote_ip, *ip_current_src_addr());
706 npcb->mss = tcp_eff_send_mss(npcb->mss, &npcb->local_ip, &npcb->remote_ip);
870 pcb->mss = tcp_eff_send_mss(pcb->mss, &pcb->local_ip, &pcb->remote_ip);
/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
165 ip_addr_copy(pcb->remote_ip, *remote_ip); in tcp_set_state()
175 ip_addr_copy(pcb->remote_ip, *remote_ip); in tcp_set_state()
Dtcp_helper.h46 const ip_addr_t* remote_ip, u16_t local_port, u16_t remote_port);
/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 …ects":0,"proxy_ssl_verify_result":0,"redirect_url":null,"referer":null,"remote_ip":"%HOSTIP","remo…
/third_party/lwip/src/apps/lwiperf/
Dlwiperf.c242 &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
395 LWIP_ASSERT("remote_ip != NULL", remote_ip != NULL); in lwiperf_tx_start_impl()
404 newpcb = tcp_new_ip_type(IP_GET_TYPE(remote_ip)); in lwiperf_tx_start_impl()
426 ip_addr_copy(remote_addr, *remote_ip); in lwiperf_tx_start_impl()
445 …ret = lwiperf_tx_start_impl(&conn->conn_pcb->remote_ip, remote_port, &conn->settings, conn->report… in lwiperf_tx_start_passive()
605 if (!ip_addr_cmp(&newpcb->remote_ip, &s->remote_addr)) { in lwiperf_tcp_accept()
803 server->remote_addr = state->conn_pcb->remote_ip; in lwiperf_start_tcp_client()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_ctrl.c65 char *remote_ip; member
436 ctrl->remote_ip = os_strdup(name); in wpa_ctrl_open()
441 os_free(ctrl->remote_ip); in wpa_ctrl_open()
454 ctrl->remote_ip = os_strdup("localhost"); in wpa_ctrl_open()
473 os_free(ctrl->remote_ip); in wpa_ctrl_open()
498 ctrl->remote_ip, ctrl->remote_ifname); in wpa_ctrl_get_remote_ifname()
508 os_free(ctrl->remote_ip); in wpa_ctrl_close()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_ctrl.c65 char *remote_ip; member
437 ctrl->remote_ip = os_strdup(name); in wpa_ctrl_open()
442 os_free(ctrl->remote_ip); in wpa_ctrl_open()
455 ctrl->remote_ip = os_strdup("localhost"); in wpa_ctrl_open()
474 os_free(ctrl->remote_ip); in wpa_ctrl_open()
499 ctrl->remote_ip, ctrl->remote_ifname); in wpa_ctrl_get_remote_ifname()
509 os_free(ctrl->remote_ip); in wpa_ctrl_close()
/third_party/toybox/toys/pending/
Dlsof.c177 char remote_ip[INET6_ADDRSTRLEN] = {0}; in scan_ip() local
202 inet_ntop(af, &remote, remote_ip, sizeof(remote_ip)); 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);
Dsockets_stresstest.c695 sockets_stresstest_init_client(const char *remote_ip, u16_t remote_port) in sockets_stresstest_init_client() argument
708 if (ip4addr_aton(remote_ip, &ip4)) { in sockets_stresstest_init_client()
717 if (ip6addr_aton(remote_ip, &ip6)) { in sockets_stresstest_init_client()
/third_party/lwip/src/include/netif/ppp/
Dpppol2tp.h173 ip_addr_t remote_ip; /* LNS IP Address */ member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspconnection.c183 gchar *remote_ip; member
490 newconn->remote_ip = g_strdup (ip); in gst_rtsp_connection_create_from_socket()
893 g_free (conn->remote_ip); in setup_tunneling()
894 conn->remote_ip = g_strdup (value); in setup_tunneling()
917 g_free (conn->remote_ip); in setup_tunneling()
918 conn->remote_ip = NULL; in setup_tunneling()
920 if (!collect_addresses (socket, &conn->remote_ip, NULL, TRUE, &error)) in setup_tunneling()
1032 gchar *connection_uri, *request_uri, *remote_ip; in gst_rtsp_connection_connect_with_response_usec() local
1073 if (!collect_addresses (socket, &remote_ip, NULL, TRUE, &error)) in gst_rtsp_connection_connect_with_response_usec()
1076 g_free (conn->remote_ip); in gst_rtsp_connection_connect_with_response_usec()
[all …]
/third_party/libsoup/libsoup/
Dsoup-server.c141 char *remote_ip; member
1244 g_clear_pointer (&client->remote_ip, g_free); in soup_client_context_unref()
2428 if (client->remote_ip) in soup_client_context_get_host()
2429 return client->remote_ip; in soup_client_context_get_host()
2438 client->remote_ip = g_inet_address_to_string (iaddr); in soup_client_context_get_host()
2445 client->remote_ip = g_strdup (soup_address_get_physical (addr)); in soup_client_context_get_host()
2448 return client->remote_ip; in soup_client_context_get_host()
/third_party/lwip/src/netif/ppp/
Dpppol2tp.c146 ip_addr_copy(l2tp->remote_ip, *ipaddr); in pppol2tp_create()
356 if (!ip_addr_cmp(&l2tp->remote_ip, addr)) { in pppol2tp_input()
1151 err = udp_sendto_if(l2tp->udp, pb, &l2tp->remote_ip, l2tp->tunnel_port, l2tp->netif); in pppol2tp_udp_send()
1153 err = udp_sendto(l2tp->udp, pb, &l2tp->remote_ip, l2tp->tunnel_port); in pppol2tp_udp_send()
/third_party/lwip/src/apps/smtp/
Dsmtp.c457 smtp_setup_pcb(struct smtp_session *s, const ip_addr_t* remote_ip) in smtp_setup_pcb() argument
460 LWIP_UNUSED_ARG(remote_ip); in smtp_setup_pcb()
464 pcb = altcp_tls_new(smtp_server_tls_config, IP_GET_TYPE(remote_ip)); in smtp_setup_pcb()
468 pcb = altcp_tcp_new_ip_type(IP_GET_TYPE(remote_ip)); in smtp_setup_pcb()
/third_party/lwip/src/include/lwip/
Daltcp.h198 #define altcp_get_ip(pcb, local) ((local) ? (&(pcb)->local_ip) : (&(pcb)->remote_ip))
Dip.h79 ip_addr_t remote_ip; \
/third_party/curl/docs/cmdline-opts/
Dwrite-out.d99 .B remote_ip

12