Mercurial > hg > freeDiameter
annotate contrib/dict_dcca/dict_dcca_3gpp.c @ 832:405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
fix some, add some, remove some duplicates.
-- Thomas Klausner <tk@giga.or.at>
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 27 Sep 2012 20:56:47 +0200 |
parents | 7dec09939400 |
children | 885f5eb20b21 |
rev | line source |
---|---|
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
1 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
2 * Dictionary definitions of objects specified in DCCA (Nokia, 3GPP). |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
3 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
4 #include <freeDiameter/extension.h> |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
5 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
6 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
7 /* The content of this file follows the same structure as dict_base_proto.c */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
8 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
9 #define CHECK_dict_new( _type, _data, _parent, _ref ) \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
10 CHECK_FCT( fd_dict_new( fd_g_config->cnf_dict, (_type), (_data), (_parent), (_ref)) ); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
11 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
12 #define CHECK_dict_search( _type, _criteria, _what, _result ) \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
13 CHECK_FCT( fd_dict_search( fd_g_config->cnf_dict, (_type), (_criteria), (_what), (_result), ENOENT) ); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
14 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
15 struct local_rules_definition { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
16 char *avp_name; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
17 enum rule_position position; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
18 int min; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
19 int max; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
20 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
21 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
22 #define RULE_ORDER( _position ) ((((_position) == RULE_FIXED_HEAD) || ((_position) == RULE_FIXED_TAIL)) ? 1 : 0 ) |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
23 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
24 #define PARSE_loc_rules( _rulearray, _parent) { \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
25 int __ar; \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
26 for (__ar=0; __ar < sizeof(_rulearray) / sizeof((_rulearray)[0]); __ar++) { \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
27 struct dict_rule_data __data = { NULL, \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
28 (_rulearray)[__ar].position, \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
29 0, \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
30 (_rulearray)[__ar].min, \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
31 (_rulearray)[__ar].max}; \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
32 __data.rule_order = RULE_ORDER(__data.rule_position); \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
33 CHECK_FCT( fd_dict_search( \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
34 fd_g_config->cnf_dict, \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
35 DICT_AVP, \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
36 AVP_BY_NAME, \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
37 (_rulearray)[__ar].avp_name, \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
38 &__data.rule_avp, 0 ) ); \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
39 if ( !__data.rule_avp ) { \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
40 TRACE_DEBUG(INFO, "AVP Not found: '%s'", (_rulearray)[__ar].avp_name ); \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
41 return ENOENT; \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
42 } \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
43 CHECK_FCT_DO( fd_dict_new( fd_g_config->cnf_dict, DICT_RULE, &__data, _parent, NULL), \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
44 { \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
45 TRACE_DEBUG(INFO, "Error on rule with AVP '%s'", \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
46 (_rulearray)[__ar].avp_name ); \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
47 return EINVAL; \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
48 } ); \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
49 } \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
50 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
51 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
52 #define enumval_def_u32( _val_, _str_ ) \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
53 { _str_, { .u32 = _val_ }} |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
54 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
55 #define enumval_def_os( _len_, _val_, _str_ ) \ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
56 { _str_, { .os = { .data = (unsigned char *)_val_, .len = _len_ }}} |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
57 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
58 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
59 static int dict_dcca_3gpp_entry(char * conffile) |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
60 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
61 struct dict_object * dcca; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
62 TRACE_ENTRY("%p", conffile); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
63 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
64 /* Applications section */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
65 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
66 /* DCCA */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
67 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
68 struct dict_application_data data = { 4, "Diameter Credit Control Application" }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
69 CHECK_dict_new( DICT_APPLICATION, &data, NULL, &dcca); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
70 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
71 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
72 /* Create the vendors */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
73 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
74 struct dict_vendor_data vendor_data = { 10415, "3GPP" }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
75 CHECK_FCT(fd_dict_new(fd_g_config->cnf_dict, DICT_VENDOR, &vendor_data, NULL, NULL)); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
76 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
77 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
78 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
79 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
80 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
81 /* AVP section */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
82 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
83 struct dict_object * Address_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
84 struct dict_object * UTF8String_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
85 struct dict_object * DiameterIdentity_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
86 struct dict_object * DiameterURI_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
87 struct dict_object * Time_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
88 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
89 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "Address", &Address_type); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
90 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "UTF8String", &UTF8String_type); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
91 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "DiameterIdentity", &DiameterIdentity_type); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
92 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "DiameterURI", &DiameterURI_type); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
93 CHECK_dict_search( DICT_TYPE, TYPE_BY_NAME, "Time", &Time_type); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
94 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
95 /* Reporting-Reason */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
96 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
97 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
98 Enumerated. Will be present if quota was |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
99 exhausted for one or more metering types. Only |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
100 one Reporting-Reason AVP can be present in the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
101 Used-Service-Unit AVP. (Note that the Reporting- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
102 Reason AVP may be present also at the MSCC |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
103 level; see below.) |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
104 The following values are supported: |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
105 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
106 QUOTA_EXHAUSTED(3); Quota for the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
107 associated metering type has been |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
108 exhausted. With this reporting reason there is |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
109 only one metering type in this Used-Service- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
110 Unit AVP. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
111 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
112 OTHER_QUOTA_TYPE(5); Quota for one or |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
113 more of the other metering types has been |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
114 exhausted. With this reporting reason there |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
115 may be multiple metering types in Used- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
116 Service-Unit AVP. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
117 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
118 POOL_EXHAUSTED(8); Quota from the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
119 credit pool has been exhausted. This reporting |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
120 reason is used if the quota for the associated |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
121 metering type was granted from a credit pool |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
122 by using the GSU-Pool-Reference AVP in the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
123 CCA. With this reporting reason there is only |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
124 one metering type in the Used-Service-Unit |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
125 AVP. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
126 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
127 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
128 struct dict_object *type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
129 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Reporting-Reason)" , NULL, NULL, NULL }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
130 struct dict_enumval_data t_1 = { "QHT", { .i32 = 1 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
131 struct dict_enumval_data t_2 = { "FINAL", { .i32 = 2 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
132 struct dict_enumval_data t_3 = { "QUOTA_EXHAUSTED", { .i32 = 3 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
133 struct dict_enumval_data t_4 = { "VALIDITY_TIME", { .i32 = 4 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
134 struct dict_enumval_data t_5 = { "OTHER_QUOTA_TYPE", { .i32 = 5 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
135 struct dict_enumval_data t_6 = { "RATING_CONDITION_CHANGE", { .i32 = 6 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
136 struct dict_enumval_data t_7 = { "FORCED_REAUTHORIZATION", { .i32 = 7 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
137 struct dict_enumval_data t_8 = { "POOL_EXHAUSTED", { .i32 = 8 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
138 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
139 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
140 872, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
141 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
142 "Reporting-Reason", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
143 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
144 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
145 AVP_TYPE_INTEGER32 /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
146 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
147 /* Create the Enumerated type, and then the AVP */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
148 CHECK_dict_new( DICT_TYPE, &tdata , NULL, &type); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
149 CHECK_dict_new( DICT_ENUMVAL, &t_3 , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
150 CHECK_dict_new( DICT_ENUMVAL, &t_5 , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
151 CHECK_dict_new( DICT_ENUMVAL, &t_8 , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
152 CHECK_dict_new( DICT_AVP, &data , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
153 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
154 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
155 /* Trigger */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
156 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
157 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
158 Grouped. The presence of the Trigger AVP in the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
159 CCR identifies the event(s) triggering the CCR. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
160 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
161 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
162 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
163 1264, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
164 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
165 "Trigger", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
166 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
167 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
168 AVP_TYPE_GROUPED /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
169 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
170 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
171 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
172 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
173 /* Trigger-Type */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
174 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
175 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
176 Enumerated. One or more of these AVPs may be |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
177 present. Indicates the event that triggered the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
178 MSCC. Supported values are: |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
179 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
180 CHANGE_IN_SGSN_IP_ADDRESS (1), a change in the SGSN address. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
181 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
182 CHANGEINQOS_ANY (2), a change in the QoS profile |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
183 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
184 CHANGEINRAT (4), a change in radio access technology |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
185 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
186 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
187 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
188 struct dict_object *type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
189 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Trigger-Type)" , NULL, NULL, NULL }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
190 struct dict_enumval_data t_1 = { "CHANGE_IN_SGSN_IP_ADDRESS", { .i32 = 1 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
191 struct dict_enumval_data t_2 = { "CHANGEINQOS_ANY", { .i32 = 2 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
192 struct dict_enumval_data t_4 = { "CHANGEINRAT", { .i32 = 4 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
193 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
194 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
195 870, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
196 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
197 "Trigger-Type", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
198 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
199 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
200 AVP_TYPE_INTEGER32 /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
201 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
202 /* Create the Enumerated type, and then the AVP */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
203 CHECK_dict_new( DICT_TYPE, &tdata , NULL, &type); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
204 CHECK_dict_new( DICT_ENUMVAL, &t_1 , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
205 CHECK_dict_new( DICT_ENUMVAL, &t_2 , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
206 CHECK_dict_new( DICT_ENUMVAL, &t_4 , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
207 CHECK_dict_new( DICT_AVP, &data , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
208 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
209 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
210 /* Service-Information */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
211 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
212 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
213 Grouped. The Service-Information purpose is to |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
214 allow the transmission of additional 3GPP service |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
215 specific information elements (3GPP 32.299 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
216 Rel7). |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
217 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
218 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
219 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
220 873, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
221 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
222 "Service-Information", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
223 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
224 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
225 AVP_TYPE_GROUPED /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
226 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
227 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
228 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
229 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
230 /* PS-Information */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
231 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
232 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
233 Grouped. Its purpose is to allow the transmission |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
234 of additional PS service specific information |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
235 elements (3GPP 32.299 Rel7). |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
236 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
237 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
238 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
239 874, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
240 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
241 "PS-Information", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
242 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
243 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
244 AVP_TYPE_GROUPED /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
245 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
246 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
247 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
248 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
249 /* PDP-Address */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
250 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
251 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
252 Address. Present only in the initial CCR. Contains |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
253 the user equipment IP address. This AVP is |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
254 defined in 3GPP 32.299 Rel7. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
255 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
256 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
257 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
258 1227, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
259 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
260 "PDP-Address", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
261 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
262 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
263 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
264 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
265 CHECK_dict_new( DICT_AVP, &data , Address_type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
266 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
267 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
268 /* 3GPP-IMSI */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
269 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
270 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
271 IMSI encoded in UTF-8 per 3GPP TS 23.003. No |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
272 padding. Maximum length of data: 15. |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
273 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
274 struct dict_avp_data data = { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
275 1, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
276 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
277 "3GPP-IMSI", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
278 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
279 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
280 AVP_TYPE_OCTETSTRING /* base type of data */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
281 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
282 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
283 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
284 |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
285 /* 3GPP-Charging-Id */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
286 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
287 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
288 Unsigned32. (3GPP TS 29.061 Rel7) . The |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
289 charging identifier for the PDP context. The Flexi |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
290 ISN generates the 3GPP charging ID for both |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
291 virtual and normal PDP contexts with one excep- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
292 tion. If the Flexi ISN acts as a NAS server and the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
293 charging ID selection is set to NAS Client, the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
294 charging ID will be the NAand not the 3GPP charging ID of Flexi ISN. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
295 Present in the initial CCR only.S client |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
296 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
297 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
298 2, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
299 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
300 "3GPP-Charging-Id", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
301 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
302 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
303 AVP_TYPE_UNSIGNED32 /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
304 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
305 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
306 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
307 |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
308 /* 3GPP-PDP-Type */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
309 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
310 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
311 Enumerated. (3GPP TS 29.061 Rel7 ). Type of |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
312 PDP context, for example, IP or PPP. Present in |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
313 the initial CCR only. |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
314 0 = IPv4 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
315 1 = PPP |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
316 2 = IPv6 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
317 3 = IPv4v6 |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
318 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
319 struct dict_avp_data data = { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
320 3, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
321 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
322 "3GPP-PDP-Type", /* Name */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
323 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
324 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
325 AVP_TYPE_UNSIGNED32 /* base type of data */ |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
326 }; |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
327 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
328 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
329 |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
330 /* 3GPP-CG-Address */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
331 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
332 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
333 OctetString. (3GPP TS 29.061 Rel4). The address |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
334 of the charging gateway that has been marked as |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
335 the default charging gateway for the PDP context. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
336 The address is expressed as a four-byte integer. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
337 Present in the initial CCR only. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
338 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
339 struct dict_avp_data data = { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
340 4, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
341 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
342 "3GPP-CG-Address", /* Name */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
343 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
344 AVP_FLAG_VENDOR, /* Fixed flag values */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
345 AVP_TYPE_OCTETSTRING /* base type of data */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
346 }; |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
347 CHECK_dict_new( DICT_AVP, &data , Address_type, NULL); |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
348 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
349 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
350 /* 3GPP-GPRS-Negotiated-QoS-Profile */ |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
351 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
352 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
353 UTF8String. (3GPP TS 29.061 Rel7 ). The QoS |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
354 profile applied by the Flexi ISN. In update and ter- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
355 mination requests, this AVP is present only when |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
356 the CCR has been triggered by a PDP context |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
357 update affecting the negotiated QoS |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
358 Each octet is described by two UTF-8-encoded |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
359 characters denoting the hexadecimal |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
360 representation. |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
361 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
362 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
363 5, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
364 10415, /* Vendor */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
365 "3GPP-GPRS-Negotiated-QoS-Profile", /* Name */ |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
366 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
367 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
368 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
369 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
370 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
371 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
372 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
373 /* 3GPP-SGSN-Address */ |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
374 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
375 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
376 OctetString. (3GPP TS 29.061 Rel4). The address |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
377 of the charging gateway that has been marked as |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
378 the default charging gateway for the PDP context. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
379 The address is expressed as a four-byte integer. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
380 Present in the initial CCR only. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
381 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
382 struct dict_avp_data data = { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
383 6, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
384 10415, /* Vendor */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
385 "3GPP-SGSN-Address", /* Name */ |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
386 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
387 AVP_FLAG_VENDOR, /* Fixed flag values */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
388 AVP_TYPE_OCTETSTRING /* base type of data */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
389 }; |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
390 CHECK_dict_new( DICT_AVP, &data , Address_type, NULL); |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
391 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
392 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
393 /* 3GPP-GGSN-Address */ |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
394 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
395 /* |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
396 OctetString. (3GPP TS 29.061 Rel4). Usually the |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
397 IP address of Flexi ISN. The only exception is |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
398 when the Flexi ISN acts as a NAS server and the |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
399 charging ID selection is set to NAS Client; then the |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
400 GGSN IP address will be the NAIP address. Present in the initial CCR only.S client |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
401 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
402 struct dict_avp_data data = { |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
403 7, /* Code */ |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
404 10415, /* Vendor */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
405 "3GPP-GGSN-Address", /* Name */ |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
406 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
407 AVP_FLAG_VENDOR, /* Fixed flag values */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
408 AVP_TYPE_OCTETSTRING /* base type of data */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
409 }; |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
410 CHECK_dict_new( DICT_AVP, &data , Address_type, NULL); |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
411 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
412 |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
413 /* 3GPP-IMSI-MCC-MNC */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
414 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
415 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
416 UTF8String. MCC and MNC extracted from the |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
417 user's IMSI (first 5 or 6 digits, as applicable from |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
418 the presented IMSI). The MCC-MNCs are |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
419 extracted from the tables configured in FlexiISN |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
420 configuration under the General and Roaming |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
421 configurations. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
422 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
423 struct dict_avp_data data = { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
424 8, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
425 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
426 "3GPP-IMSI-MCC-MNC", /* Name */ |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
427 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
428 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
429 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
430 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
431 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
432 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
433 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
434 /* 3GPP-GGSN-MCC-MNC */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
435 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
436 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
437 UTF8String. (3GPP TS 29.061 Rel7 ). Contains |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
438 the mobile country and network code of the PLMN |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
439 that the Flexi ISN belongs to. Present in the initial |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
440 CCR only. The first entry in the list of local PLMNs |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
441 in the Flexi ISN configuration determines the value |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
442 of this AVP. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
443 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
444 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
445 9, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
446 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
447 "3GPP-GGSN-MCC-MNC", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
448 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
449 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
450 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
451 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
452 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
453 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
454 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
455 /* 3GPP-NSAPI */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
456 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
457 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
458 UTF8String. (3GPP TS 29.061 Rel7 ). Indicates |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
459 the NSAPI of the PDP context. Contains one octet |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
460 consisting of a single digit. Present in the initial |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
461 CCR only. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
462 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
463 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
464 10, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
465 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
466 "3GPP-NSAPI", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
467 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
468 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
469 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
470 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
471 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
472 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
473 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
474 /* 3GPP-Session-Stop-Indicator */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
475 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
476 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
477 OctetString. (3GPP TS 29.061 Rel4). The |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
478 presence of this AVP indicates that the last |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
479 context of the PDP session has been deleted. May |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
480 be present in the termination CCR only. Contains |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
481 one octet that has a value of 0xff. |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
482 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
483 struct dict_avp_data data = { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
484 11, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
485 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
486 "3GPP-Session-Stop-Indicator", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
487 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
488 AVP_FLAG_VENDOR, /* Fixed flag values */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
489 AVP_TYPE_OCTETSTRING /* base type of data */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
490 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
491 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
492 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
493 |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
494 /* 3GPP-Selection-Mode */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
495 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
496 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
497 UTF8String. (3GPP TS 29.061 Rel7 ). Consists of |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
498 one octet containing the selection mode as |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
499 received from SGSN in the Create PDP Context |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
500 Request. Present in the initial CCR only. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
501 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
502 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
503 12, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
504 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
505 "3GPP-Selection-Mode", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
506 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
507 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
508 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
509 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
510 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
511 } |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
512 |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
513 /* 3GPP-Charging-Characteristics */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
514 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
515 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
516 UTF8String. (3GPP TS 29.061 Rel7 ). The |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
517 charging characteristics for the PDP context. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
518 Present in the initial CCR only. Consists of four |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
519 octets. Each octet contains a single UTF-8 |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
520 encoded digit. The content of the charging charac- |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
521 teristics is described in 3GPP TS 32.215. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
522 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
523 struct dict_avp_data data = { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
524 13, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
525 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
526 "3GPP-Charging-Characteristics", /* Name */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
527 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
528 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
529 AVP_TYPE_OCTETSTRING /* base type of data */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
530 }; |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
531 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
532 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
533 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
534 /* 3GPP-CG-IPv6-Address */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
535 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
536 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
537 UTF8String.. (3GPP TS 29.061 Rel? (<=10) ). The |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
538 IPv6 address of the charging gateway. |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
539 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
540 struct dict_avp_data data = { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
541 14, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
542 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
543 "3GPP-CG-IPv6-Address", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
544 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
545 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
546 AVP_TYPE_OCTETSTRING /* base type of data */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
547 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
548 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
549 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
550 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
551 /* 3GPP-SGSN-IPv6-Address */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
552 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
553 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
554 UTF8String.. (3GPP TS 29.061 Rel? (<=10) ). The |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
555 IPv6 address of the SGSN. |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
556 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
557 struct dict_avp_data data = { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
558 15, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
559 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
560 "3GPP-SGSN-IPv6-Address", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
561 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
562 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
563 AVP_TYPE_OCTETSTRING /* base type of data */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
564 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
565 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
566 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
567 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
568 /* 3GPP-GGSN-IPv6-Address */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
569 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
570 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
571 UTF8String.. (3GPP TS 29.061 Rel? (<=10) ). The |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
572 IPv6 address of the GGSN. |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
573 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
574 struct dict_avp_data data = { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
575 16, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
576 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
577 "3GPP-CG-IPv6-Address", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
578 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
579 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
580 AVP_TYPE_OCTETSTRING /* base type of data */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
581 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
582 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
583 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
584 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
585 /* 3GPP-GGSN-IPv6-DNS-Servers */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
586 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
587 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
588 UTF8String.. (3GPP TS 29.061 Rel? (<=10) ). List |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
589 of IPv6 addresses of DNS servers for an APN in |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
590 order of preference (max. 15 servers, 16 bytes |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
591 each). |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
592 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
593 struct dict_avp_data data = { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
594 17, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
595 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
596 "3GPP-CG-IPv6-Address", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
597 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
598 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
599 AVP_TYPE_OCTETSTRING /* base type of data */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
600 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
601 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
602 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
603 |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
604 /* 3GPP-SGSN-MCC-MNC */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
605 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
606 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
607 UTF8String. (3GPP TS 29.061 Rel7 ). MCC and |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
608 MNC extracted from the RAI within Create or |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
609 Update PDP Context Request. In update and ter- |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
610 mination requests, this AVP is present only when |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
611 the CCR has been triggered by a routing area |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
612 update. |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
613 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
614 struct dict_avp_data data = { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
615 18, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
616 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
617 "3GPP-SGSN-MCC-MNC", /* Name */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
618 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
619 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
620 AVP_TYPE_OCTETSTRING /* base type of data */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
621 }; |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
622 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
623 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
624 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
625 /* Missing: 3GPP-Teardown-Indicator (19) */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
626 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
627 /* 3GPP-IMEISV */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
628 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
629 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
630 IMEI(SV) encoded as sequence of UTF8 characters. |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
631 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
632 struct dict_avp_data data = { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
633 20, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
634 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
635 "3GPP-IMEISV", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
636 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
637 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
638 AVP_TYPE_OCTETSTRING /* base type of data */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
639 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
640 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
641 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
642 |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
643 /* 3GPP-RAT-Type */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
644 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
645 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
646 OctetString. (3GPP TS 29.061 Rel7 ) Defines the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
647 method used to access the network. Consists of a |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
648 single octet. The following values may be sent: |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
649 UTRAN (1), GERAN (2), WLAN (3), NAS (254), |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
650 Unspecified (255). |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
651 This AVP is included in the initial CCR and in |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
652 update or termination CCRs if the value changes. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
653 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
654 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
655 21, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
656 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
657 "3GPP-RAT-Type", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
658 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
659 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
660 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
661 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
662 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
663 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
664 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
665 /* 3GPP-User-Location-Info */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
666 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
667 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
668 OctetString. (3GPP TS 29.061 Rel7 ) Contains |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
669 information about the user's current geographical |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
670 location as received from the SGSN. Present |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
671 always in initial CCR if the value is known and in |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
672 update and termination CCRs if the value |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
673 changes. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
674 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
675 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
676 22, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
677 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
678 "3GPP-User-Location-Info", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
679 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
680 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
681 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
682 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
683 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
684 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
685 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
686 /* 3GPP-MS-TimeZone */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
687 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
688 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
689 OctetString. (3GPP TS 29.061 Rel7 ) 3GPP-MS- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
690 TimeZone is AVP is present always in the initial CCR if the |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
691 value is known and in the update and termination |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
692 CCRs if the value changes. This IE is encoded |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
693 according to 3GPP TS 29.061 Rel7 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
694 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
695 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
696 23, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
697 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
698 "3GPP-MS-TimeZone", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
699 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
700 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
701 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
702 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
703 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
704 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
705 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
706 /* Missing: 3GPP-CAMEL-Charging-Info (24) */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
707 /* Missing: 3GPP-Packet-Filter (25) */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
708 /* Missing: 3GPP-Negotiated-DSCP (26) */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
709 /* Missing: 3GPP-Allocate-IP-Type (27) */ |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
710 |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
711 /* PDP-Context-Type */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
712 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
713 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
714 Enumerated. Indicates the type of a PDP context |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
715 and is only included in CCR initial. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
716 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
717 values are 0 for primary and 1 for secondary |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
718 (3GPP 32.299 Rel7) |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
719 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
720 struct dict_object *type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
721 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(PDP-Context-Type)" , NULL, NULL, NULL }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
722 struct dict_enumval_data t_0 = { "PRIMARY", { .i32 = 0 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
723 struct dict_enumval_data t_1 = { "SECONDARY", { .i32 = 1 }}; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
724 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
725 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
726 1247, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
727 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
728 "PDP-Context-Type", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
729 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
730 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
731 AVP_TYPE_INTEGER32 /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
732 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
733 /* Create the Enumerated type, and then the AVP */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
734 CHECK_dict_new( DICT_TYPE, &tdata , NULL, &type); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
735 CHECK_dict_new( DICT_ENUMVAL, &t_0 , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
736 CHECK_dict_new( DICT_ENUMVAL, &t_1 , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
737 CHECK_dict_new( DICT_AVP, &data , type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
738 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
739 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
740 /* IMS-Information */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
741 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
742 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
743 Grouped. Its purpose is to allow the transmission |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
744 of additional IMS service specific information ele- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
745 ments. (3GPP 32.299 Rel7) |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
746 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
747 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
748 876, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
749 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
750 "IMS-Information", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
751 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
752 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
753 AVP_TYPE_GROUPED /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
754 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
755 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
756 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
757 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
758 /* IMS-Charging-Identifier */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
759 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
760 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
761 UTF8String. Contains the IMS charging identifier |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
762 as given to the Flexi ISN by the IMS. This AVP is |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
763 defined in 3GPP TS 32.225. This AVP is present |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
764 in IMS sessions only. Present in the initial CCR |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
765 only. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
766 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
767 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
768 841, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
769 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
770 "IMS-Charging-Identifier", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
771 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
772 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
773 AVP_TYPE_OCTETSTRING /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
774 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
775 CHECK_dict_new( DICT_AVP, &data , UTF8String_type, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
776 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
777 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
778 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
779 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
780 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
781 /* Max-Requested-Bandwidth-UL */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
782 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
783 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
784 Unsigned32. The Max-Requested-Bandwidth- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
785 UL/DL AVP indicates the maximum allowed bit |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
786 rate (in bits per second) for the uplink direction. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
787 (Re-used from 3GPP 29.214) |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
788 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
789 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
790 515, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
791 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
792 "Max-Requested-Bandwidth-UL", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
793 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
794 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
795 AVP_TYPE_UNSIGNED32 /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
796 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
797 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
798 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
799 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
800 /* Max-Requested-Bandwidth-DL */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
801 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
802 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
803 Unsigned32. The Max-Requested-Bandwidth- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
804 UL/DL AVP indicates the maximum allowed bit |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
805 rate (in bits per second) for the uplink direction. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
806 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
807 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
808 516, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
809 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
810 "Max-Requested-Bandwidth-DL", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
811 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
812 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
813 AVP_TYPE_UNSIGNED32 /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
814 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
815 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
816 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
817 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
818 /* QoS-Information */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
819 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
820 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
821 Grouped. This is the QoS that the DCCA |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
822 server requests from Flexi ISN to be applied for |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
823 this PDP context. This AVP and all AVPs con- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
824 tained within are described in 3GPP TS 29.212 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
825 Release 7. The ARP AVP is introduced with |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
826 Release 8. The relevant types are defined on |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
827 table 5.3.1 of TS 29.212. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
828 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
829 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
830 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
831 1016, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
832 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
833 "QoS-Information", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
834 AVP_FLAG_VENDOR | AVP_FLAG_MANDATORY, /* Fixed flags */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
835 AVP_FLAG_VENDOR, /* Fixed flag values */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
836 AVP_TYPE_GROUPED /* base type of data */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
837 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
838 CHECK_dict_new( DICT_AVP, &data , NULL, NULL); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
839 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
840 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
841 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
842 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
843 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
844 TRACE_DEBUG(INFO, "Extension 'Dictionary definitions for DCCA 3GPP' initialized"); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
845 return 0; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
846 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
847 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
848 EXTENSION_ENTRY("dict_dcca_3gpp", dict_dcca_3gpp_entry); |