Lines Matching defs:route
167 net_route* route = (net_route*)parse_expression(argv[1]);
168 kprintf("destination: %p\n", route->destination);
169 kprintf("mask: %p\n", route->mask);
170 kprintf("gateway: %p\n", route->gateway);
171 kprintf("flags: %" B_PRIx32 "\n", route->flags);
172 kprintf("mtu: %" B_PRIu32 "\n", route->mtu);
173 kprintf("interface address: %p\n", route->interface_address);
175 if (route->interface_address != NULL) {
176 ((InterfaceAddress*)route->interface_address)->Dump();
268 host route, and one for the subnet (if set).
273 net_route route;
274 route.destination = local;
275 route.gateway = NULL;
276 route.interface_address = this;
279 route.mask = mask;
280 route.flags = 0;
281 add_route(domain, &route);
285 route.mask = NULL;
286 route.flags = RTF_LOCAL | RTF_HOST;
287 add_route(domain, &route);
296 net_route route;
297 route.destination = local;
298 route.gateway = NULL;
299 route.interface_address = this;
302 route.mask = mask;
303 route.flags = 0;
304 remove_route(domain, &route);
308 route.mask = NULL;
309 route.flags = RTF_LOCAL | RTF_HOST;
310 remove_route(domain, &route);
996 // setup direct route for bound devices
1682 "Dump the given network route");