#include <uhd/transport/vrt_if_packet.hpp>
| Public Types | |
| enum | link_type_t { LINK_TYPE_NONE = 0x0 , LINK_TYPE_CHDR = 0x1 , LINK_TYPE_VRLP = 0x2 } | 
| enum | packet_type_t { PACKET_TYPE_DATA = 0x0 , PACKET_TYPE_IF_EXT = 0x1 , PACKET_TYPE_CONTEXT = 0x2 , PACKET_TYPE_FC = 0x1 , PACKET_TYPE_ACK = 0x1 , PACKET_TYPE_CMD = 0x2 , PACKET_TYPE_RESP = 0x3 , PACKET_TYPE_ERROR } | 
| Public Member Functions | |
| if_packet_info_t (void) | |
| Public Attributes | |
| enum uhd::transport::vrt::if_packet_info_t::link_type_t | link_type | 
| enum uhd::transport::vrt::if_packet_info_t::packet_type_t | packet_type | 
| size_t | num_payload_words32 | 
| size_t | num_payload_bytes | 
| size_t | num_header_words32 | 
| size_t | num_packet_words32 | 
| size_t | packet_count | 
| bool | sob | 
| Asserted for start- or end-of-burst. | |
| bool | eob | 
| bool | error | 
| This is asserted for command responses that are errors (CHDR only) | |
| bool | fc_ack | 
| This is asserted for flow control packets are ACKS (CHDR only) | |
| bool | has_sid | 
| Stream ID (SID). | |
| uint32_t | sid | 
| bool | has_cid | 
| Class ID. | |
| uint64_t | cid | 
| bool | has_tsi | 
| Integer timestamp. | |
| uint32_t | tsi | 
| bool | has_tsf | 
| Fractional timestamp. | |
| uint64_t | tsf | 
| bool | has_tlr | 
| Trailer. | |
| uint32_t | tlr | 
Definition for fields that can be packed into a vrt if header. The size fields are used for input and output depending upon the operation used (ie the pack or unpack function call).
| UHD_INLINE uhd::transport::vrt::if_packet_info_t::if_packet_info_t | ( | void | ) | 
| uint64_t uhd::transport::vrt::if_packet_info_t::cid | 
| bool uhd::transport::vrt::if_packet_info_t::eob | 
| bool uhd::transport::vrt::if_packet_info_t::error | 
This is asserted for command responses that are errors (CHDR only)
| bool uhd::transport::vrt::if_packet_info_t::fc_ack | 
This is asserted for flow control packets are ACKS (CHDR only)
| bool uhd::transport::vrt::if_packet_info_t::has_cid | 
Class ID.
| bool uhd::transport::vrt::if_packet_info_t::has_sid | 
Stream ID (SID).
| bool uhd::transport::vrt::if_packet_info_t::has_tlr | 
Trailer.
| bool uhd::transport::vrt::if_packet_info_t::has_tsf | 
Fractional timestamp.
| bool uhd::transport::vrt::if_packet_info_t::has_tsi | 
Integer timestamp.
| enum uhd::transport::vrt::if_packet_info_t::link_type_t uhd::transport::vrt::if_packet_info_t::link_type | 
| size_t uhd::transport::vrt::if_packet_info_t::num_header_words32 | 
| size_t uhd::transport::vrt::if_packet_info_t::num_packet_words32 | 
| size_t uhd::transport::vrt::if_packet_info_t::num_payload_bytes | 
| size_t uhd::transport::vrt::if_packet_info_t::num_payload_words32 | 
| size_t uhd::transport::vrt::if_packet_info_t::packet_count | 
| enum uhd::transport::vrt::if_packet_info_t::packet_type_t uhd::transport::vrt::if_packet_info_t::packet_type | 
| uint32_t uhd::transport::vrt::if_packet_info_t::sid | 
| bool uhd::transport::vrt::if_packet_info_t::sob | 
Asserted for start- or end-of-burst.
| uint32_t uhd::transport::vrt::if_packet_info_t::tlr | 
| uint64_t uhd::transport::vrt::if_packet_info_t::tsf | 
| uint32_t uhd::transport::vrt::if_packet_info_t::tsi |