summaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-06-29 22:31:21 +0200
committerHarald Welte <laforge@gnumonks.org>2010-06-29 22:31:21 +0200
commite34a94054227bb8b21a6082f7954fea980e2fead (patch)
treee2e25c734e2aba03dd01f330c26d40dd9b2df261 /include/osmocore
parente779c364ac7eb1f6bcf42e507972bc3322e6f908 (diff)
[gsmtap] add new gsmtap_makemsg() function
This generates a gsmtap message without actually enqueueing to a bsc_select style queue.
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/gsmtap_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osmocore/gsmtap_util.h b/include/osmocore/gsmtap_util.h
index 30fc1267..96449443 100644
--- a/include/osmocore/gsmtap_util.h
+++ b/include/osmocore/gsmtap_util.h
@@ -7,6 +7,11 @@
uint8_t chantype_rsl2gsmtap(uint8_t rsl_chantype, uint8_t rsl_link_id);
/* receive a message from L1/L2 and put it in GSMTAP */
+struct msgb *gsmtap_makemsg(uint16_t arfcn, uint8_t ts, uint8_t chan_type,
+ uint8_t ss, uint32_t fn, int8_t signal_dbm,
+ uint8_t snr, const uint8_t *data, unsigned int len);
+
+/* receive a message from L1/L2 and put it in GSMTAP */
int gsmtap_sendmsg(uint16_t arfcn, uint8_t ts, uint8_t chan_type, uint8_t ss,
uint32_t fn, int8_t signal_dbm, uint8_t snr,
const uint8_t *data, unsigned int len);