diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-08-07 15:49:21 +0200 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2014-08-07 16:12:05 +0200 |
commit | 7e994e392d9684c6deab2cac3eed162ca96f083d (patch) | |
tree | 8c282f6cc6715136b89ab6c6407773764095bb5e /src/rlc.h | |
parent | 6a8a1dcda2898df78b5bc794bd64947317b453cc (diff) |
tbf, ...: Make the fields in the dl/ul struct member variables
There is no need for the union/struct anymore. Make the variable members
of the UL/DL class.
As a result gprs_rlc_dl_window gets a reset() method because
memset(&dir.dl, 0, sizeof(dir.dl)) doesn't work anymore in reuse_tbf().
Ticket: SYS#389
Sponsored by: On-Waves ehf
Diffstat (limited to 'src/rlc.h')
-rw-r--r-- | src/rlc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -109,6 +109,7 @@ private: * most simple form of inheritance is not a POD anymore. */ struct gprs_rlc_dl_window { + void reset(); const uint16_t mod_sns() const; const uint16_t sns() const; const uint16_t ws() const; |