Home
last modified time | relevance | path

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

12

/third_party/lwip/src/core/
Draw.c365 const ip_addr_t *src_ip; in raw_sendto() local
415 src_ip = ip_netif_get_local_ip(netif, ipaddr); in raw_sendto()
417 if (src_ip == NULL) { in raw_sendto()
423 src_ip = &pcb->local_ip; in raw_sendto()
426 return raw_sendto_if_src(pcb, p, ipaddr, netif, src_ip); in raw_sendto()
444 struct netif *netif, const ip_addr_t *src_ip) in raw_sendto_if_src() argument
453 if ((pcb == NULL) || (dst_ip == NULL) || (netif == NULL) || (src_ip == NULL) || in raw_sendto_if_src()
454 !IP_ADDR_PCB_VERSION_MATCH(pcb, src_ip) || !IP_ADDR_PCB_VERSION_MATCH(pcb, dst_ip)) { in raw_sendto_if_src()
477 err = ip_output_if_hdrincl(p, src_ip, dst_ip, netif); in raw_sendto_if_src()
535 …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.c684 const ip_addr_t *src_ip; local
700 src_ip = ip6_select_source_address(netif, ip_2_ip6(dst_ip));
701 if (src_ip == NULL) {
711 src_ip = &pcb->local_ip;
723 src_ip = netif_ip_addr4(netif);
732 src_ip = &pcb->local_ip;
736 return udp_sendto_if_src_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum, src_ip);
738 return udp_sendto_if_src(pcb, p, dst_ip, dst_port, netif, src_ip);
746 … const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip) argument
749 return udp_sendto_if_src_chksum(pcb, p, dst_ip, dst_port, netif, 0, 0, src_ip);
[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;
584 if (!inet_aton(TT.src_ip, &(source.sin_addr))) in traceroute_main()
585 error_exit("bad address: %s", TT.src_ip); in traceroute_main()
605 if(inet_pton(AF_INET6, TT.src_ip, &(source.sin6_addr)) <= 0) in traceroute_main()
606 error_exit("bad address: %s", TT.src_ip); in traceroute_main()
630 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/rust/crates/bindgen/bindgen-tests/tests/headers/
Dlayout_eth_conf.h231 uint32_t src_ip; /**< IPv4 source address in big endian. */ member
242 uint32_t src_ip[4]; /**< IPv6 source address in big endian. */ member
Dlayout_eth_conf_1_0.h232 uint32_t src_ip; /**< IPv4 source address in big endian. */ member
243 uint32_t src_ip[4]; /**< IPv6 source address in big endian. */ member
/third_party/lwip/src/include/lwip/
Dudp.h139 struct netif *netif, const ip_addr_t *src_ip);
156 u8_t have_chksum, u16_t chksum, const ip_addr_t *src_ip);
Draw.h117 …w_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, struct netif *netif, const ip_addr_t *src_ip);
/third_party/lwip/
D0070-add-CHECKSUM_UDP-when-not-support-OFFLOAD_UDP_CHECKS.patch63 + src_ip, dst_ip);
67 src_ip, dst_ip);
80 err = ip_output_if_src(q, src_ip, dst_ip, ttl, pcb->tos, ip_proto, netif);
D0080-enable-ipv6.patch275 - qtuple.src_ip = pcb->local_ip.addr;
281 + qtuple.src_ip = ip_2_ip4(&pcb->local_ip)->addr;
406 uint32_t src_ip;
419 -extern bool port_in_stack_queue(uint32_t src_ip, uint32_t dst_ip, uint16_t src_port, uint16_t dst_…
420 +extern bool port_in_stack_queue(ip_addr_t src_ip, ip_addr_t dst_ip, uint16_t src_port, uint16_t ds…
D0030-refactor-tcp-new-port.patch190 +extern bool port_in_stack_queue(uint32_t src_ip, uint32_t dst_ip, uint16_t src_port, uint16_t dst_…
D0060-lwip-add-udp-multicast.patch191 err = ip_output_if_src(q, src_ip, dst_ip, ttl, pcb->tos, ip_proto, netif);
D0016-lstack-support-mysql-mode.patch826 qtuple.src_ip = pcb->local_ip.addr;
D0002-adapt-lstack.patch4255 + qtuple.src_ip = pcb->local_ip.addr;
5543 + uint32_t src_ip;
/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.h609 struct in_addr src_ip; member
620 struct in6_addr src_ip; member
Dctrl_iface.c11048 &param->ip_params.v4.src_ip); in set_type4_frame_classifier()
11051 &param->ip_params.v6.src_ip); in set_type4_frame_classifier()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dlayout_eth_conf_1_0.rs1327 pub src_ip: u32, field
1353 unsafe { ::std::ptr::addr_of!((*ptr).src_ip) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv4_flow()
1359 stringify!(src_ip) in bindgen_test_layout_rte_eth_ipv4_flow()
1413 pub src_ip: [u32; 4usize], field
1439 unsafe { ::std::ptr::addr_of!((*ptr).src_ip) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv6_flow()
1445 stringify!(src_ip) in bindgen_test_layout_rte_eth_ipv6_flow()
Dlayout_eth_conf.rs1229 pub src_ip: u32, field
1255 unsafe { ::std::ptr::addr_of!((*ptr).src_ip) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv4_flow()
1261 stringify!(src_ip) in bindgen_test_layout_rte_eth_ipv4_flow()
1310 pub src_ip: [u32; 4usize], field
1336 unsafe { ::std::ptr::addr_of!((*ptr).src_ip) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv6_flow()
1342 stringify!(src_ip) in bindgen_test_layout_rte_eth_ipv6_flow()
/third_party/toybox/generated/
Dglobals.h485 char *src_ip; member
982 char *src_ip; member
/third_party/libabigail/tests/data/test-diff-dwarf-abixml/
DPR25409-librte_bus_dpaa.so.20.0.abi3625 …<var-decl name='src_ip' type-id='type-id-7' visibility='default' filepath='../../dpdk/lib/librte_e…
3642 …<var-decl name='src_ip' type-id='type-id-373' visibility='default' filepath='../../dpdk/lib/librte…

12