Home
last modified time | relevance | path

Searched refs:src_ip (Results 1 – 7 of 7) sorted by relevance

/lib/lwip/lwip/src/core/
A Draw.c357 const ip_addr_t *src_ip; in raw_sendto() local
393 src_ip = ip_netif_get_local_ip(netif, ipaddr); in raw_sendto()
395 if (src_ip == NULL) { in raw_sendto()
401 src_ip = &pcb->local_ip; in raw_sendto()
404 return raw_sendto_if_src(pcb, p, ipaddr, netif, src_ip); in raw_sendto()
422 struct netif *netif, const ip_addr_t *src_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()
455 err = ip_output_if_hdrincl(p, src_ip, dst_ip, netif); in raw_sendto_if_src()
513 …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 …]
A Dudp.c638 const ip_addr_t *src_ip; in udp_sendto_if_chksum() local
654 src_ip = ip6_select_source_address(netif, ip_2_ip6(dst_ip)); in udp_sendto_if_chksum()
655 if (src_ip == NULL) { in udp_sendto_if_chksum()
665 src_ip = &pcb->local_ip; in udp_sendto_if_chksum()
677 src_ip = netif_ip_addr4(netif); in udp_sendto_if_chksum()
686 src_ip = &pcb->local_ip; in udp_sendto_if_chksum()
692 return udp_sendto_if_src(pcb, p, dst_ip, dst_port, netif, src_ip); in udp_sendto_if_chksum()
710 u16_t chksum, const ip_addr_t *src_ip) in udp_sendto_if_src_chksum() argument
727 if (!IP_ADDR_PCB_VERSION_MATCH(pcb, src_ip) || in udp_sendto_if_src_chksum()
829 q->tot_len, chklen, src_ip, dst_ip); in udp_sendto_if_src_chksum()
[all …]
/lib/lwip/lwip/test/unit/tcp/
A Dtcp_helper.c52 tcp_create_segment_wnd(ip_addr_t* src_ip, ip_addr_t* dst_ip, in tcp_create_segment_wnd() argument
78 iphdr->src.addr = ip_2_ip4(src_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()
A Dtcp_helper.h38 struct pbuf* tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip,
/lib/lwip/lwip/src/include/lwip/
A Dudp.h135 struct netif *netif, const ip_addr_t *src_ip);
152 u8_t have_chksum, u16_t chksum, const ip_addr_t *src_ip);
A Draw.h113 …w_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, struct netif *netif, const ip_addr_t *src_ip);
/lib/efi_loader/
A Defi_net.c930 struct efi_ip_address *src_ip, u16 *src_port, in efi_pxe_base_code_udp_write() argument
940 u16 *dest_port, struct efi_ip_address *src_ip, in efi_pxe_base_code_udp_read() argument

Completed in 21 milliseconds