chromium/third_party/openscreen/src/platform/base/interface_info.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "platform/base/interface_info.h"

#include <algorithm>
#include <utility>

namespace openscreen {

InterfaceInfo::InterfaceInfo() = default;
InterfaceInfo::InterfaceInfo(NetworkInterfaceIndex index,
                             const uint8_t hardware_address[6],
                             std::string name,
                             Type type,
                             std::vector<IPSubnet> addresses)
    :{}
InterfaceInfo::~InterfaceInfo() = default;

IPSubnet::IPSubnet() = default;
IPSubnet::IPSubnet(IPAddress address, uint8_t prefix_length)
    :{}
IPSubnet::~IPSubnet() = default;

IPAddress InterfaceInfo::GetIpAddressV4() const {}

IPAddress InterfaceInfo::GetIpAddressV6() const {}

bool InterfaceInfo::HasHardwareAddress() const {}

std::ostream& operator<<(std::ostream& out, const IPSubnet& subnet) {}

std::ostream& operator<<(std::ostream& out, InterfaceInfo::Type type) {}

std::ostream& operator<<(std::ostream& out, const InterfaceInfo& info) {}

}  // namespace openscreen