USRP Hardware Driver and USRP Manual Version: 4.1.0.1
UHD and USRP Manual
chdr.hpp
Go to the documentation of this file.
1//
2// Copyright 2014 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
11
12namespace uhd { namespace transport { namespace vrt {
13
36namespace chdr {
37
39static const size_t max_if_hdr_words64 = 2; // CHDR + tsf (fractional timestamp)
40
50UHD_API void if_hdr_pack_be(uint32_t* packet_buff, if_packet_info_t& if_packet_info);
51
62 const uint32_t* packet_buff, if_packet_info_t& if_packet_info);
63
73UHD_API void if_hdr_pack_le(uint32_t* packet_buff, if_packet_info_t& if_packet_info);
74
85 const uint32_t* packet_buff, if_packet_info_t& if_packet_info);
86
87} // namespace chdr
88
89}}} // namespace uhd::transport::vrt
#define UHD_API
Definition: config.h:70
UHD_API void if_hdr_pack_le(uint32_t *packet_buff, if_packet_info_t &if_packet_info)
UHD_API void if_hdr_unpack_be(const uint32_t *packet_buff, if_packet_info_t &if_packet_info)
UHD_API void if_hdr_pack_be(uint32_t *packet_buff, if_packet_info_t &if_packet_info)
UHD_API void if_hdr_unpack_le(const uint32_t *packet_buff, if_packet_info_t &if_packet_info)
Definition: build_info.hpp:12
Definition: vrt_if_packet.hpp:28