diff options
author | arehbein <arehbein@sysmocom.de> | 2023-06-24 19:37:33 +0200 |
---|---|---|
committer | arehbein <arehbein@sysmocom.de> | 2023-08-25 13:26:46 +0000 |
commit | f990b307bdc2c2f7dc94256094d3b60917d37177 (patch) | |
tree | 92996fc5f008f1195c608404097dc9094fd3589c /include/osmocom | |
parent | 74b626282cf451c0adfd8a13d3b82746d705365f (diff) |
stream: Add server-side (segmentation) support for IPA
With this commit, IPA segmentation can be taken care of by setting
the segmentation callback osmo_ipa_segmentation_cb().
Depends: libosmocore.git I3a639e6896cc3b3fc8e9b2e1a58254710efa0d3f
Related: OS#5753, OS#5751
Change-Id: I6c91ff385cb5f36ab6b6c96d0e44997995d0d24c
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/netif/stream.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/netif/stream.h b/include/osmocom/netif/stream.h index 057815b..6240205 100644 --- a/include/osmocom/netif/stream.h +++ b/include/osmocom/netif/stream.h @@ -58,6 +58,9 @@ void osmo_stream_srv_destroy(struct osmo_stream_srv *conn); void osmo_stream_srv_set_flush_and_destroy(struct osmo_stream_srv *conn); void osmo_stream_srv_set_data(struct osmo_stream_srv *conn, void *data); +void osmo_stream_srv_set_segmentation_cb(struct osmo_stream_srv *conn, + int (*segmentation_cb)(struct msgb *msg)); + void osmo_stream_srv_send(struct osmo_stream_srv *conn, struct msgb *msg); int osmo_stream_srv_recv(struct osmo_stream_srv *conn, struct msgb *msg); |