#include "net/base/address_map_cache_linux.h"
#include <linux/rtnetlink.h>
#include "base/synchronization/lock.h"
namespace net {
AddressMapCacheLinux::AddressMapCacheLinux() = default;
AddressMapCacheLinux::~AddressMapCacheLinux() = default;
AddressMapOwnerLinux::AddressMap AddressMapCacheLinux::GetAddressMap() const { … }
std::unordered_set<int> AddressMapCacheLinux::GetOnlineLinks() const { … }
AddressMapCacheLinux* AddressMapCacheLinux::GetAddressMapCacheLinux() { … }
void AddressMapCacheLinux::SetCachedInfo(AddressMap address_map,
std::unordered_set<int> online_links) { … }
void AddressMapCacheLinux::ApplyDiffs(const AddressMapDiff& addr_diff,
const OnlineLinksDiff& links_diff) { … }
}