Lines Matching full:route
41 #include "route.h"
288 struct net_route_entry *route; in add_route() local
290 route = net_route_lookup(iface, addr); in add_route()
291 if (route) { in add_route()
292 return route; in add_route()
295 route = net_route_add(iface, addr, prefix_len, addr, in add_route()
299 NET_DBG("%s route to %s/%d iface %p", route ? "Add" : "Cannot add", in add_route()
302 return route; in add_route()
310 NET_DBG("Will not route pkt %p ll src %s to dst %s between interfaces", in ipv6_no_route_info()
319 struct net_route_entry *route; in ipv6_route_packet() local
326 &route, &nexthop); in ipv6_route_packet()
330 &route, &nexthop); in ipv6_route_packet()
350 if (route) { in ipv6_route_packet()
351 net_pkt_set_iface(pkt, route->iface); in ipv6_route_packet()
357 /* If the route interface to destination is in ipv6_route_packet()
358 * different than the original route, then add in ipv6_route_packet()
359 * route to original source. in ipv6_route_packet()
361 NET_DBG("Route pkt %p from %p to %p", in ipv6_route_packet()
371 NET_DBG("Cannot re-route pkt %p via %s " in ipv6_route_packet()
385 NET_DBG("Cannot re-route pkt %p " in ipv6_route_packet()
393 NET_DBG("No route to %s pkt %p dropped", in ipv6_route_packet()