From fad5752ab5b91e615dd82365c0663e38b4540dcd Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 13 Dec 2015 11:56:36 +0100 Subject: RSL: Add enum + TLV definitions for ip.access style embedded IEs --- include/osmocom/gsm/rsl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/osmocom/gsm/rsl.h') 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 */ -- cgit v1.2.3