• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/lwip/src/core/ipv4/

Lines Matching defs:dest

105  * @param dest the destination IP address for which to find the route
106 * @return the netif on which to send to reach dest
108 struct netif *ip_route(struct ip_addr *dest)
116 if (ip_addr_netcmp(dest, &(netif->ip_addr), &(netif->netmask))) {
124 ("ip_route: No route to 0x%" X32_F "\n", dest->addr));
151 netif = ip_route((struct ip_addr *) &(iphdr->dest));
155 iphdr->dest.addr));
190 iphdr->dest.addr));
198 netif->output(netif, p, (struct ip_addr *) &(iphdr->dest));
296 if (ip_addr_ismulticast(&(iphdr->dest))) {
298 && (igmp_lookfor_group(inp, &(iphdr->dest)))) {
314 ("ip_input: iphdr->dest 0x%" X32_F " netif->ip_addr 0x%"
316 iphdr->dest.addr, netif->ip_addr.addr,
317 iphdr->dest.addr & netif->netmask.addr,
319 iphdr->dest.addr & ~(netif->netmask.addr)));
324 if (ip_addr_cmp(&(iphdr->dest), &(netif->ip_addr)) ||
326 ip_addr_isbroadcast(&(iphdr->dest), netif)) {
358 iphdr_hlen))->dest)));
359 if (ntohs(((struct udp_hdr *) ((u8_t *) iphdr + iphdr_hlen))->dest)
396 if (!ip_addr_isbroadcast(&(iphdr->dest), inp)) {
497 igmp_input(p, inp, &(iphdr->dest));
503 if (!ip_addr_isbroadcast(&(iphdr->dest), inp) &&
504 !ip_addr_ismulticast(&(iphdr->dest))) {
536 protocol header; if dest == IP_HDRINCL, p already includes an IP
540 * @param dest the destination IP address to send the packet to
553 ip_output_if(struct pbuf * p, struct ip_addr * src, struct ip_addr * dest,
557 return ip_output_if_opt(p, src, dest, ttl, tos, proto, netif, NULL, 0);
567 struct ip_addr * dest, u8_t ttl, u8_t tos, u8_t proto,
577 if (dest != IP_HDRINCL) {
620 ip_addr_set(&(iphdr->dest), dest);
645 dest = &(iphdr->dest);
651 return ip_frag(p, netif, dest);
663 if (ip_addr_cmp(dest, &netif->ip_addr)) {
666 return netif_loop_output(netif, p, dest);
671 return netif->output(netif, p, dest);
680 protocol header; if dest == IP_HDRINCL, p already includes an IP
684 * @param dest the destination IP address to send the packet to
693 ip_output(struct pbuf * p, struct ip_addr * src, struct ip_addr * dest,
698 if ((netif = ip_route(dest)) == NULL) {
700 ("ip_output: No route to 0x%" X32_F "\n", dest->addr));
705 return ip_output_if(p, src, dest, ttl, tos, proto, netif);
713 protocol header; if dest == IP_HDRINCL, p already includes an IP
717 * @param dest the destination IP address to send the packet to
728 ip_output_hinted(struct pbuf * p, struct ip_addr * src, struct ip_addr * dest,
734 if ((netif = ip_route(dest)) == NULL) {
736 ("ip_output: No route to 0x%" X32_F "\n", dest->addr));
742 err = ip_output_if(p, src, dest, ttl, tos, proto, netif);
787 " | (dest)\n", ip4_addr1(&iphdr->dest),
788 ip4_addr2(&iphdr->dest), ip4_addr3(&iphdr->dest),
789 ip4_addr4(&iphdr->dest)));