diff options
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc')
-rw-r--r-- | host/lib/include/uhdlib/rfnoc/chdr_packet.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/chdr_packet.hpp b/host/lib/include/uhdlib/rfnoc/chdr_packet.hpp index b20e24a93..770c6cf6f 100644 --- a/host/lib/include/uhdlib/rfnoc/chdr_packet.hpp +++ b/host/lib/include/uhdlib/rfnoc/chdr_packet.hpp @@ -292,6 +292,12 @@ public: return _chdr_w; } + //! Get the link endianness + inline endianness_t get_endianness() const + { + return _endianness; + } + //! Get the protocol version for RFNoC and the CHDR format inline uint16_t get_protover() const { |