aboutsummaryrefslogtreecommitdiffstats
path: root/src/llc.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-13 17:15:26 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-13 17:16:28 +0100
commitb1302b083e9d8f5dd60229570716f497ea61d26c (patch)
treedc3af06e33999dbc4fb270229418e17e9be03eec /src/llc.h
parent32f9a59ab42f9c37908d3d4a9db341583ab516ac (diff)
llc: Move the decision if a frame has expired into the LLC
This way the generation of the expiry information and the check is at the same place. This should make reading the code more easy.
Diffstat (limited to 'src/llc.h')
-rw-r--r--src/llc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llc.h b/src/llc.h
index f83b9f95..f1692f4b 100644
--- a/src/llc.h
+++ b/src/llc.h
@@ -28,6 +28,7 @@
*/
struct gprs_llc {
static void calc_pdu_lifetime(BTS *bts, const uint16_t pdu_delay_csec, struct timeval *tv);
+ static bool is_frame_expired(struct timeval *now, struct timeval *tv);
void init();
void reset();