Mercurial > hg > freeDiameter
annotate contrib/dict_dcca/dict_dcca_3gpp.c @ 1562:6219359a36a9 default tip
Merge latest changes from proposed branch
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 21 Jun 2021 19:08:18 +0800 |
parents | 42d0a08cffa8 |
children |
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 TRACE_ENTRY("%p", conffile); |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
62 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
63 /* Applications section */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
64 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
65 /* Create the vendors */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
66 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
67 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
|
68 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
|
69 } |
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 |
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 /* AVP section */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
75 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
76 struct dict_object * Address_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
77 struct dict_object * UTF8String_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
78 struct dict_object * DiameterIdentity_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
79 struct dict_object * DiameterURI_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
80 struct dict_object * Time_type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
81 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
82 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
|
83 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
|
84 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
|
85 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
|
86 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
|
87 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
88 /* Reporting-Reason */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
89 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
90 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
91 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
|
92 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
|
93 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
|
94 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
|
95 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
|
96 level; see below.) |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
97 The following values are supported: |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
98 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
99 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
|
100 associated metering type has been |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
101 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
|
102 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
|
103 Unit AVP. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
104 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
105 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
|
106 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
|
107 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
|
108 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
|
109 Service-Unit AVP. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
110 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
111 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
|
112 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
|
113 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
|
114 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
|
115 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
|
116 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
|
117 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
|
118 AVP. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
119 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
120 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
121 struct dict_object *type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
122 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
|
123 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
|
124 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
|
125 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
|
126 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
|
127 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
|
128 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
|
129 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
|
130 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
|
131 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
132 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
133 872, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
134 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
135 "Reporting-Reason", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
136 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
|
137 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
|
138 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
|
139 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
140 /* 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
|
141 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
|
142 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
|
143 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
|
144 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
|
145 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
|
146 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
147 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
148 /* Trigger */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
149 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
150 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
151 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
|
152 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
|
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 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
156 1264, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
157 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
158 "Trigger", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
159 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
|
160 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
|
161 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
|
162 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
163 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
|
164 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
165 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
166 /* Trigger-Type */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
167 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
168 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
169 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
|
170 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
|
171 MSCC. Supported values are: |
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 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
|
174 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
175 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
|
176 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
177 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
|
178 |
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 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
181 struct dict_object *type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
182 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
|
183 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
|
184 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
|
185 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
|
186 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
187 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
188 870, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
189 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
190 "Trigger-Type", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
191 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
|
192 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
|
193 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
|
194 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
195 /* 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
|
196 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
|
197 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
|
198 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
|
199 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
|
200 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
|
201 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
202 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
203 /* Service-Information */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
204 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
205 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
206 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
|
207 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
|
208 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
|
209 Rel7). |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
210 */ |
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 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
213 873, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
214 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
215 "Service-Information", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
216 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
|
217 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
|
218 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
|
219 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
220 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
|
221 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
222 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
223 /* PS-Information */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
224 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
225 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
226 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
|
227 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
|
228 elements (3GPP 32.299 Rel7). |
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 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
231 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
232 874, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
233 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
234 "PS-Information", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
235 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
|
236 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
|
237 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
|
238 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
239 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
|
240 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
241 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
242 /* PDP-Address */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
243 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
244 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
245 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
|
246 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
|
247 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
|
248 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
249 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
250 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
251 1227, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
252 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
253 "PDP-Address", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
254 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
|
255 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
|
256 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
|
257 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
258 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
|
259 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
260 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
261 /* 3GPP-IMSI */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
262 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
263 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
264 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
|
265 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
|
266 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
267 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
|
268 1, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
269 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
270 "3GPP-IMSI", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
271 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
|
272 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
|
273 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
|
274 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
275 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
|
276 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
277 |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
278 /* 3GPP-Charging-Id */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
279 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
280 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
281 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
|
282 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
|
283 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
|
284 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
|
285 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
|
286 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
|
287 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
|
288 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
|
289 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
290 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
291 2, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
292 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
293 "3GPP-Charging-Id", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
294 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
|
295 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
|
296 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
|
297 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
298 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
|
299 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
300 |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
301 /* 3GPP-PDP-Type */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
302 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
303 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
304 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
|
305 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
|
306 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
|
307 0 = IPv4 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
308 1 = PPP |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
309 2 = IPv6 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
310 3 = IPv4v6 |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
311 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
312 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
|
313 3, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
314 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
315 "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
|
316 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
|
317 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
|
318 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
|
319 }; |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
320 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
|
321 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
322 |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
323 /* 3GPP-CG-Address */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
324 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
325 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
326 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
|
327 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
|
328 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
|
329 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
|
330 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
|
331 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
332 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
|
333 4, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
334 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
335 "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
|
336 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
|
337 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
|
338 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
|
339 }; |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
340 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
|
341 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
342 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
343 /* 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
|
344 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
345 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
346 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
|
347 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
|
348 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
|
349 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
|
350 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
|
351 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
|
352 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
|
353 representation. |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
354 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
355 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
356 5, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
357 10415, /* Vendor */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
358 "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
|
359 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
|
360 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
|
361 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
|
362 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
363 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
|
364 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
365 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
366 /* 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
|
367 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
368 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
369 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
|
370 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
|
371 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
|
372 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
|
373 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
|
374 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
375 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
|
376 6, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
377 10415, /* Vendor */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
378 "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
|
379 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
|
380 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
|
381 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
|
382 }; |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
383 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
|
384 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
385 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
386 /* 3GPP-GGSN-Address */ |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
387 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
388 /* |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
389 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
|
390 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
|
391 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
|
392 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
|
393 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
|
394 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
395 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
|
396 7, /* Code */ |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
397 10415, /* Vendor */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
398 "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
|
399 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
|
400 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
|
401 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
|
402 }; |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
403 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
|
404 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
405 |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
406 /* 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
|
407 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
408 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
409 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
|
410 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
|
411 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
|
412 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
|
413 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
|
414 configurations. |
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 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
|
417 8, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
418 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
419 "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
|
420 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
|
421 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
|
422 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
|
423 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
424 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
|
425 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
426 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
427 /* 3GPP-GGSN-MCC-MNC */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
428 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
429 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
430 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
|
431 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
|
432 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
|
433 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
|
434 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
|
435 of this AVP. |
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 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
438 9, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
439 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
440 "3GPP-GGSN-MCC-MNC", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
441 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
|
442 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
|
443 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
|
444 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
445 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
|
446 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
447 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
448 /* 3GPP-NSAPI */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
449 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
450 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
451 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
|
452 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
|
453 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
|
454 CCR only. |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
455 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
456 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
457 10, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
458 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
459 "3GPP-NSAPI", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
460 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
|
461 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
|
462 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
|
463 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
464 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
|
465 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
466 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
467 /* 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
|
468 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
469 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
470 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
|
471 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
|
472 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
|
473 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
|
474 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
|
475 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
476 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
|
477 11, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
478 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
479 "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
|
480 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
|
481 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
|
482 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
|
483 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
484 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
|
485 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
486 |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
487 /* 3GPP-Selection-Mode */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
488 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
489 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
490 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
|
491 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
|
492 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
|
493 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
|
494 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
495 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
496 12, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
497 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
498 "3GPP-Selection-Mode", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
499 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
|
500 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
|
501 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
|
502 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
503 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
|
504 } |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
505 |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
506 /* 3GPP-Charging-Characteristics */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
507 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
508 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
509 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
|
510 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
|
511 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
|
512 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
|
513 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
|
514 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
|
515 */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
516 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
|
517 13, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
518 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
519 "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
|
520 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
|
521 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
|
522 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
|
523 }; |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
524 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
|
525 } |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
526 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
527 /* 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
|
528 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
529 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
530 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
|
531 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
|
532 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
533 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
|
534 14, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
535 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
536 "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
|
537 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
|
538 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
|
539 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
|
540 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
541 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
|
542 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
543 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
544 /* 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
|
545 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
546 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
547 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
|
548 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
|
549 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
550 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
|
551 15, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
552 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
553 "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
|
554 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
|
555 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
|
556 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
|
557 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
558 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
|
559 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
560 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
561 /* 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
|
562 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
563 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
564 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
|
565 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
|
566 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
567 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
|
568 16, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
569 10415, /* Vendor */ |
835
885f5eb20b21
Fix copy'n'paste errors. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
832
diff
changeset
|
570 "3GPP-GGSN-IPv6-Address", /* Name */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
571 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
|
572 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
|
573 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
|
574 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
575 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
|
576 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
577 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
578 /* 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
|
579 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
580 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
581 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
|
582 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
|
583 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
|
584 each). |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
585 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
586 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
|
587 17, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
588 10415, /* Vendor */ |
835
885f5eb20b21
Fix copy'n'paste errors. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
832
diff
changeset
|
589 "3GPP-GGSN-IPv6-DNS-Servers", /* Name */ |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
590 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
|
591 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
|
592 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
|
593 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
594 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
|
595 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
596 |
831
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
597 /* 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
|
598 { |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
599 /* |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
600 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
|
601 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
|
602 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
|
603 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
|
604 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
|
605 update. |
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 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
|
608 18, /* Code */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
609 10415, /* Vendor */ |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
610 "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
|
611 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
|
612 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
|
613 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
|
614 }; |
7dec09939400
Sort 3GPP types by Code. -- Thomas Klausner <tk@giga.or.at>
Sebastien Decugis <sdecugis@freediameter.net>
parents:
800
diff
changeset
|
615 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
|
616 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
617 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
618 /* 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
|
619 |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
620 /* 3GPP-IMEISV */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
621 { |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
622 /* |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
623 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
|
624 */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
625 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
|
626 20, /* Code */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
627 10415, /* Vendor */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
628 "3GPP-IMEISV", /* Name */ |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
629 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
|
630 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
|
631 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
|
632 }; |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
633 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
|
634 } |
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
635 |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
636 /* 3GPP-RAT-Type */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
637 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
638 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
639 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
|
640 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
|
641 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
|
642 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
|
643 Unspecified (255). |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
644 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
|
645 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
|
646 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
647 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
648 21, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
649 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
650 "3GPP-RAT-Type", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
651 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
|
652 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
|
653 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
|
654 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
655 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
|
656 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
657 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
658 /* 3GPP-User-Location-Info */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
659 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
660 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
661 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
|
662 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
|
663 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
|
664 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
|
665 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
|
666 changes. |
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 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
669 22, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
670 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
671 "3GPP-User-Location-Info", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
672 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
|
673 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
|
674 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
|
675 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
676 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
|
677 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
678 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
679 /* 3GPP-MS-TimeZone */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
680 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
681 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
682 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
|
683 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
|
684 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
|
685 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
|
686 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
|
687 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
688 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
689 23, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
690 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
691 "3GPP-MS-TimeZone", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
692 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
|
693 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
|
694 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
|
695 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
696 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
|
697 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
698 |
832
405a4aa9e231
Compare to ETSI TS 129 061 v10.6.0 (2012-07);
Sebastien Decugis <sdecugis@freediameter.net>
parents:
831
diff
changeset
|
699 /* 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
|
700 /* 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
|
701 /* 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
|
702 /* 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
|
703 |
800
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
704 /* PDP-Context-Type */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
705 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
706 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
707 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
|
708 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
|
709 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
710 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
|
711 (3GPP 32.299 Rel7) |
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 struct dict_object *type; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
714 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
|
715 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
|
716 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
|
717 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
718 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
719 1247, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
720 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
721 "PDP-Context-Type", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
722 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
|
723 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
|
724 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
|
725 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
726 /* 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
|
727 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
|
728 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
|
729 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
|
730 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
|
731 } |
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 /* IMS-Information */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
734 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
735 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
736 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
|
737 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
|
738 ments. (3GPP 32.299 Rel7) |
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 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
741 876, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
742 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
743 "IMS-Information", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
744 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
|
745 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
|
746 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
|
747 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
748 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
|
749 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
750 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
751 /* IMS-Charging-Identifier */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
752 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
753 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
754 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
|
755 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
|
756 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
|
757 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
|
758 only. |
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 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
761 841, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
762 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
763 "IMS-Charging-Identifier", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
764 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
|
765 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
|
766 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
|
767 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
768 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
|
769 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
770 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
771 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
772 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
773 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
774 /* Max-Requested-Bandwidth-UL */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
775 { |
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 Unsigned32. The Max-Requested-Bandwidth- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
778 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
|
779 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
|
780 (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
|
781 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
782 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
783 515, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
784 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
785 "Max-Requested-Bandwidth-UL", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
786 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
|
787 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
|
788 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
|
789 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
790 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
|
791 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
792 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
793 /* Max-Requested-Bandwidth-DL */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
794 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
795 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
796 Unsigned32. The Max-Requested-Bandwidth- |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
797 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
|
798 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
|
799 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
800 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
801 516, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
802 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
803 "Max-Requested-Bandwidth-DL", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
804 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
|
805 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
|
806 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
|
807 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
808 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
|
809 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
810 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
811 /* QoS-Information */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
812 { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
813 /* |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
814 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
|
815 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
|
816 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
|
817 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
|
818 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
|
819 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
|
820 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
|
821 */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
822 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
823 struct dict_avp_data data = { |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
824 1016, /* Code */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
825 10415, /* Vendor */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
826 "QoS-Information", /* Name */ |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
827 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
|
828 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
|
829 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
|
830 }; |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
831 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
|
832 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
833 } |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
834 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
835 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
836 |
35f3fe884dc9
Updates sent by Konstantin to the dict_dcca files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff
changeset
|
837 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
|
838 return 0; |
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 |
902
42d0a08cffa8
Remove duplicate definitions, use dependencies instead -- thanks to Thomas Klausner
Sebastien Decugis <sdecugis@freediameter.net>
parents:
835
diff
changeset
|
841 EXTENSION_ENTRY("dict_dcca_3gpp", dict_dcca_3gpp_entry, "dict_dcca"); |