Home
last modified time | relevance | path

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

/lib/liblwip/src/core/
Draw.c207 ip_addr_t *src_ip; in raw_sendto() local
260 src_ip = &(netif->ip_addr); in raw_sendto()
263 src_ip = &(pcb->local_ip); in raw_sendto()
267 err = ip_output_if (q, src_ip, ipaddr, pcb->ttl, pcb->tos, pcb->protocol, netif); in raw_sendto()
Dudp.c564 ip_addr_t *src_ip; local
629 src_ip = &(netif->ip_addr);
644 src_ip = &(pcb->local_ip);
672 udphdr->chksum = inet_chksum_pseudo_partial(q, src_ip, dst_ip,
693 err = ip_output_if(q, src_ip, dst_ip, pcb->ttl, pcb->tos, IP_PROTO_UDPLITE, netif);
707 udpchksum = inet_chksum_pseudo_partial(q, src_ip, dst_ip, IP_PROTO_UDP,
714 udpchksum = inet_chksum_pseudo(q, src_ip, dst_ip, IP_PROTO_UDP, q->tot_len);
728 err = ip_output_if(q, src_ip, dst_ip, pcb->ttl, pcb->tos, IP_PROTO_UDP, netif);
/lib/liblwip/test/unit/tcp/
Dtcp_helper.c41 tcp_create_segment_wnd(ip_addr_t* src_ip, ip_addr_t* dst_ip, in tcp_create_segment_wnd() argument
66 iphdr->src.addr = src_ip->addr; in tcp_create_segment_wnd()
95 tcphdr->chksum = inet_chksum_pseudo(p, src_ip, dst_ip, in tcp_create_segment_wnd()
105 tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip, in tcp_create_segment() argument
109 return tcp_create_segment_wnd(src_ip, dst_ip, src_port, dst_port, data, in tcp_create_segment()
Dtcp_helper.h32 struct pbuf* tcp_create_segment(ip_addr_t* src_ip, ip_addr_t* dst_ip,