diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-01-16 08:06:09 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2021-01-16 08:06:09 +0100 |
commit | d14814a92377084177753c7a60d83a9307ad0672 (patch) | |
tree | 3b901eed7eaacc07341d16dbcd0db0d60951a5e0 /lib/edi/ETIDecoder.hpp | |
parent | 0efb3830dcd441ffdb53ebe69f2dc2886614fb8b (diff) | |
download | dabmod-d14814a92377084177753c7a60d83a9307ad0672.tar.gz dabmod-d14814a92377084177753c7a60d83a9307ad0672.tar.bz2 dabmod-d14814a92377084177753c7a60d83a9307ad0672.zip |
Update common code to latest, update zmq.hpp and adapt
Diffstat (limited to 'lib/edi/ETIDecoder.hpp')
-rw-r--r-- | lib/edi/ETIDecoder.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/edi/ETIDecoder.hpp b/lib/edi/ETIDecoder.hpp index ffa9037..e0865ce 100644 --- a/lib/edi/ETIDecoder.hpp +++ b/lib/edi/ETIDecoder.hpp @@ -38,11 +38,11 @@ struct eti_fc_data { bool atstf; uint32_t tsta; bool ficf; - uint16_t dflc; + uint16_t dlfc; uint8_t mid; uint8_t fp; - uint8_t fct(void) const { return dflc % 250; } + uint8_t fct(void) const { return dlfc % 250; } }; // Information for a subchannel available in EDI @@ -119,7 +119,7 @@ class ETIDecoder { /* Push a complete packet into the decoder. Useful for UDP and other * datagram-oriented protocols. */ - void push_packet(const std::vector<uint8_t> &buf); + void push_packet(Packet &pack); /* Set the maximum delay in number of AF Packets before we * abandon decoding a given pseq. |