aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorarehbein <arehbein@sysmocom.de>2023-05-22 17:09:49 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2023-08-07 16:50:22 +0200
commit8712af589cb0a9a5d73e10957e696cd05f9fdc68 (patch)
tree69bf24c16ddee091b1b95625a1bb37c3bc401fa4 /include
parent7fe21f67f647a1cede87042911588e57b17580c6 (diff)
examples: Add extension header octet to example
Mainly to make data/packets look (pseudo-)correct in Wireshark. Also: Add helper for allocating message buffers with extended headroom for IPA. Change-Id: I962b9edcba65cdc98da00d2f8753dc5acd481502
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/netif/ipa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/netif/ipa.h b/include/osmocom/netif/ipa.h
index 0d1085f..7494d8d 100644
--- a/include/osmocom/netif/ipa.h
+++ b/include/osmocom/netif/ipa.h
@@ -19,6 +19,8 @@ struct ipa_head_ext {
} __attribute__ ((packed));
struct msgb *osmo_ipa_msg_alloc(int headroom);
+struct msgb *osmo_ipa_ext_msg_alloc(size_t headroom);
+
void osmo_ipa_msg_push_header(struct msgb *msg, uint8_t proto);
int osmo_ipa_process_msg(struct msgb *msg);