Home
last modified time | relevance | path

Searched refs:src_ip (Results 1 – 16 of 16) sorted by relevance

/third_party/lwip/src/core/
Draw.c357 const ip_addr_t *src_ip; in raw_sendto() local
392 src_ip = ip_netif_get_local_ip(netif, ipaddr); in raw_sendto()
394 if (src_ip == NULL) { in raw_sendto()
400 src_ip = &pcb->local_ip; in raw_sendto()
403 return raw_sendto_if_src(pcb, p, ipaddr, netif, src_ip); in raw_sendto()
421 struct netif *netif, const ip_addr_t *src_ip) in raw_sendto_if_src() argument
430 if ((pcb == NULL) || (dst_ip == NULL) || (netif == NULL) || (src_ip == NULL) || in raw_sendto_if_src()
431 !IP_ADDR_PCB_VERSION_MATCH(pcb, src_ip) || !IP_ADDR_PCB_VERSION_MATCH(pcb, dst_ip)) { in raw_sendto_if_src()
454 err = ip_output_if_hdrincl(p, src_ip, dst_ip, netif); in raw_sendto_if_src()
512 …u16_t chksum = ip6_chksum_pseudo(p, pcb->protocol, p->tot_len, ip_2_ip6(src_ip), ip_2_ip6(dst_ip)); in raw_sendto_if_src()
[all …]
Dudp.c642 const ip_addr_t *src_ip; in udp_sendto_if_chksum() local
658 src_ip = ip6_select_source_address(netif, ip_2_ip6(dst_ip)); in udp_sendto_if_chksum()
659 if (src_ip == NULL) { in udp_sendto_if_chksum()
669 src_ip = &pcb->local_ip; in udp_sendto_if_chksum()
681 src_ip = netif_ip_addr4(netif); in udp_sendto_if_chksum()
690 src_ip = &pcb->local_ip; in udp_sendto_if_chksum()
694 return udp_sendto_if_src_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum, src_ip); in udp_sendto_if_chksum()
696 return udp_sendto_if_src(pcb, p, dst_ip, dst_port, netif, src_ip); in udp_sendto_if_chksum()
704 … const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip) in udp_sendto_if_src() argument
707 return udp_sendto_if_src_chksum(pcb, p, dst_ip, dst_port, netif, 0, 0, src_ip); in udp_sendto_if_src()
[all …]
/third_party/lwip/test/unit/tcp/
Dtcp_helper.c47 tcp_create_segment_wnd(ip_addr_t* src_ip, ip_addr_t* dst_ip, in tcp_create_segment_wnd() argument
73 iphdr->src.addr = ip_2_ip4(src_ip)->addr; in tcp_create_segment_wnd()
103 IP_PROTO_TCP, p->tot_len, src_ip, dst_ip); in tcp_create_segment_wnd()
112 tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip, in tcp_create_segment() argument
116 return tcp_create_segment_wnd(src_ip, dst_ip, src_port, dst_port, data, in tcp_create_segment()
Dtcp_helper.h38 struct pbuf* tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip,
/third_party/toybox/toys/pending/
Dtraceroute.c55 char *src_ip;
585 if (!inet_aton(TT.src_ip, &(source.sin_addr))) in traceroute_main()
586 error_exit("bad address: %s", TT.src_ip); in traceroute_main()
606 if(inet_pton(AF_INET6, TT.src_ip, &(source.sin6_addr)) <= 0) in traceroute_main()
607 error_exit("bad address: %s", TT.src_ip); in traceroute_main()
631 if (toys.optflags & FLAG_s) xprintf(" from %s",TT.src_ip); in traceroute_main()
Darping.c39 char *src_ip;
230 if ((toys.optflags & FLAG_s) && !(inet_aton(TT.src_ip, &src_addr))) in arping_main()
231 perror_exit("invalid source address '%s'",TT.src_ip); in arping_main()
/third_party/gstreamer/gstplugins_bad/gst/pcapparse/
Dgstpcapparse.c181 self->src_ip = -1; in gst_pcap_parse_init()
236 g_value_set_string (value, get_ip_address_as_string (self->src_ip)); in gst_pcap_parse_get_property()
273 set_ip_address_from_string (&self->src_ip, g_value_get_string (value)); in gst_pcap_parse_set_property()
481 if (self->src_ip >= 0 && ip_src_addr != self->src_ip) in gst_pcap_parse_scan_frame()
Dgstpcapparse.h70 gint64 src_ip; member
/third_party/lwip/src/include/lwip/
Dudp.h135 struct netif *netif, const ip_addr_t *src_ip);
152 u8_t have_chksum, u16_t chksum, const ip_addr_t *src_ip);
Draw.h113 …w_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, struct netif *netif, const ip_addr_t *src_ip);
/third_party/iptables/extensions/
Dlibarpt_mangle.c67 mangle->u_s.src_ip.s_addr = ipaddr->s_addr; in arpmangle_parse()
149 ipaddr_to(&(m->u_s.src_ip), numeric)); in arpmangle_print()
/third_party/iptables/include/linux/netfilter_arp/
Darpt_mangle.h11 struct in_addr src_ip; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Drobust_av.c60 wpabuf_put_data(buf, &type4_param->ip_params.v4.src_ip.s_addr, in wpas_populate_type4_classifier()
71 wpabuf_put_data(buf, &type4_param->ip_params.v6.src_ip.s6_addr, in wpas_populate_type4_classifier()
716 if (!inet_ntop(AF_INET, &v4->src_ip, addr, INET_ADDRSTRLEN)) { in write_ipv4_info()
785 if (!inet_ntop(AF_INET6, &v6->src_ip, addr, INET6_ADDRSTRLEN)) { in write_ipv6_info()
880 os_memcpy(&type4_param->ip_params.v4.src_ip, in set_frame_classifier_type4_ipv4()
947 os_memcpy(&type4_param->ip_params.v6.src_ip, in set_frame_classifier_type4_ipv6()
Dwpa_supplicant_i.h601 struct in_addr src_ip; member
612 struct in6_addr src_ip; member
Dctrl_iface.c10973 &param->ip_params.v4.src_ip); in set_type4_frame_classifier()
10976 &param->ip_params.v6.src_ip); in set_type4_frame_classifier()
/third_party/toybox/generated/
Dglobals.h467 char *src_ip; member
928 char *src_ip; member