aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/rsl.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-13 11:56:36 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-13 21:57:29 +0100
commitfad5752ab5b91e615dd82365c0663e38b4540dcd (patch)
treeb6723ca1cb8eb7e6320f835fa7166c4834349b25 /include/osmocom/gsm/rsl.h
parentf4b173cb0c8c5179081a4b82928b375fdf0caf17 (diff)
RSL: Add enum + TLV definitions for ip.access style embedded IEs
Diffstat (limited to 'include/osmocom/gsm/rsl.h')
-rw-r--r--include/osmocom/gsm/rsl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/gsm/rsl.h b/include/osmocom/gsm/rsl.h
index 753dd191..418e3f03 100644
--- a/include/osmocom/gsm/rsl.h
+++ b/include/osmocom/gsm/rsl.h
@@ -21,6 +21,12 @@ extern const struct tlv_definition rsl_att_tlvdef;
#define rsl_tlv_parse(dec, buf, len) \
tlv_parse(dec, &rsl_att_tlvdef, buf, len, 0, 0)
+extern const struct tlv_definition rsl_ipac_eie_tlvdef;
+
+/*! \brief Parse RSL IPAC EIE TLV structure using \ref tlv_parse */
+#define rsl_ipac_eie_tlv_parse(dec, buf, len) \
+ tlv_parse(dec, &rsl_ipac_eie_tlvdef, buf, len, 0, 0)
+
/* encode channel number as per Section 9.3.1 */
uint8_t rsl_enc_chan_nr(uint8_t type, uint8_t subch, uint8_t timeslot);
/* decode channel number as per Section 9.3.1 */