Home
last modified time | relevance | path

Searched refs:RTF_DEFAULT (Results 1 – 7 of 7) sorted by relevance

/haiku/headers/posix/net/
H A Droute.h18 #define RTF_DEFAULT 0x00000080 macro
/haiku/src/add-ons/kernel/network/stack/
H A Droutes.cpp112 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()
/haiku/src/bin/network/route/
H A Droute.cpp255 {RTF_DEFAULT, "D"}, in list_routes()
430 route.flags = RTF_DEFAULT; in main()
/haiku/src/kits/network/libnetapi/
H A DNetworkInterface.cpp507 route.SetFlags(RTF_STATIC | RTF_DEFAULT | RTF_GATEWAY); in AddDefaultRoute()
536 route.SetFlags(RTF_STATIC | RTF_DEFAULT); in RemoveDefaultRoute()
H A DNetworkRoute.cpp210 status_t result = GetRoutes(family, interfaceName, RTF_DEFAULT, routes); in GetDefaultRoute()
/haiku/src/system/kernel/fs/
H A Dvfs_net_boot.cpp274 route.flags = RTF_STATIC | RTF_DEFAULT; in _ScanDevice()
/haiku/src/add-ons/kernel/network/ppp/ipcp/
H A DProtocol.cpp534 defaultRoute.flags = RTF_DEFAULT | RTF_GATEWAY; in UpdateAddresses()
611 oldDefaultRoute.flags= RTF_DEFAULT; in RemoveRoutes()