Lines Matching refs:dst_ip

478  * @param dst_ip Destination IP address.
481 * dst_ip & dst_port are expected to be in the same byte order as in the pcb.
492 ip_addr_t *dst_ip, u16_t dst_port)
495 return udp_sendto_chksum(pcb, p, dst_ip, dst_port, 0, 0);
500 udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *dst_ip,
510 netif = ip_route((ip_addr_ismulticast(dst_ip))?(&(pcb->multicast_ip)):(dst_ip));
512 netif = ip_route(dst_ip);
518 ip4_addr1_16(dst_ip), ip4_addr2_16(dst_ip), ip4_addr3_16(dst_ip), ip4_addr4_16(dst_ip)));
523 return udp_sendto_if_chksum(pcb, p, dst_ip, dst_port, netif, have_chksum, chksum);
525 return udp_sendto_if(pcb, p, dst_ip, dst_port, netif);
538 * @param dst_ip Destination IP address.
542 * dst_ip & dst_port are expected to be in the same byte order as in the pcb.
550 ip_addr_t *dst_ip, u16_t dst_port, struct netif *netif)
553 return udp_sendto_if_chksum(pcb, p, dst_ip, dst_port, netif, 0, 0);
558 udp_sendto_if_chksum(struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *dst_ip,
570 if (!ip_get_option(pcb, SOF_BROADCAST) && ip_addr_isbroadcast(dst_ip, netif)) {
620 if (ip_addr_ismulticast(dst_ip) && ((pcb->flags & UDP_FLAGS_MULTICAST_LOOP) != 0)) {
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);