Home
last modified time | relevance | path

Searched refs:dst_ip (Results 1 – 25 of 29) sorted by relevance

12

/third_party/lwip/src/core/
Dudp.c547 const ip_addr_t *dst_ip, u16_t dst_port) argument
550 return udp_sendto_chksum(pcb, p, dst_ip, dst_port, 0, 0);
556 udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, argument
564 LWIP_ERROR("udp_sendto: invalid dst_ip", dst_ip != NULL, return ERR_ARG);
566 if (!IP_ADDR_PCB_VERSION_MATCH(pcb, dst_ip)) {
585 if (ip_addr_ismulticast(dst_ip)) {
602 if (IP_IS_V4(dst_ip))
627 netif = ip_route(&pcb->local_ip, dst_ip, group);
629 netif = ip_route(&pcb->local_ip, dst_ip);
637 ip_addr_debug_print(UDP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, dst_ip);
[all …]
Draw.c443 raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_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()
460 IP_IS_V6(dst_ip) ? IP6_HLEN : IP_HLEN); in raw_sendto_if_src()
477 err = ip_output_if_hdrincl(p, src_ip, dst_ip, netif); in raw_sendto_if_src()
511 if (IP_IS_V4(dst_ip)) { in raw_sendto_if_src()
513 if (!ip_get_option(pcb, SOF_BROADCAST) && ip_addr_isbroadcast(dst_ip, netif)) { in raw_sendto_if_src()
526 if (((pcb->flags & RAW_FLAGS_MULTICAST_LOOP) != 0) && ip_addr_ismulticast(dst_ip)) { in raw_sendto_if_src()
534 if (IP_IS_V6(dst_ip) && pcb->chksum_reqd) { 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 …]
/third_party/lwip/src/include/lwip/
Dudp.h135 const ip_addr_t *dst_ip, u16_t dst_port,
138 const ip_addr_t *dst_ip, u16_t dst_port,
141 const ip_addr_t *dst_ip, u16_t dst_port);
146 const ip_addr_t *dst_ip, u16_t dst_port,
150 const ip_addr_t *dst_ip, u16_t dst_port,
155 const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif,
Draw.h117 err_t raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, st…
/third_party/lwip/src/apps/snmp/
Dsnmp_raw.c67 const ip_addr_t *dst_ip; in snmp_get_local_ip_for_dst() local
71 ip_route_get_local_ip(&udp_pcb->local_ip, dst, dst_if, dst_ip); in snmp_get_local_ip_for_dst()
73 if ((dst_if != NULL) && (dst_ip != NULL)) { in snmp_get_local_ip_for_dst()
74 ip_addr_copy(*result, *dst_ip); in snmp_get_local_ip_for_dst()
Dsnmp_netconn.c99 const ip_addr_t *dst_ip; in snmp_get_local_ip_for_dst() local
103 ip_route_get_local_ip(&conn->pcb.udp->local_ip, dst, dst_if, dst_ip); in snmp_get_local_ip_for_dst()
105 if ((dst_if != NULL) && (dst_ip != NULL)) { in snmp_get_local_ip_for_dst()
106 ip_addr_copy(*result, *dst_ip); in snmp_get_local_ip_for_dst()
/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
72 iphdr->dest.addr = ip_2_ip4(dst_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/lwip/
D0089-add-struct-gz-addr.patch88 uint32_t dst_ip;
94 -extern bool port_in_stack_queue(ip_addr_t src_ip, ip_addr_t dst_ip, uint16_t src_port, uint16_t ds…
95 +extern bool port_in_stack_queue(gz_addr_t *src_ip, gz_addr_t *dst_ip, uint16_t src_port, uint16_t …
D0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patch126 @@ -599,6 +599,7 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip,
134 … -611,14 +612,21 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip,
146 return udp_sendto_if_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum);
148 return udp_sendto_if(pcb, p, dst_ip, dst_port, netif);
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);
D0060-lwip-add-udp-multicast.patch159 … -608,11 +614,26 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip,
178 return udp_sendto_if_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum);
180 return udp_sendto_if(pcb, p, dst_ip, dst_port, netif);
191 err = ip_output_if_src(q, src_ip, dst_ip, ttl, pcb->tos, ip_proto, netif);
D0080-enable-ipv6.patch277 - qtuple.dst_ip = pcb->remote_ip.addr;
283 + qtuple.dst_ip = ip_2_ip4(&pcb->remote_ip)->addr;
407 uint32_t dst_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…
D0064-fix-udp-send-recv-in-multiple-queue.patch112 + pcb->remote_ip = *dst_ip;
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_…
D0050-lwip-reuse-ip-port.patch186 qtuple.dst_ip = pcb->remote_ip.addr;
D0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patch144 @@ -677,8 +677,8 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip,
D0053-cleancode-improve-lwipopts.h-readability.patch1551 qtuple.dst_ip = pcb->remote_ip.addr;
/third_party/ltp/testcases/network/stress/route/
Droute-change-netlink.c199 in_addr_t dst_ip, gw_ip; in rtnl_route() local
226 dst_ip = ((struct sockaddr_in *)dst->ai_addr)->sin_addr.s_addr; in rtnl_route()
227 mnl_attr_put_u32(nlh, RTA_DST, dst_ip); in rtnl_route()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
Dlayout_eth_conf.h232 uint32_t dst_ip; /**< IPv4 destination address in big endian. */ member
243 uint32_t dst_ip[4]; /**< IPv6 destination address in big endian. */ member
Dlayout_eth_conf_1_0.h233 uint32_t dst_ip; /**< IPv4 destination address in big endian. */ member
244 uint32_t dst_ip[4]; /**< IPv6 destination address in big endian. */ member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Drobust_av.c62 wpabuf_put_data(buf, &type4_param->ip_params.v4.dst_ip.s_addr, in wpas_populate_type4_classifier()
73 wpabuf_put_data(buf, &type4_param->ip_params.v6.dst_ip.s6_addr, in wpas_populate_type4_classifier()
731 if (!inet_ntop(AF_INET, &v4->dst_ip, addr, INET_ADDRSTRLEN)) { in write_ipv4_info()
800 if (!inet_ntop(AF_INET6, &v6->dst_ip, addr, INET6_ADDRSTRLEN)) { in write_ipv6_info()
893 os_memcpy(&type4_param->ip_params.v4.dst_ip, in set_frame_classifier_type4_ipv4()
959 os_memcpy(&type4_param->ip_params.v6.dst_ip, in set_frame_classifier_type4_ipv6()
Dwpa_supplicant_i.h610 struct in_addr dst_ip; member
621 struct in6_addr dst_ip; member
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dlayout_eth_conf_1_0.rs1329 pub dst_ip: u32, field
1363 unsafe { ::std::ptr::addr_of!((*ptr).dst_ip) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv4_flow()
1369 stringify!(dst_ip) in bindgen_test_layout_rte_eth_ipv4_flow()
1415 pub dst_ip: [u32; 4usize], field
1449 unsafe { ::std::ptr::addr_of!((*ptr).dst_ip) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv6_flow()
1455 stringify!(dst_ip) in bindgen_test_layout_rte_eth_ipv6_flow()
Dlayout_eth_conf.rs1231 pub dst_ip: u32, field
1265 unsafe { ::std::ptr::addr_of!((*ptr).dst_ip) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv4_flow()
1271 stringify!(dst_ip) in bindgen_test_layout_rte_eth_ipv4_flow()
1312 pub dst_ip: [u32; 4usize], field
1346 unsafe { ::std::ptr::addr_of!((*ptr).dst_ip) as usize - ptr as usize }, in bindgen_test_layout_rte_eth_ipv6_flow()
1352 stringify!(dst_ip) in bindgen_test_layout_rte_eth_ipv6_flow()

12