Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
Dudp.c525 const ip_addr_t *dst_ip, u16_t dst_port) in udp_sendto() argument
528 return udp_sendto_chksum(pcb, p, dst_ip, dst_port, 0, 0); in udp_sendto()
534 udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, in udp_sendto_chksum() argument
542 LWIP_ERROR("udp_sendto: invalid dst_ip", dst_ip != NULL, return ERR_ARG); in udp_sendto_chksum()
544 if (!IP_ADDR_PCB_VERSION_MATCH(pcb, dst_ip)) { in udp_sendto_chksum()
555 if (ip_addr_ismulticast(dst_ip)) { in udp_sendto_chksum()
568 if (IP_IS_V4(dst_ip)) in udp_sendto_chksum()
588 netif = ip_route(&pcb->local_ip, dst_ip); in udp_sendto_chksum()
595 ip_addr_debug_print(UDP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, dst_ip); in udp_sendto_chksum()
601 return udp_sendto_if_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum); in udp_sendto_chksum()
[all …]
Draw.c420 raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_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()
437 IP_IS_V6(dst_ip) ? IP6_HLEN : IP_HLEN); in raw_sendto_if_src()
454 err = ip_output_if_hdrincl(p, src_ip, dst_ip, netif); in raw_sendto_if_src()
488 if (IP_IS_V4(dst_ip)) { in raw_sendto_if_src()
490 if (!ip_get_option(pcb, SOF_BROADCAST) && ip_addr_isbroadcast(dst_ip, netif)) { in raw_sendto_if_src()
503 if (((pcb->flags & RAW_FLAGS_MULTICAST_LOOP) != 0) && ip_addr_ismulticast(dst_ip)) { in raw_sendto_if_src()
511 if (IP_IS_V6(dst_ip) && pcb->chksum_reqd) { 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 …]
/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/src/include/lwip/
Dudp.h131 const ip_addr_t *dst_ip, u16_t dst_port,
134 const ip_addr_t *dst_ip, u16_t dst_port,
137 const ip_addr_t *dst_ip, u16_t dst_port);
142 const ip_addr_t *dst_ip, u16_t dst_port,
146 const ip_addr_t *dst_ip, u16_t dst_port,
151 const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif,
Draw.h113 err_t raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, st…
/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/gstreamer/gstplugins_bad/gst/pcapparse/
Dgstpcapparse.c182 self->dst_ip = -1; in gst_pcap_parse_init()
240 g_value_set_string (value, get_ip_address_as_string (self->dst_ip)); in gst_pcap_parse_get_property()
277 set_ip_address_from_string (&self->dst_ip, g_value_get_string (value)); in gst_pcap_parse_set_property()
484 if (self->dst_ip >= 0 && ip_dst_addr != self->dst_ip) in gst_pcap_parse_scan_frame()
Dgstpcapparse.h71 gint64 dst_ip; member
/third_party/ltp/testcases/network/stress/route/
Droute-change-netlink.c201 in_addr_t dst_ip, gw_ip; in rtnl_route() local
228 dst_ip = ((struct sockaddr_in *)dst->ai_addr)->sin_addr.s_addr; in rtnl_route()
229 mnl_attr_put_u32(nlh, RTA_DST, dst_ip); in rtnl_route()
/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.h602 struct in_addr dst_ip; member
613 struct in6_addr dst_ip; member
Dctrl_iface.c11002 &param->ip_params.v4.dst_ip); in set_type4_frame_classifier()
11005 &param->ip_params.v6.dst_ip); in set_type4_frame_classifier()