USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
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
#ifndef INCLUDED_UHD_TRANSPORT_IF_ADDRS_HPP
9
#define INCLUDED_UHD_TRANSPORT_IF_ADDRS_HPP
10
11
#include <
uhd/config.hpp
>
12
#include <string>
13
#include <vector>
14
15
namespace
uhd
{
namespace
transport {
16
20
struct
UHD_API
if_addrs_t
21
{
22
std::string
inet
;
23
std::string
mask
;
24
std::string
bcast
;
25
};
26
32
UHD_API
std::vector<if_addrs_t>
get_if_addrs
(
void
);
33
34
}}
// namespace uhd::transport
35
36
37
#endif
/* INCLUDED_UHD_TRANSPORT_IF_ADDRS_HPP */
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:20
uhd::transport::if_addrs_t::mask
std::string mask
Definition:
if_addrs.hpp:23
UHD_API
#define UHD_API
Definition:
config.h:68
uhd::transport::if_addrs_t::bcast
std::string bcast
Definition:
if_addrs.hpp:24
uhd
Definition:
build_info.hpp:13
uhd::transport::if_addrs_t::inet
std::string inet
Definition:
if_addrs.hpp:22
include
uhd
transport
if_addrs.hpp
Generated by
1.8.16