aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmo-pcap-test
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-08-06 18:45:18 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-06 21:04:25 +0200
commit468d81b4ac3ce5d07d81857551dc00681a752f38 (patch)
tree3a04a3947d0999a4dea0a2a829a397199a51d077 /tests/osmo-pcap-test
parentf366c924e22f95149b109d79270ddcc274459186 (diff)
osmux: batching factor can be explicitly configured by caller
Not hardcoded in osmux.c code anymore.
Diffstat (limited to 'tests/osmo-pcap-test')
-rw-r--r--tests/osmo-pcap-test/osmux_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/osmo-pcap-test/osmux_test.c b/tests/osmo-pcap-test/osmux_test.c
index 8d62ffa..157947a 100644
--- a/tests/osmo-pcap-test/osmux_test.c
+++ b/tests/osmo-pcap-test/osmux_test.c
@@ -70,6 +70,7 @@ static void deliver(struct msgb *batch_msg)
*/
struct osmux_in_handle h_input = {
.osmux_seq = 0, /* sequence number to start OSmux message from */
+ .batch_factor = 4, /* batch up to 4 RTP messages */
.deliver = deliver,
};