aboutsummaryrefslogtreecommitdiffstats
path: root/src/llc.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-21 18:07:47 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-21 19:02:18 +0200
commit257b630216f0dc702013ecc51ac680b5296ae898 (patch)
treed5bdd36e3fd70855074623d7d0f3532920a75c01 /src/llc.h
parente91bd3babd5c04a154f296607b401a5050dcba31 (diff)
llc: Add move_and_merge method to llc_queue
This methods takes all LLC frames from the old LLC queue and moves them into the current. If both queues are ordered chronologically (recv_time), the resulting queue is also ordered. Sponsored-by: On-Waves ehf
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 fe8958f..94de16e 100644
--- a/src/llc.h
+++ b/src/llc.h
@@ -80,6 +80,7 @@ struct gprs_llc_queue {
void enqueue(struct msgb *llc_msg, const MetaInfo *info = 0);
struct msgb *dequeue(const MetaInfo **info = 0);
void clear(BTS *bts);
+ void move_and_merge(gprs_llc_queue *o);
size_t size() const;
size_t octets() const;