Mercurial > hg > freeDiameter
comparison extensions/dict_dcca_3gpp/add_avps.c @ 1517:9e233ef0b07e
Add 3GPP TS 29.283 V15.1.0 (2019-09)
Add AVPs:
- MCPTT-ID, UTF8String, code 4500, section 7.3.2
- Data-Identification, Grouped, code 4501, section 7.3.3
- Data-Identification-Prefix, Unsigned32, code 4502, section 7.3.11
- Data-Identification-Flags, Unsigned64, code 4503, section 7.3.12
- DPR-Flags, Unsigned32, code 4504, section 7.3.13
- DPA-Flags, Unsigned32, code 4505, section 7.3.14
- DUR-Flags, Unsigned32, code 4506, section 7.3.15
- DUA-Flags, Unsigned32, code 4507, section 7.3.16
- NDR-Flags, Unsigned32, code 4508, section 7.3.17
- NDA-Flags, Unsigned32, code 4509, section 7.3.18
- User-Data-Id, Unsigned32, code 4510, section 7.3.19
- MC-Service-User-Profile-Data, Grouped, code 4511, section 7.3.20
- Sequence-Number-29.283, Unsigned32, code 4512, section 7.3.21
- Data, Grouped, code 4513, section 7.3.22
- MCVideo-ID, UTF8String, code 4514, section 7.3.24
- MCData-ID, UTF8String, code 4515, section 7.3.25
Note: Name conflict with 3GPP TS 29.140 Sequence-Number (1107).
and 3GPP TS 29.329 Sequence-Number (716).
3GPP TS 29.140 V6.1.0 (2005-06) allocated Sequence-Number (1107).
3GPP TS 29.329 V10.0.0 (2010-09) CR 0163 added Sequence-Number (716).
3GPP TS 29.283 V13.1.0 (2016-06) allocated Sequence-Number (4512).
Fix: Sequence-Number (4512) renamed to Sequence-Number-29.283 (4512).
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Thu, 09 Apr 2020 10:32:09 +1000 |
parents | 435167c2e51c |
children | 3ea61a6aaefe |
comparison
equal
deleted
inserted
replaced
1516:435167c2e51c | 1517:9e233ef0b07e |
---|---|
1725 AVP_TYPE_GROUPED /* base type of data */ | 1725 AVP_TYPE_GROUPED /* base type of data */ |
1726 }; | 1726 }; |
1727 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | 1727 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); |
1728 }; | 1728 }; |
1729 | 1729 |
1730 /* Note: Name conflict with 3GPP TS 29.329 Sequence-Number (716). */ | 1730 /* Note: Name conflict with 3GPP TS 29.329 Sequence-Number (716) */ |
1731 /* and 3GPP TS 29.283 Sequence-Number (4512). */ | |
1731 /* 3GPP TS 29.140 V6.1.0 (2005-06) allocated Sequence-Number (1107). */ | 1732 /* 3GPP TS 29.140 V6.1.0 (2005-06) allocated Sequence-Number (1107). */ |
1732 /* 3GPP TS 29.329 V10.0.0 (2010-09) CR 0163 added Sequence-Number (716). */ | 1733 /* 3GPP TS 29.329 V10.0.0 (2010-09) CR 0163 added Sequence-Number (716). */ |
1734 /* 3GPP TS 29.283 V13.1.0 (2016-06) allocated Sequence-Number (4512). */ | |
1733 /* */ | 1735 /* */ |
1734 /* Fix: Sequence-Number (1107) renamed to Sequence-Number-29.140 (1107). */ | 1736 /* Fix: Sequence-Number (1107) renamed to Sequence-Number-29.140 (1107). */ |
1735 /* Sequence-Number-29.140, Unsigned32, code 1107, section 6.3.10 */ | 1737 /* Sequence-Number-29.140, Unsigned32, code 1107, section 6.3.10 */ |
1736 { | 1738 { |
1737 struct dict_avp_data data = { | 1739 struct dict_avp_data data = { |
11179 /* */ | 11181 /* */ |
11180 /* Note: No AVPs are first defined in this table. */ | 11182 /* Note: No AVPs are first defined in this table. */ |
11181 /*==================================================================*/ | 11183 /*==================================================================*/ |
11182 | 11184 |
11183 /*==================================================================*/ | 11185 /*==================================================================*/ |
11186 /* 3GPP TS 29.283 V15.1.0 (2019-09) */ | |
11187 /* Diameter Data Management Applications */ | |
11188 /* */ | |
11189 /* From 3GPP 29283-f10.doc */ | |
11190 /*==================================================================*/ | |
11191 | |
11192 /*==================================================================*/ | |
11193 /* 3GPP TS 29.283 Table 7.3.1-1: MCPTT-2, MCVideo-2, MCData-2 and CSC-13 specific Diameter AVPs */ | |
11194 /*==================================================================*/ | |
11195 | |
11196 /* MCPTT-ID, UTF8String, code 4500, section 7.3.2 */ | |
11197 { | |
11198 struct dict_avp_data data = { | |
11199 4500, /* Code */ | |
11200 10415, /* Vendor */ | |
11201 "MCPTT-ID", /* Name */ | |
11202 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11203 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11204 AVP_TYPE_OCTETSTRING /* base type of data */ | |
11205 }; | |
11206 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
11207 }; | |
11208 | |
11209 /* Data-Identification, Grouped, code 4501, section 7.3.3 */ | |
11210 { | |
11211 struct dict_avp_data data = { | |
11212 4501, /* Code */ | |
11213 10415, /* Vendor */ | |
11214 "Data-Identification", /* Name */ | |
11215 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11216 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11217 AVP_TYPE_GROUPED /* base type of data */ | |
11218 }; | |
11219 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11220 }; | |
11221 | |
11222 /* Data-Identification-Prefix, Unsigned32, code 4502, section 7.3.11 */ | |
11223 { | |
11224 struct dict_avp_data data = { | |
11225 4502, /* Code */ | |
11226 10415, /* Vendor */ | |
11227 "Data-Identification-Prefix", /* Name */ | |
11228 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11229 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11230 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11231 }; | |
11232 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11233 }; | |
11234 | |
11235 /* Data-Identification-Flags, Unsigned64, code 4503, section 7.3.12 */ | |
11236 { | |
11237 struct dict_avp_data data = { | |
11238 4503, /* Code */ | |
11239 10415, /* Vendor */ | |
11240 "Data-Identification-Flags", /* Name */ | |
11241 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11242 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11243 AVP_TYPE_UNSIGNED64 /* base type of data */ | |
11244 }; | |
11245 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11246 }; | |
11247 | |
11248 /* DPR-Flags, Unsigned32, code 4504, section 7.3.13 */ | |
11249 { | |
11250 struct dict_avp_data data = { | |
11251 4504, /* Code */ | |
11252 10415, /* Vendor */ | |
11253 "DPR-Flags", /* Name */ | |
11254 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11255 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11256 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11257 }; | |
11258 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11259 }; | |
11260 | |
11261 /* DPA-Flags, Unsigned32, code 4505, section 7.3.14 */ | |
11262 { | |
11263 struct dict_avp_data data = { | |
11264 4505, /* Code */ | |
11265 10415, /* Vendor */ | |
11266 "DPA-Flags", /* Name */ | |
11267 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11268 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11269 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11270 }; | |
11271 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11272 }; | |
11273 | |
11274 /* DUR-Flags, Unsigned32, code 4506, section 7.3.15 */ | |
11275 { | |
11276 struct dict_avp_data data = { | |
11277 4506, /* Code */ | |
11278 10415, /* Vendor */ | |
11279 "DUR-Flags", /* Name */ | |
11280 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11281 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11282 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11283 }; | |
11284 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11285 }; | |
11286 | |
11287 /* DUA-Flags, Unsigned32, code 4507, section 7.3.16 */ | |
11288 { | |
11289 struct dict_avp_data data = { | |
11290 4507, /* Code */ | |
11291 10415, /* Vendor */ | |
11292 "DUA-Flags", /* Name */ | |
11293 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11294 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11295 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11296 }; | |
11297 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11298 }; | |
11299 | |
11300 /* NDR-Flags, Unsigned32, code 4508, section 7.3.17 */ | |
11301 { | |
11302 struct dict_avp_data data = { | |
11303 4508, /* Code */ | |
11304 10415, /* Vendor */ | |
11305 "NDR-Flags", /* Name */ | |
11306 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11307 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11308 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11309 }; | |
11310 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11311 }; | |
11312 | |
11313 /* NDA-Flags, Unsigned32, code 4509, section 7.3.18 */ | |
11314 { | |
11315 struct dict_avp_data data = { | |
11316 4509, /* Code */ | |
11317 10415, /* Vendor */ | |
11318 "NDA-Flags", /* Name */ | |
11319 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11320 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11321 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11322 }; | |
11323 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11324 }; | |
11325 | |
11326 /* User-Data-Id, Unsigned32, code 4510, section 7.3.19 */ | |
11327 { | |
11328 struct dict_avp_data data = { | |
11329 4510, /* Code */ | |
11330 10415, /* Vendor */ | |
11331 "User-Data-Id", /* Name */ | |
11332 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11333 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11334 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11335 }; | |
11336 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11337 }; | |
11338 | |
11339 /* MC-Service-User-Profile-Data, Grouped, code 4511, section 7.3.20 */ | |
11340 { | |
11341 struct dict_avp_data data = { | |
11342 4511, /* Code */ | |
11343 10415, /* Vendor */ | |
11344 "MC-Service-User-Profile-Data", /* Name */ | |
11345 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11346 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11347 AVP_TYPE_GROUPED /* base type of data */ | |
11348 }; | |
11349 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11350 }; | |
11351 | |
11352 /* Note: Name conflict with 3GPP TS 29.140 Sequence-Number (1107). */ | |
11353 /* and 3GPP TS 29.329 Sequence-Number (716). */ | |
11354 /* 3GPP TS 29.140 V6.1.0 (2005-06) allocated Sequence-Number (1107). */ | |
11355 /* 3GPP TS 29.329 V10.0.0 (2010-09) CR 0163 added Sequence-Number (716). */ | |
11356 /* 3GPP TS 29.283 V13.1.0 (2016-06) allocated Sequence-Number (4512). */ | |
11357 /* */ | |
11358 /* Fix: Sequence-Number (4512) renamed to Sequence-Number-29.283 (4512). */ | |
11359 /* Sequence-Number-29.283, Unsigned32, code 4512, section 7.3.21 */ | |
11360 { | |
11361 struct dict_avp_data data = { | |
11362 4512, /* Code */ | |
11363 10415, /* Vendor */ | |
11364 "Sequence-Number-29.283", /* Name */ | |
11365 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11366 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11367 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
11368 }; | |
11369 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11370 }; | |
11371 | |
11372 /* Data, Grouped, code 4513, section 7.3.22 */ | |
11373 { | |
11374 struct dict_avp_data data = { | |
11375 4513, /* Code */ | |
11376 10415, /* Vendor */ | |
11377 "Data", /* Name */ | |
11378 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11379 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
11380 AVP_TYPE_GROUPED /* base type of data */ | |
11381 }; | |
11382 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
11383 }; | |
11384 | |
11385 /* MCVideo-ID, UTF8String, code 4514, section 7.3.24 */ | |
11386 { | |
11387 struct dict_avp_data data = { | |
11388 4514, /* Code */ | |
11389 10415, /* Vendor */ | |
11390 "MCVideo-ID", /* Name */ | |
11391 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11392 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
11393 AVP_TYPE_OCTETSTRING /* base type of data */ | |
11394 }; | |
11395 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
11396 }; | |
11397 | |
11398 /* MCData-ID, UTF8String, code 4515, section 7.3.25 */ | |
11399 { | |
11400 struct dict_avp_data data = { | |
11401 4515, /* Code */ | |
11402 10415, /* Vendor */ | |
11403 "MCData-ID", /* Name */ | |
11404 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
11405 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
11406 AVP_TYPE_OCTETSTRING /* base type of data */ | |
11407 }; | |
11408 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
11409 }; | |
11410 | |
11411 /*==================================================================*/ | |
11184 /* 3GPP TS 29.329 V15.2.0 (2019-09) */ | 11412 /* 3GPP TS 29.329 V15.2.0 (2019-09) */ |
11185 /* Sh Interface based on the Diameter protocol; */ | 11413 /* Sh Interface based on the Diameter protocol; */ |
11186 /* Protocol details */ | 11414 /* Protocol details */ |
11187 /* */ | 11415 /* */ |
11188 /* From 3GPP 29329-f20.doc */ | 11416 /* From 3GPP 29329-f20.doc */ |
11429 AVP_TYPE_GROUPED /* base type of data */ | 11657 AVP_TYPE_GROUPED /* base type of data */ |
11430 }; | 11658 }; |
11431 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | 11659 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); |
11432 }; | 11660 }; |
11433 | 11661 |
11434 /* Note: Name conflict with 3GPP TS 29.140 Sequence-Number (1107). */ | 11662 /* Note: Name conflict with 3GPP TS 29.140 Sequence-Number (1107) */ |
11663 /* and 3GPP TS 29.283 Sequence-Number (4512). */ | |
11435 /* 3GPP TS 29.140 V6.1.0 (2005-06) allocated Sequence-Number (1107). */ | 11664 /* 3GPP TS 29.140 V6.1.0 (2005-06) allocated Sequence-Number (1107). */ |
11436 /* 3GPP TS 29.329 V10.0.0 (2010-09) CR 0163 added Sequence-Number (716). */ | 11665 /* 3GPP TS 29.329 V10.0.0 (2010-09) CR 0163 added Sequence-Number (716). */ |
11666 /* 3GPP TS 29.283 V13.1.0 (2016-06) allocated Sequence-Number (4512). */ | |
11437 /* Sequence-Number, Unsigned32, code 716, section 6.3.25 */ | 11667 /* Sequence-Number, Unsigned32, code 716, section 6.3.25 */ |
11438 { | 11668 { |
11439 struct dict_avp_data data = { | 11669 struct dict_avp_data data = { |
11440 716, /* Code */ | 11670 716, /* Code */ |
11441 10415, /* Vendor */ | 11671 10415, /* Vendor */ |