|
| | chdr_header ()=default |
| |
| | chdr_header (const chdr_header &rhs)=default |
| |
| | chdr_header (chdr_header &&rhs)=default |
| |
| | chdr_header (uint64_t flat_hdr) |
| | Unpack the header from a uint64_t. More...
|
| |
| uint8_t | get_vc () const |
| | Get the virtual channel field (6 bits) More...
|
| |
| void | set_vc (uint8_t vc) |
| | Set the virtual channel field (6 bits) More...
|
| |
| bool | get_eob () const |
| | Get the end-of-burst flag (1 bit) More...
|
| |
| void | set_eob (bool eob) |
| | Set the end-of-burst flag (1 bit) More...
|
| |
| bool | get_eov () const |
| | Get the end-of-vector flag (1 bit) More...
|
| |
| void | set_eov (bool eov) |
| | Set the end-of-vector flag (1 bit) More...
|
| |
| packet_type_t | get_pkt_type () const |
| | Get the packet type field (3 bits) More...
|
| |
| void | set_pkt_type (packet_type_t pkt_type) |
| | Set the packet type field (3 bits) More...
|
| |
| uint8_t | get_num_mdata () const |
| | Get number of metadata words field (5 bits) More...
|
| |
| void | set_num_mdata (uint8_t num_mdata) |
| | Set number of metadata words field (5 bits) More...
|
| |
| uint16_t | get_seq_num () const |
| | Get the sequence number field (16 bits) More...
|
| |
| void | set_seq_num (uint16_t seq_num) |
| | Set the sequence number field (16 bits) More...
|
| |
| uint16_t | get_length () const |
| | Get the packet length field (16 bits) More...
|
| |
| void | set_length (uint16_t length) |
| | Set the packet length field (16 bits) More...
|
| |
| uint16_t | get_dst_epid () const |
| | Get the destination EPID field (16 bits) More...
|
| |
| void | set_dst_epid (uint16_t dst_epid) |
| | Set the destination EPID field (16 bits) More...
|
| |
| uint64_t | pack () const |
| | Pack the header into a uint64_t. More...
|
| |
| | operator uint64_t () const |
| | Pack the header into a uint64_t as an implicit cast. More...
|
| |
| bool | operator== (const chdr_header &rhs) const |
| | Comparison operator (==) More...
|
| |
| bool | operator!= (const chdr_header &rhs) const |
| | Comparison operator (!=) More...
|
| |
| const chdr_header & | operator= (const chdr_header &rhs) |
| | Assignment operator (=) from a chdr_header. More...
|
| |
| const chdr_header & | operator= (const uint64_t &rhs) |
| | Assignment operator (=) from a uint64_t. More...
|
| |
| const std::string | to_string () const |
| | Return a string representation of this object. More...
|
| |