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; local
531 defaultRoute.destination = NULL;
532 defaultRoute.mask = NULL;
533 defaultRoute.gateway = &addrGateway;
534 defaultRoute.flags = RTF_DEFAULT | RTF_GATEWAY;
535 defaultRoute.interface_address = pppInterfaceAddress;
538 status_t status = sDatalinkModule->add_route(domain, &defaultRoute);
/haiku/src/bin/network/route/
H A Droute.cpp414 bool defaultRoute = false; local
429 defaultRoute = true;
441 if (!defaultRoute && destination.IsEmpty() && mode != RTM_LIST)

Completed in 108 milliseconds