| USRP Hardware Driver and USRP Manual Version: 4.8.0.makepkg-0-g308126a4 UHD and USRP Manual |

Loading...
Searching...
No Matches
adapter_id.hpp
Go to the documentation of this file.
1//
2// Copyright 2019 Ettus Research, a National Instruments Brand
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
7#pragma once
8
9#include <cstddef>
10
11 namespace uhd { namespace transport {
12
14// The adapter ID is a unique identifier for the physical connection. For example,
15// if the UHD session is using two separate Ethernet cables, each plugged into
16// its own Ethernet port, then there would be two adapter IDs available (0 and 1).
17 using adapter_id_t = size_t;
19 static const adapter_id_t NULL_ADAPTER_ID = 0;
20
21}} // namespace uhd::transport
uhd::transport
Definition adapter_id.hpp:11
uhd::transport::adapter_id_t
size_t adapter_id_t
Host transport adapter ID.
Definition adapter_id.hpp:17
uhd
Definition build_info.hpp:12