USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-gdca39145
UHD and USRP Manual
chdr.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2014 Ettus Research LLC
3 //
4 // SPDX-License-Identifier: GPL-3.0
5 //
6 
7 #ifndef INCLUDED_UHD_TRANSPORT_CHDR_HPP
8 #define INCLUDED_UHD_TRANSPORT_CHDR_HPP
9 
11 
12 namespace uhd{ namespace transport{ namespace vrt{
13 
36 namespace chdr{
37 
39  static const size_t max_if_hdr_words64 = 2; // CHDR + tsf (fractional timestamp)
40 
51  uint32_t *packet_buff,
52  if_packet_info_t &if_packet_info
53  );
54 
65  const uint32_t *packet_buff,
66  if_packet_info_t &if_packet_info
67  );
68 
79  uint32_t *packet_buff,
80  if_packet_info_t &if_packet_info
81  );
82 
93  const uint32_t *packet_buff,
94  if_packet_info_t &if_packet_info
95  );
96 
97 } //namespace chdr
98 
99 }}} //namespace uhd::transport::vrt
100 
101 #endif /* INCLUDED_UHD_TRANSPORT_CHDR_HPP */
102 
Definition: vrt_if_packet.hpp:29
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:62
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)