aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/msg_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmo-bts/msg_utils.h')
-rw-r--r--include/osmo-bts/msg_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/msg_utils.h b/include/osmo-bts/msg_utils.h
index cde7a93b..f03eb438 100644
--- a/include/osmo-bts/msg_utils.h
+++ b/include/osmo-bts/msg_utils.h
@@ -10,6 +10,9 @@
struct msgb;
+/* Access 1st byte of msgb control buffer */
+#define rtpmsg_marker_bit(x) ((x)->cb[0])
+
/**
* Classification of OML message. ETSI for plain GSM 12.21
* messages and IPA/Osmo for manufacturer messages.