Searched refs:src_ip (Results 1 – 4 of 4) sorted by relevance
/btstack/3rd-party/lwip/core/src/core/ |
H A D | raw.c | 357 const ip_addr_t *src_ip; in raw_sendto() local 392 src_ip = ip_netif_get_local_ip(netif, ipaddr); in raw_sendto() 394 if (src_ip == NULL) { in raw_sendto() 400 src_ip = &pcb->local_ip; in raw_sendto() 403 return raw_sendto_if_src(pcb, p, ipaddr, netif, src_ip); in raw_sendto() 421 struct netif *netif, const ip_addr_t *src_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() 454 err = ip_output_if_hdrincl(p, src_ip, dst_ip, netif); 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 …]
|
H A D | udp.c | 638 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() 690 return udp_sendto_if_src_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum, src_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() 700 … const ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif, const ip_addr_t *src_ip) in udp_sendto_if_src() argument 703 return udp_sendto_if_src_chksum(pcb, p, dst_ip, dst_port, netif, 0, 0, src_ip); in udp_sendto_if_src() [all …]
|
/btstack/3rd-party/lwip/core/src/include/lwip/ |
H A D | udp.h | 135 struct netif *netif, const ip_addr_t *src_ip); 152 u8_t have_chksum, u16_t chksum, const ip_addr_t *src_ip);
|
H A D | raw.h | 113 …w_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, struct netif *netif, const ip_addr_t *src_ip);
|