USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-ga1b5c4ae
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 #ifndef INCLUDED_UHD_TRANSPORT_CHDR_HPP
9 #define INCLUDED_UHD_TRANSPORT_CHDR_HPP
10 
12 
13 namespace uhd{ namespace transport{ namespace vrt{
14 
37 namespace chdr{
38 
40  static const size_t max_if_hdr_words64 = 2; // CHDR + tsf (fractional timestamp)
41 
52  uint32_t *packet_buff,
53  if_packet_info_t &if_packet_info
54  );
55 
66  const uint32_t *packet_buff,
67  if_packet_info_t &if_packet_info
68  );
69 
80  uint32_t *packet_buff,
81  if_packet_info_t &if_packet_info
82  );
83 
94  const uint32_t *packet_buff,
95  if_packet_info_t &if_packet_info
96  );
97 
98 } //namespace chdr
99 
100 }}} //namespace uhd::transport::vrt
101 
102 #endif /* INCLUDED_UHD_TRANSPORT_CHDR_HPP */
103 
Definition: vrt_if_packet.hpp:30
UHD_API void if_hdr_pack_le(uint32_t *packet_buff, if_packet_info_t &if_packet_info)
Definition: build_info.hpp:14
UHD_API void if_hdr_unpack_be(const uint32_t *packet_buff, if_packet_info_t &if_packet_info)
#define UHD_API
Definition: config.h:63
UHD_API void if_hdr_unpack_le(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)