aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/netif/osmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/netif/osmux.h')
-rw-r--r--include/osmocom/netif/osmux.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h
index 2ee845c..03da1b6 100644
--- a/include/osmocom/netif/osmux.h
+++ b/include/osmocom/netif/osmux.h
@@ -45,6 +45,14 @@ struct osmux_in_handle {
uint8_t osmux_seq;
uint8_t batch_factor;
uint16_t batch_size;
+
+ struct {
+ uint32_t input_rtp_msgs;
+ uint32_t output_osmux_msgs;
+ uint64_t input_rtp_bytes;
+ uint64_t output_osmux_bytes;
+ } stats;
+
void (*deliver)(struct msgb *msg, void *data);
void *data;
char *internal_data; /* internal data to store batch */