diff options
author | Pablo Neira Ayuso <pablo@soleta.eu> | 2014-08-28 15:01:03 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@soleta.eu> | 2014-08-28 15:01:03 +0200 |
commit | d8947e37b09d4762161229324ad2bd35309b4d13 (patch) | |
tree | 18fb60ba8b74de6c661e3ca2f6ff0729ea5394ad /include | |
parent | 0b44016ef66788795dab051f4c9408cbc79d4978 (diff) |
osmux: allow to specify the osmux frame size
This patch adds a new field to the struct osmux_in_handle that allows
you to specify the osmux frame size. If not specified, the default
size assumes your nic uses a mtu of 1500 bytes.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/netif/osmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h index 4754089..2ee845c 100644 --- a/include/osmocom/netif/osmux.h +++ b/include/osmocom/netif/osmux.h @@ -44,6 +44,7 @@ struct osmux_hdr { struct osmux_in_handle { uint8_t osmux_seq; uint8_t batch_factor; + uint16_t batch_size; void (*deliver)(struct msgb *msg, void *data); void *data; char *internal_data; /* internal data to store batch */ |