Searched refs:defaultRoute (Results 1 – 2 of 2) sorted by relevance
530 net_route defaultRoute; in UpdateAddresses() local531 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()
414 bool defaultRoute = false; in main() local429 defaultRoute = true; in main()441 if (!defaultRoute && destination.IsEmpty() && mode != RTM_LIST) in main()