Home
last modified time | relevance | path

Searched refs:routeTable (Results 1 - 8 of 8) sorted by relevance

/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnet_diag_wrapper_test.cpp491 NetDiagRouteTable routeTable; in HWTEST_F() local
492 routeTable.destination_ = TEST_STRING_VALUE; in HWTEST_F()
493 routeTable.gateway_ = TEST_STRING_VALUE; in HWTEST_F()
494 routeTable.mask_ = TEST_STRING_VALUE; in HWTEST_F()
495 routeTable.iface_ = TEST_STRING_VALUE; in HWTEST_F()
496 routeTable.flags_ = TEST_STRING_VALUE; in HWTEST_F()
497 routeTable.metric_ = TEST_UINT32_VALUE; in HWTEST_F()
498 routeTable.ref_ = TEST_UINT32_VALUE; in HWTEST_F()
499 routeTable.use_ = TEST_UINT32_VALUE; in HWTEST_F()
501 auto ret = routeTable in HWTEST_F()
[all...]
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetsys_net_diag_data.cpp245 bool NetDiagRouteTable::Unmarshalling(Parcel &parcel, NetDiagRouteTable &routeTable) in Unmarshalling() argument
247 if (!parcel.ReadString(routeTable.destination_)) { in Unmarshalling()
250 if (!parcel.ReadString(routeTable.gateway_)) { in Unmarshalling()
253 if (!parcel.ReadString(routeTable.mask_)) { in Unmarshalling()
256 if (!parcel.ReadString(routeTable.iface_)) { in Unmarshalling()
259 if (!parcel.ReadString(routeTable.flags_)) { in Unmarshalling()
262 if (!parcel.ReadUint32(routeTable.metric_)) { in Unmarshalling()
265 if (!parcel.ReadUint32(routeTable.ref_)) { in Unmarshalling()
268 if (!parcel.ReadUint32(routeTable.use_)) { in Unmarshalling()
H A Dnetsys_native_service_proxy.cpp2221 NetDiagRouteTable routeTable; in NetDiagGetRouteTable() local
2222 if (!NetDiagRouteTable::Unmarshalling(reply, routeTable)) { in NetDiagGetRouteTable()
2226 routeTables.push_back(routeTable); in NetDiagGetRouteTable()
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnet_diag_wrapper.cpp474 NetDiagRouteTable routeTable; in ExtractRouteTableInfo() local
475 routeTable.destination_ = match[dstPos].str(); in ExtractRouteTableInfo()
476 routeTable.gateway_ = match[gatewayPos].str(); in ExtractRouteTableInfo()
477 routeTable.mask_ = match[maskPos].str(); in ExtractRouteTableInfo()
478 routeTable.flags_ = match[flagsPos].str(); in ExtractRouteTableInfo()
479 routeTable.metric_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[metricPos].str())); in ExtractRouteTableInfo()
480 routeTable.ref_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[refPos].str())); in ExtractRouteTableInfo()
481 routeTable.use_ = static_cast<uint16_t>(CommonUtils::StrToUint(match[usePos].str())); in ExtractRouteTableInfo()
482 routeTable.iface_ = match[ifacePos].str(); in ExtractRouteTableInfo()
483 routeTables.push_back(routeTable); in ExtractRouteTableInfo()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Droute_manager.cpp111 routeInfo.routeTable = ROUTE_VNIC_TABLE; in UpdateVnicRoute()
408 routeInfo.routeTable = ROUTE_DISTRIBUTE_TO_CLIENT_TABLE; in EnableDistributedClientNet()
442 routeInfo.routeTable = ROUTE_DISTRIBUTE_FROM_CLIENT_TABLE; in AddServerUplinkRoute()
476 routeInfo.routeTable = ROUTE_DISTRIBUTE_TO_CLIENT_TABLE; in AddServerDownlinkRoute()
520 routeInfo.routeTable = ROUTE_DISTRIBUTE_TO_CLIENT_TABLE; in DisableDistributedNet()
534 routeInfo.routeTable = ROUTE_DISTRIBUTE_FROM_CLIENT_TABLE; in DisableDistributedNet()
538 NETNATIVE_LOGE("del server uplink route err, route table is %{public}d", routeInfo.routeTable); in DisableDistributedNet()
540 routeInfo.routeTable = ROUTE_DISTRIBUTE_TO_CLIENT_TABLE; in DisableDistributedNet()
544 NETNATIVE_LOGE("del server downlink route err, route table is %{public}d", routeInfo.routeTable); in DisableDistributedNet()
553 NETNATIVE_LOGE("del client route err, route table is %{public}d", routeInfo.routeTable); in DisableDistributedNet()
[all...]
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Dnetsys_net_diag_data.h91 static bool Unmarshalling(Parcel &parcel, NetDiagRouteTable &routeTable);
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/
H A Droute_manager.h43 uint32_t routeTable; member
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnetsys_native_service_stub.cpp1509 for (const auto &routeTable : routeTables) { in CmdNetDiagGetRouteTable()
1510 if (!routeTable.Marshalling(reply)) { in CmdNetDiagGetRouteTable()

Completed in 15 milliseconds