aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index d288669d..2a403c65 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -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;