/third_party/lwip/src/core/ |
H A D | udp.c | 533 * @param dst_ip Destination IP address. 536 * dst_ip & dst_port are expected to be in the same byte order as in the pcb. 547 const ip_addr_t *dst_ip, u16_t dst_port) 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, 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)) [all...] |
H A D | raw.c | 438 * @param dst_ip destination IP address 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) in raw_sendto_if_src() [all...] |
/third_party/lwip/src/apps/snmp/ |
H A 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()
|
H A 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/src/include/lwip/ |
H A 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,
|
H A D | raw.h | 117 err_t raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, struct netif *netif, const ip_addr_t *src_ip);
|
/third_party/lwip/test/unit/tcp/ |
H A 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()
|
H A D | tcp_helper.h | 38 struct pbuf* tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip,
|
/third_party/ltp/testcases/network/stress/route/ |
H A 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/ |
H A 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
|
H A 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
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A 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() 249 4 + /* dst_ip */ in tclas_elem_len() 254 16 + /* dst_ip */ in tclas_elem_len() 731 if (!inet_ntop(AF_INET, &v4->dst_ip, addr, INET_ADDRSTRLEN)) { in write_ipv4_info() 737 res = os_snprintf(pos, rem_len, " dst_ip=%s", addr); in write_ipv4_info() 800 if (!inet_ntop(AF_INET6, &v6->dst_ip, addr, INET6_ADDRSTRLEN)) { in write_ipv6_info() 806 res = os_snprintf(pos, rem_len, " dst_ip=%s", addr); 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() [all...] |
H A D | wpa_supplicant_i.h | 618 struct in_addr dst_ip; member 629 struct in6_addr dst_ip; member
|
H A D | ctrl_iface.c | 11554 pos = os_strstr(cmd, "dst_ip="); 11568 ¶m->ip_params.v4.dst_ip); 11571 ¶m->ip_params.v6.dst_ip);
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | layout_eth_conf.rs | 1231 pub dst_ip: u32, 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], 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()
|