USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
if_addrs.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2010-2011 Ettus Research LLC
3 //
4 // SPDX-License-Identifier: GPL-3.0
5 //
6 
7 #ifndef INCLUDED_UHD_TRANSPORT_IF_ADDRS_HPP
8 #define INCLUDED_UHD_TRANSPORT_IF_ADDRS_HPP
9 
10 #include <uhd/config.hpp>
11 #include <string>
12 #include <vector>
13 
14 namespace uhd{ namespace transport{
15 
20  std::string inet;
21  std::string mask;
22  std::string bcast;
23  };
24 
30  UHD_API std::vector<if_addrs_t> get_if_addrs(void);
31 
32 }} //namespace
33 
34 
35 #endif /* INCLUDED_UHD_TRANSPORT_IF_ADDRS_HPP */
std::string inet
Definition: if_addrs.hpp:20
std::string bcast
Definition: if_addrs.hpp:22
std::string mask
Definition: if_addrs.hpp:21
UHD_API std::vector< if_addrs_t > get_if_addrs(void)
Definition: build_info.hpp:14
#define UHD_API
Definition: config.h:62
Definition: if_addrs.hpp:19