Loading...
Searching...
No Matches
if_addrs.hpp
Go to the documentation of this file.
//
// Copyright 2010-2011 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <uhd/config.hpp>
#include <string>
#include <vector>
namespace uhd { namespace transport {
struct UHD_API if_addrs_t
{
std::string inet;
std::string mask;
std::string bcast;
};
UHD_API std::vector<if_addrs_t> get_if_addrs(void);
}} // namespace uhd::transport
UHD_API
#define UHD_API
Definition config.h:87
config.hpp
uhd::transport
Definition adapter_id.hpp:11
uhd::transport::get_if_addrs
UHD_API std::vector< if_addrs_t > get_if_addrs(void)
uhd
Definition build_info.hpp:12
uhd::transport::if_addrs_t
Definition if_addrs.hpp:20
uhd::transport::if_addrs_t::inet
std::string inet
Definition if_addrs.hpp:21
uhd::transport::if_addrs_t::mask
std::string mask
Definition if_addrs.hpp:22
uhd::transport::if_addrs_t::bcast
std::string bcast
Definition if_addrs.hpp:23