aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm/libosmogsm.map
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-04-13 03:36:49 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-04-13 05:28:09 +0200
commita78b22ba203d9674bb797623b9c1dd985b523663 (patch)
tree77453b0de925087e818ff474c6ac2a6bb02421f2 /src/gsm/libosmogsm.map
parent74663d97c6677d92ba9ed4338c190b8dc42b537e (diff)
add tlv_parse2(), capable of multiple instances of the same IE
Allow passing multiple struct tlv_parsed in an array, to allow parsing as many repeated IEs as are expected by the caller. From tlv_parse(), call tlv_parse2() with dec_multiple = 1 to yield the previous behavior. tlv_parse() remains valid API. An example of multiple IEs is the BSSMAP Handover Request, containing Cell Identifier (Serving) and Cell Identifier (Target), both defined by 3GPP TS 48.008 3.2.2.17 with identical IE tags; both are mandatory. Related: OS#2283 (inter-BSC HO, BSC side) Change-Id: Id04008eaf0a1cafdbdc11b7efc556e3035b1c84d
Diffstat (limited to 'src/gsm/libosmogsm.map')
-rw-r--r--src/gsm/libosmogsm.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index d99121e2..4d009e04 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -406,6 +406,7 @@ rxlev_stat_reset;
tlv_def_patch;
tlv_dump;
tlv_parse;
+tlv_parse2;
tlv_parse_one;
tvlv_att_def;
vtvlv_gan_att_def;