Searched refs:routeTable (Results 1 – 8 of 8) sorted by relevance
245 bool NetDiagRouteTable::Unmarshalling(Parcel &parcel, NetDiagRouteTable &routeTable) in Unmarshalling() argument247 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()
2127 NetDiagRouteTable routeTable; in NetDiagGetRouteTable() local2128 if (!NetDiagRouteTable::Unmarshalling(reply, routeTable)) { in NetDiagGetRouteTable()2132 routeTables.push_back(routeTable); in NetDiagGetRouteTable()
491 NetDiagRouteTable routeTable; variable492 routeTable.destination_ = TEST_STRING_VALUE;493 routeTable.gateway_ = TEST_STRING_VALUE;494 routeTable.mask_ = TEST_STRING_VALUE;495 routeTable.iface_ = TEST_STRING_VALUE;496 routeTable.flags_ = TEST_STRING_VALUE;497 routeTable.metric_ = TEST_UINT32_VALUE;498 routeTable.ref_ = TEST_UINT32_VALUE;499 routeTable.use_ = TEST_UINT32_VALUE;501 auto ret = routeTable.Marshalling(parcel);[all …]
474 NetDiagRouteTable routeTable; in ExtractRouteTableInfo() local475 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()
91 static bool Unmarshalling(Parcel &parcel, NetDiagRouteTable &routeTable);
41 uint32_t routeTable; member
105 routeInfo.routeTable = ROUTE_VNIC_TABLE; in UpdateVnicRoute()945 if (int32_t ret = nlmsg.AddAttr32(RTA_TABLE, routeInfo.routeTable)) { in SendRouteToKernel()1012 routeInfo.routeTable = table; in SetRouteInfo()
1417 for (const auto &routeTable : routeTables) { in CmdNetDiagGetRouteTable() local1418 if (!routeTable.Marshalling(reply)) { in CmdNetDiagGetRouteTable()