diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-08-21 18:07:47 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-08-21 19:02:18 +0200 |
commit | 257b630216f0dc702013ecc51ac680b5296ae898 (patch) | |
tree | d5bdd36e3fd70855074623d7d0f3532920a75c01 /src/llc.h | |
parent | e91bd3babd5c04a154f296607b401a5050dcba31 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |