Home
last modified time | relevance | path

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

/reactos/drivers/network/tcpip/lwip/src/core/
H A Dudp.c521 const ip_addr_t *dst_ip, u16_t dst_port) in udp_sendto() argument
540 if (!IP_ADDR_PCB_VERSION_MATCH(pcb, dst_ip)) { in udp_sendto_chksum()
551 if (ip_addr_ismulticast(dst_ip)) { in udp_sendto_chksum()
564 if (IP_IS_V4(dst_ip)) in udp_sendto_chksum()
584 netif = ip_route(&pcb->local_ip, dst_ip); in udp_sendto_chksum()
645 if (!IP_ADDR_PCB_VERSION_MATCH(pcb, dst_ip)) { in udp_sendto_if_chksum()
651 if (IP_IS_V6(dst_ip)) { in udp_sendto_if_chksum()
728 !IP_ADDR_PCB_VERSION_MATCH(pcb, dst_ip)) { in udp_sendto_if_src_chksum()
736 IP_IS_V4(dst_ip) && in udp_sendto_if_src_chksum()
738 ip_addr_isbroadcast(dst_ip, netif)) { in udp_sendto_if_src_chksum()
[all …]
H A Draw.c421 raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, in raw_sendto_if_src() argument
431 if ((pcb == NULL) || (dst_ip == NULL) || (netif == NULL) || (src_ip == NULL) || in raw_sendto_if_src()
432 !IP_ADDR_PCB_VERSION_MATCH(pcb, src_ip) || !IP_ADDR_PCB_VERSION_MATCH(pcb, dst_ip)) { in raw_sendto_if_src()
438 IP_IS_V6(dst_ip) ? IP6_HLEN : IP_HLEN); in raw_sendto_if_src()
455 err = ip_output_if_hdrincl(p, src_ip, dst_ip, netif); in raw_sendto_if_src()
489 if (IP_IS_V4(dst_ip)) { in raw_sendto_if_src()
491 if (!ip_get_option(pcb, SOF_BROADCAST) && ip_addr_isbroadcast(dst_ip, netif)) { in raw_sendto_if_src()
504 if (((pcb->flags & RAW_FLAGS_MULTICAST_LOOP) != 0) && ip_addr_ismulticast(dst_ip)) { in raw_sendto_if_src()
512 if (IP_IS_V6(dst_ip) && pcb->chksum_reqd) { in raw_sendto_if_src()
521 ttl = (ip_addr_ismulticast(dst_ip) ? raw_get_multicast_ttl(pcb) : pcb->ttl); in raw_sendto_if_src()
[all …]
/reactos/drivers/network/tcpip/lwip/src/include/lwip/
H A 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,
H A Draw.h113 err_t raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, st…
/reactos/drivers/network/tcpip/lwip/src/apps/snmp/
H A 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()
H A 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()
/reactos/drivers/network/tcpip/lwip/test/unit/tcp/
H A Dtcp_helper.c52 tcp_create_segment_wnd(ip_addr_t* src_ip, ip_addr_t* dst_ip, in tcp_create_segment_wnd() argument
77 iphdr->dest.addr = ip_2_ip4(dst_ip)->addr; in tcp_create_segment_wnd()
108 IP_PROTO_TCP, p->tot_len, src_ip, dst_ip); in tcp_create_segment_wnd()
117 tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip, in tcp_create_segment() argument
121 return tcp_create_segment_wnd(src_ip, dst_ip, src_port, dst_port, data, in tcp_create_segment()
H A Dtcp_helper.h38 struct pbuf* tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip,