diff options
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -151,6 +151,8 @@ struct gprs_rlcmac_tbf { void assign_imsi(const char *imsi); uint8_t ta() const; void set_ta(uint8_t); + gprs_llc_queue *llc_queue(); + const gprs_llc_queue *llc_queue() const; time_t created_ts() const; @@ -229,6 +231,8 @@ protected: /* Field to take the TA value if no MS is associated */ uint8_t m_ta; + + gprs_llc_queue m_llc_queue; private: mutable char m_name_buf[60]; }; @@ -285,6 +289,16 @@ inline GprsMs *gprs_rlcmac_tbf::ms() return m_ms; } +inline gprs_llc_queue *gprs_rlcmac_tbf::llc_queue() +{ + return &m_llc_queue; +} + +inline const gprs_llc_queue *gprs_rlcmac_tbf::llc_queue() const +{ + return &m_llc_queue; +} + inline bool gprs_rlcmac_tbf::is_tlli_valid() const { return tlli() != 0; |