Loading...
Searching...
No Matches
adapter_id.hpp
Go to the documentation of this file.
//
// Copyright 2019 Ettus Research, a National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#pragma once
#include <cstddef>
namespace uhd { namespace transport {
// The adapter ID is a unique identifier for the physical connection. For example,
// if the UHD session is using two separate Ethernet cables, each plugged into
// its own Ethernet port, then there would be two adapter IDs available (0 and 1).
using adapter_id_t = size_t;
static const adapter_id_t NULL_ADAPTER_ID = 0;
}} // 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