18 #ifndef INCLUDED_UHD_TRANSPORT_VRT_IF_PACKET_HPP
19 #define INCLUDED_UHD_TRANSPORT_VRT_IF_PACKET_HPP
22 #include <boost/cstdint.hpp>
25 namespace uhd{
namespace transport{
30 static const size_t max_if_hdr_words32 = 7;
40 PACKET_TYPE_DATA = 0x0,
41 PACKET_TYPE_EXTENSION = 0x1,
42 PACKET_TYPE_CONTEXT = 0x2
56 bool has_sid; boost::uint32_t
sid;
58 bool has_tsi; boost::uint32_t
tsi;
59 bool has_tsf; boost::uint64_t
tsf;
60 bool has_tlr; boost::uint32_t
tlr;
69 boost::uint32_t *packet_buff,
79 const boost::uint32_t *packet_buff,
89 boost::uint32_t *packet_buff,
99 const boost::uint32_t *packet_buff,