Searched refs:RTF_DEFAULT (Results 1 – 7 of 7) sorted by relevance
18 #define RTF_DEFAULT 0x00000080 macro
112 if ((route->flags & RTF_DEFAULT) != 0 in find_route()113 && (description->flags & RTF_DEFAULT) != 0) { in find_route()122 if ((route->flags & (RTF_GATEWAY | RTF_HOST | RTF_LOCAL | RTF_DEFAULT)) in find_route()124 & (RTF_GATEWAY | RTF_HOST | RTF_LOCAL | RTF_DEFAULT)) in find_route()461 || ((newRoute->flags & RTF_DEFAULT) == 0 in add_route()478 &route->destination, (newRoute->flags & RTF_DEFAULT) != 0, in add_route()481 (newRoute->flags & RTF_DEFAULT) != 0, NULL) != B_OK in add_route()506 if ((route->flags & RTF_DEFAULT) != 0 in add_route()507 && (before->flags & RTF_DEFAULT) != 0) { in add_route()
255 {RTF_DEFAULT, "D"}, in list_routes()430 route.flags = RTF_DEFAULT; in main()
507 route.SetFlags(RTF_STATIC | RTF_DEFAULT | RTF_GATEWAY); in AddDefaultRoute()536 route.SetFlags(RTF_STATIC | RTF_DEFAULT); in RemoveDefaultRoute()
210 status_t result = GetRoutes(family, interfaceName, RTF_DEFAULT, routes); in GetDefaultRoute()
274 route.flags = RTF_STATIC | RTF_DEFAULT; in _ScanDevice()
534 defaultRoute.flags = RTF_DEFAULT | RTF_GATEWAY; in UpdateAddresses()611 oldDefaultRoute.flags= RTF_DEFAULT; in RemoveRoutes()