Lines Matching refs:dest
75 ip_route(struct ip_addr *dest)
80 if (ip_addr_netcmp(dest, &(netif->ip_addr), &(netif->netmask))) {
102 if ((netif = ip_route((struct ip_addr *)&(iphdr->dest))) == NULL) {
106 ip_addr_debug_print(IP_DEBUG, ((struct ip_addr *)&(iphdr->dest)));
134 ip_addr_debug_print(IP_DEBUG, ((struct ip_addr *)&(iphdr->dest)));
143 netif->output(netif, p, (struct ip_addr *)&(iphdr->dest));
189 LWIP_DEBUGF(IP_DEBUG, ("ip_input: iphdr->dest "));
190 ip_addr_debug_print(IP_DEBUG, ((struct ip_addr *)&(iphdr->dest)));
192 ip_addr_debug_print(IP_DEBUG, ((struct ip_addr *)&(iphdr->dest)));
195 if (ip_addr_cmp(&(iphdr->dest), &(netif->ip_addr))) {
260 ip_output_if (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
280 if (dest != IP_HDRINCL) {
285 ip_addr_set(&(iphdr->dest), dest);
296 dest = &(iphdr->dest);
307 return netif->output(netif, p, dest);
317 ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
321 if ((netif = ip_route(dest)) == NULL) {
322 LWIP_DEBUGF(IP_DEBUG, ("ip_output: No route to 0x%"X32_F"\n", dest->addr));
327 return ip_output_if (p, src, dest, ttl, proto, netif);
332 ip_output_hinted(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
338 if ((netif = ip_route(dest)) == NULL) {
339 LWIP_DEBUGF(IP_DEBUG, ("ip_output: No route to 0x%"X32_F"\n", dest->addr));
345 err = ip_output_if(p, src, dest, ttl, tos, proto, netif);
383 LWIP_DEBUGF(IP_DEBUG, ("| %4"X32_F" | %4"X32_F" | (dest)\n",
384 (ntohl(iphdr->dest.addr[0]) >> 16) & 0xffff,
385 ntohl(iphdr->dest.addr[0]) & 0xffff));
386 LWIP_DEBUGF(IP_DEBUG, ("| %4"X32_F" | %4"X32_F" | (dest)\n",
387 (ntohl(iphdr->dest.addr[1]) >> 16) & 0xffff,
388 ntohl(iphdr->dest.addr[1]) & 0xffff));
389 LWIP_DEBUGF(IP_DEBUG, ("| %4"X32_F" | %4"X32_F" | (dest)\n",
390 (ntohl(iphdr->dest.addr[2]) >> 16) & 0xffff,
391 ntohl(iphdr->dest.addr[2]) & 0xffff));
392 LWIP_DEBUGF(IP_DEBUG, ("| %4"X32_F" | %4"X32_F" | (dest)\n",
393 (ntohl(iphdr->dest.addr[3]) >> 16) & 0xffff,
394 ntohl(iphdr->dest.addr[3]) & 0xffff));