Home
last modified time | relevance | path

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

/base/telephony/cellular_data/services/src/state_machine/
Dcellular_data_state_machine.cpp279 NetManagerStandard::Route route; in ResolveRoute() local
280 route.iface_ = name; in ResolveRoute()
281 route.gateway_.address_ = routeInfo.ip; in ResolveRoute()
282 route.gateway_.family_ = routeInfo.type; in ResolveRoute()
283 route.gateway_.type_ = routeInfo.type; in ResolveRoute()
284 route.gateway_.hostName_ = DEFAULT_HOSTNAME; in ResolveRoute()
285 route.gateway_.netMask_ = DEFAULT_MASK; in ResolveRoute()
286 route.gateway_.prefixlen_ = routeInfo.prefixLen; in ResolveRoute()
287 route.destination_.address_ = "0.0.0.0"; in ResolveRoute()
288 route.destination_.family_ = routeInfo.type; in ResolveRoute()
[all …]
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_utils.cpp117 RouteInfo route; in ParseRoute() local
119 route.type = INetAddr::IpType::IPV4; in ParseRoute()
120 route.destination = ROUTED_IPV4; in ParseRoute()
122 route.type = INetAddr::IpType::IPV6; in ParseRoute()
123 route.destination = ROUTED_IPV6; in ParseRoute()
125 route.ip = routeArray[i]; in ParseRoute()
126 routeInfoArray.push_back(route); in ParseRoute()