Lines Matching defs:route
79 #include <net/route.h>
261 int error; /* return value of route function */
265 struct route route; /* filled in by clnp_route */
270 memset((void *) & route, 0, sizeof(route)); /* MUST be done before
314 * Update src route first
317 error = clnp_srcroute(m, oidx, &route, &next_hop, &ia, dst);
319 error = clnp_route(dst, &route, 0, &next_hop, &ia);
324 printf("clnp_forward: can't route packet (errno %d)\n", error);
350 esis_rdoutput(inbound_shp, m, oidx, dst, rtcache_validate(&route));
395 if ((rt = rtcache_validate(&route)) == NULL)
406 * Free route
408 rtcache_free(&route);
447 * the destination. The address of a route
449 * that route, and it is still up to the same destination,
453 * RETURNS: route found - 0
459 * allocated in route.
464 struct route *ro, /* existing route structure */
496 /* set up new route structure */
519 * PURPOSE: Source route the datagram. If complete source
537 struct route *ro, /* route structure */
548 * If so, then try to route on destination.
569 * try to route it
582 printf("clnp_srcroute: complete src route failed\n");
618 * record route option, but it must be reset to zero length
634 * PURPOSE: print notice of route with mtu not initialized.
643 struct rtentry *rt, /* dst route */
647 printf("sending on route %p with no mtu, line %d of file %s\n",
650 printf("route dst is ");