/third_party/lwip/src/core/ |
D | udp.c | 547 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 …]
|
D | raw.c | 443 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/ |
D | udp.h | 135 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,
|
D | raw.h | 117 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/ |
D | snmp_raw.c | 67 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()
|
D | snmp_netconn.c | 99 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/ |
D | tcp_helper.c | 47 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()
|
D | tcp_helper.h | 38 struct pbuf* tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip,
|
/third_party/lwip/ |
D | 0089-add-struct-gz-addr.patch | 88 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 …
|
D | 0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patch | 126 @@ -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);
|
D | 0070-add-CHECKSUM_UDP-when-not-support-OFFLOAD_UDP_CHECKS.patch | 63 + 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);
|
D | 0060-lwip-add-udp-multicast.patch | 159 … -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);
|
D | 0080-enable-ipv6.patch | 277 - 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…
|
D | 0064-fix-udp-send-recv-in-multiple-queue.patch | 112 + pcb->remote_ip = *dst_ip;
|
D | 0030-refactor-tcp-new-port.patch | 190 +extern bool port_in_stack_queue(uint32_t src_ip, uint32_t dst_ip, uint16_t src_port, uint16_t dst_…
|
D | 0050-lwip-reuse-ip-port.patch | 186 qtuple.dst_ip = pcb->remote_ip.addr;
|
D | 0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patch | 144 @@ -677,8 +677,8 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip,
|
D | 0053-cleancode-improve-lwipopts.h-readability.patch | 1551 qtuple.dst_ip = pcb->remote_ip.addr;
|
/third_party/ltp/testcases/network/stress/route/ |
D | route-change-netlink.c | 199 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/ |
D | layout_eth_conf.h | 232 uint32_t dst_ip; /**< IPv4 destination address in big endian. */ member 243 uint32_t dst_ip[4]; /**< IPv6 destination address in big endian. */ member
|
D | layout_eth_conf_1_0.h | 233 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/ |
D | robust_av.c | 62 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()
|
D | wpa_supplicant_i.h | 610 struct in_addr dst_ip; member 621 struct in6_addr dst_ip; member
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
D | layout_eth_conf_1_0.rs | 1329 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()
|
D | layout_eth_conf.rs | 1231 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()
|