USRP Hardware Driver and USRP Manual  Version: 4.4.0.HEAD-0-g5fac246b
UHD and USRP Manual
if_addrs.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2011 Ettus Research LLC
3 // Copyright 2018 Ettus Research, a National Instruments Company
4 //
5 // SPDX-License-Identifier: GPL-3.0-or-later
6 //
7 
8 #pragma once
9 
10 #include <uhd/config.hpp>
11 #include <string>
12 #include <vector>
13 
14 namespace uhd { namespace transport {
15 
20 {
21  std::string inet;
22  std::string mask;
23  std::string bcast;
24 };
25 
31 UHD_API std::vector<if_addrs_t> get_if_addrs(void);
32 
33 }} // namespace uhd::transport
34 
uhd::transport::get_if_addrs
UHD_API std::vector< if_addrs_t > get_if_addrs(void)
config.hpp
uhd::transport::if_addrs_t
Definition: if_addrs.hpp:19
uhd::transport::if_addrs_t::mask
std::string mask
Definition: if_addrs.hpp:22
UHD_API
#define UHD_API
Definition: config.h:87
uhd::transport::if_addrs_t::bcast
std::string bcast
Definition: if_addrs.hpp:23
uhd
Definition: build_info.hpp:12
uhd::transport::if_addrs_t::inet
std::string inet
Definition: if_addrs.hpp:21