aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index c0f976d4..69f1f053 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -142,6 +142,9 @@ struct gprs_rlcmac_tbf {
const char *imsi() const;
void assign_imsi(const char *imsi);
+ void set_new_tbf(gprs_rlcmac_tbf *tbf);
+ gprs_rlcmac_tbf *new_tbf() const;
+
time_t created_ts() const;
/* attempt to make things a bit more fair */
@@ -165,6 +168,8 @@ struct gprs_rlcmac_tbf {
enum gprs_rlcmac_tbf_ul_ass_state ul_ass_state;
enum gprs_rlcmac_tbf_ul_ack_state ul_ack_state;
+ gprs_rlcmac_tbf *m_new_tbf;
+
enum gprs_rlcmac_tbf_poll_state poll_state;
uint32_t poll_fn; /* frame number to poll */
@@ -289,6 +294,11 @@ inline const char *gprs_rlcmac_tbf::imsi() const
return m_imsi;
}
+inline gprs_rlcmac_tbf *gprs_rlcmac_tbf::new_tbf() const
+{
+ return m_new_tbf;
+}
+
inline time_t gprs_rlcmac_tbf::created_ts() const
{
return m_created_ts;