Mercurial > hg > freeDiameter
comparison extensions/dict_dcca_3gpp/add_avps.c @ 1508:eb19aa48829f
Add 3GPP TS 29.343 V15.1.0 (2019-09)
Add AVPs:
- Origin-App-Layer-User-Id, UTF8String, code 3600, section 6.4.2
- Target-App-Layer-User-Id, UTF8String, code 3601, section 6.4.3
- ProSe-Function-ID, OctetString, code 3602, section 6.4.4
- ProSe-Request-Type, Unsigned32, code 3603, section 6.4.5
- PDUID, OctetString, code 3604, section 6.4.6
- Application-Data, UTF8String, code 3605, section 6.4.7
- Allowed-Suffixes-Number, Unsigned32, code 3606, section 6.4.8
- Monitor-Target, Grouped, code 3607, section 6.4.9
- ProSe-Code-Suffix-Mask, Grouped, code 3608, section 6.4.10
- Suffix-Code, OctetString, code 3609, section 6.4.11
- Suffix-Mask, OctetString, code 3610, section 6.4.12
- Banned-User-Target, Grouped, code 3611, section 6.4.17
- Metadata-Indicator, Unsigned32, code 3612, section 6.4.18
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Sat, 04 Apr 2020 21:28:45 +1100 |
parents | f5b1c2e2827f |
children | 4a1737b7ec8e |
comparison
equal
deleted
inserted
replaced
1507:f5b1c2e2827f | 1508:eb19aa48829f |
---|---|
12389 }; | 12389 }; |
12390 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | 12390 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); |
12391 }; | 12391 }; |
12392 | 12392 |
12393 /*==================================================================*/ | 12393 /*==================================================================*/ |
12394 /* 3GPP TS 29.343 V15.1.0 (2019-09) */ | |
12395 /* Proximity-services (ProSe) function to */ | |
12396 /* ProSe application server aspects (PC2); */ | |
12397 /* Stage 3 */ | |
12398 /* */ | |
12399 /* From 29343-f10.doc */ | |
12400 /*==================================================================*/ | |
12401 | |
12402 /*==================================================================*/ | |
12403 /* 3GPP TS 29.343 Table 6.4.1-1: PC2 specific Diameter AVPs */ | |
12404 /*==================================================================*/ | |
12405 | |
12406 /* Origin-App-Layer-User-Id, UTF8String, code 3600, section 6.4.2 */ | |
12407 { | |
12408 struct dict_avp_data data = { | |
12409 3600, /* Code */ | |
12410 10415, /* Vendor */ | |
12411 "Origin-App-Layer-User-Id", /* Name */ | |
12412 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12413 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
12414 AVP_TYPE_OCTETSTRING /* base type of data */ | |
12415 }; | |
12416 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
12417 }; | |
12418 | |
12419 /* Target-App-Layer-User-Id, UTF8String, code 3601, section 6.4.3 */ | |
12420 { | |
12421 struct dict_avp_data data = { | |
12422 3601, /* Code */ | |
12423 10415, /* Vendor */ | |
12424 "Target-App-Layer-User-Id", /* Name */ | |
12425 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12426 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
12427 AVP_TYPE_OCTETSTRING /* base type of data */ | |
12428 }; | |
12429 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
12430 }; | |
12431 | |
12432 /* ProSe-Function-ID, OctetString, code 3602, section 6.4.4 */ | |
12433 { | |
12434 struct dict_avp_data data = { | |
12435 3602, /* Code */ | |
12436 10415, /* Vendor */ | |
12437 "ProSe-Function-ID", /* Name */ | |
12438 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12439 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
12440 AVP_TYPE_OCTETSTRING /* base type of data */ | |
12441 }; | |
12442 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12443 }; | |
12444 | |
12445 /* ProSe-Request-Type, Unsigned32, code 3603, section 6.4.5 */ | |
12446 { | |
12447 struct dict_avp_data data = { | |
12448 3603, /* Code */ | |
12449 10415, /* Vendor */ | |
12450 "ProSe-Request-Type", /* Name */ | |
12451 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12452 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ | |
12453 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
12454 }; | |
12455 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12456 }; | |
12457 | |
12458 /* PDUID, OctetString, code 3604, section 6.4.6 */ | |
12459 { | |
12460 struct dict_avp_data data = { | |
12461 3604, /* Code */ | |
12462 10415, /* Vendor */ | |
12463 "PDUID", /* Name */ | |
12464 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12465 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12466 AVP_TYPE_OCTETSTRING /* base type of data */ | |
12467 }; | |
12468 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12469 }; | |
12470 | |
12471 /* Application-Data, UTF8String, code 3605, section 6.4.7 */ | |
12472 { | |
12473 struct dict_avp_data data = { | |
12474 3605, /* Code */ | |
12475 10415, /* Vendor */ | |
12476 "Application-Data", /* Name */ | |
12477 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12478 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12479 AVP_TYPE_OCTETSTRING /* base type of data */ | |
12480 }; | |
12481 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); | |
12482 }; | |
12483 | |
12484 /* Allowed-Suffixes-Number, Unsigned32, code 3606, section 6.4.8 */ | |
12485 { | |
12486 struct dict_avp_data data = { | |
12487 3606, /* Code */ | |
12488 10415, /* Vendor */ | |
12489 "Allowed-Suffixes-Number", /* Name */ | |
12490 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12491 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12492 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
12493 }; | |
12494 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12495 }; | |
12496 | |
12497 /* Monitor-Target, Grouped, code 3607, section 6.4.9 */ | |
12498 { | |
12499 struct dict_avp_data data = { | |
12500 3607, /* Code */ | |
12501 10415, /* Vendor */ | |
12502 "Monitor-Target", /* Name */ | |
12503 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12504 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12505 AVP_TYPE_GROUPED /* base type of data */ | |
12506 }; | |
12507 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12508 }; | |
12509 | |
12510 /* ProSe-Code-Suffix-Mask, Grouped, code 3608, section 6.4.10 */ | |
12511 { | |
12512 struct dict_avp_data data = { | |
12513 3608, /* Code */ | |
12514 10415, /* Vendor */ | |
12515 "ProSe-Code-Suffix-Mask", /* Name */ | |
12516 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12517 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12518 AVP_TYPE_GROUPED /* base type of data */ | |
12519 }; | |
12520 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12521 }; | |
12522 | |
12523 /* Suffix-Code, OctetString, code 3609, section 6.4.11 */ | |
12524 { | |
12525 struct dict_avp_data data = { | |
12526 3609, /* Code */ | |
12527 10415, /* Vendor */ | |
12528 "Suffix-Code", /* Name */ | |
12529 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12530 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12531 AVP_TYPE_OCTETSTRING /* base type of data */ | |
12532 }; | |
12533 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12534 }; | |
12535 | |
12536 /* Suffix-Mask, OctetString, code 3610, section 6.4.12 */ | |
12537 { | |
12538 struct dict_avp_data data = { | |
12539 3610, /* Code */ | |
12540 10415, /* Vendor */ | |
12541 "Suffix-Mask", /* Name */ | |
12542 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12543 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12544 AVP_TYPE_OCTETSTRING /* base type of data */ | |
12545 }; | |
12546 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12547 }; | |
12548 | |
12549 /* Banned-User-Target, Grouped, code 3611, section 6.4.17 */ | |
12550 { | |
12551 struct dict_avp_data data = { | |
12552 3611, /* Code */ | |
12553 10415, /* Vendor */ | |
12554 "Banned-User-Target", /* Name */ | |
12555 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12556 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12557 AVP_TYPE_GROUPED /* base type of data */ | |
12558 }; | |
12559 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12560 }; | |
12561 | |
12562 /* Metadata-Indicator, Unsigned32, code 3612, section 6.4.18 */ | |
12563 { | |
12564 struct dict_avp_data data = { | |
12565 3612, /* Code */ | |
12566 10415, /* Vendor */ | |
12567 "Metadata-Indicator", /* Name */ | |
12568 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ | |
12569 AVP_FLAG_VENDOR, /* Fixed flag values */ | |
12570 AVP_TYPE_UNSIGNED32 /* base type of data */ | |
12571 }; | |
12572 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); | |
12573 }; | |
12574 | |
12575 /*==================================================================*/ | |
12394 /* 3GPP TS 29.344 V15.1.0 (2019-09) */ | 12576 /* 3GPP TS 29.344 V15.1.0 (2019-09) */ |
12395 /* Proximity-services (ProSe) Function to Home Subscriber */ | 12577 /* Proximity-services (ProSe) Function to Home Subscriber */ |
12396 /* Server (HSS) aspects; */ | 12578 /* Server (HSS) aspects; */ |
12397 /* Stage 3 */ | 12579 /* Stage 3 */ |
12398 /* */ | 12580 /* */ |