Home
last modified time | relevance | path

Searched refs:defaultRoute (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/network/ppp/ipcp/
H A DProtocol.cpp530 net_route defaultRoute; in UpdateAddresses() local
531 defaultRoute.destination = NULL; in UpdateAddresses()
532 defaultRoute.mask = NULL; in UpdateAddresses()
533 defaultRoute.gateway = &addrGateway; in UpdateAddresses()
534 defaultRoute.flags = RTF_DEFAULT | RTF_GATEWAY; in UpdateAddresses()
535 defaultRoute.interface_address = pppInterfaceAddress; in UpdateAddresses()
538 status_t status = sDatalinkModule->add_route(domain, &defaultRoute); in UpdateAddresses()
/haiku/src/bin/network/route/
H A Droute.cpp414 bool defaultRoute = false; in main() local
429 defaultRoute = true; in main()
441 if (!defaultRoute && destination.IsEmpty() && mode != RTM_LIST) in main()