e5ab403614e5fb0a1d019260ef5c2707304991de
[metze/wireshark/wip.git] / diameter / dictionary.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- $Id$ -->
3
4 <?type-proto key="MIPRegistrationRequest" value="mip" ?>
5 <?avp-proto key="Example-AVP" value="data" ?>
6
7 <!DOCTYPE dictionary SYSTEM "dictionary.dtd" [
8         <!ENTITY nasreq SYSTEM "nasreq.xml">
9         <!ENTITY eap SYSTEM "eap.xml">
10         <!ENTITY mobileipv4 SYSTEM "mobileipv4.xml">
11         <!ENTITY chargecontrol SYSTEM "chargecontrol.xml">
12         <!ENTITY sunping SYSTEM "sunping.xml">
13         <!ENTITY imscxdx SYSTEM "imscxdx.xml">
14         <!ENTITY TGPPGmb SYSTEM "TGPPGmb.xml">
15         <!ENTITY TGPPSh SYSTEM "TGPPSh.xml">
16         <!ENTITY TGPPRx SYSTEM "TGPPRx.xml">
17         <!ENTITY sip SYSTEM "sip.xml">
18         <!ENTITY gqpolicy SYSTEM "gqpolicy.xml">
19         <!ENTITY etsie2e4 SYSTEM "etsie2e4.xml">
20         <!ENTITY Ericsson SYSTEM "Ericsson.xml">
21         <!ENTITY Tango SYSTEM "Tango.xml">
22         <!ENTITY mobileipv6 SYSTEM "mobileipv6.xml">
23 ]>
24 <dictionary>
25         <base uri="http://www.ietf.org/rfc/rfc3588.txt">
26   <!--
27   $Log: dictionary.xml,v $
28   Revision 1.1  2001/11/01 21:52:44  guy
29   From David Frascone: duUpdate to Diameter dissector to load the
30   dictionary as an XML file rather than building it in, and various
31   Diameter updates.
32
33   Revision 1.8  2008/01/06 02:49:24  grzegorz  Added missing RFC 3588
34   AVP 299 by Grzegorz Szczytowski
35
36   Revision 1.7  2001/08/24 18:03:24  chaos
37   Mark's Changes
38
39   Revision 1.6  2001/07/31 19:13:55  chaos
40   Missed a couple of MIP AVPs
41
42   Revision 1.5  2001/07/31 19:09:22  chaos
43   Added Mobile-Ip and Sun Ping Extension
44
45   Revision 1.4  2001/07/31 17:43:25  chaos
46   Oops, forgot to turn on validity checking.  Fixed some errors found with validity checking turned on
47
48   Revision 1.3  2001/07/31 16:56:31  chaos
49   Added commands, and validated with xmllint
50
51   Revision 1.2  2001/07/31 16:29:34  chaos
52   Checking in some changes to verify log and ident strings
53
54   -->
55                 <!-- *********************** Commands ***************************** -->
56                 <!-- Diameter Base Protocol Command Codes -->
57                 <!-- 0-255 RADIUS compatability codes [http://www.iana.org/assignments/radius-types] -->
58                 <!--256 Unassigned -->
59                 <command name="Capabilities-Exchange"         code="257" vendor-id="None"/>
60                 <command name="Re-Auth"                       code="258" vendor-id="None"/>
61                 <!-- 259 Unassigned
62                      260 AMR / AMA [RFC4004]     mobileipv4.xml
63                      261 Unassigned
64                      262 HAR / HAA [RFC4004]     mobileipv4.xml
65                      263-264 Unassigned
66                      265 AAR / AAA [RFC4005]     nasreq.xml
67                      266-267 Unassigned
68                      268 DER / DEA [RFC4072]     eap.xml
69                      269-270 Unassigned
70                 -->
71                 <command name="Accounting"                    code="271" vendor-id="None"/>
72                 <!-- 272 CCR / CCA [RFC4006]     chargecontrol.xml
73                      273 Unassigned
74                 -->
75                 <command name="Abort-Session"                 code="274" vendor-id="None"/>
76                 <command name="Session-Termination"           code="275" vendor-id="None"/>
77                 <!--276-279 Unassigned -->
78                 <command name="Device-Watchdog"               code="280" vendor-id="None"/>
79                 <command name="Disconnect-Peer"               code="282" vendor-id="None"/>
80                 <!--283 UAR / UAA [RFC4740]      sip.xml
81                     284 SAR / SAA [RFC4740]      sip.xml
82                     285 LIR / LIA [RFC4740]      sip.xml
83                     286 MAR / MAA [RFC4740]      sip.xml
84                     287 RTR / RTA [RFC4740]      sip.xml
85                     288 PPR / PPA [RFC4740]      sip.xml
86                     289-299 Unassigned
87                     300-313 Allocated for 3GPP [RFC3589]
88                       imscxdx.xml ( 300 - 305 )
89                       300       User-Authorization-Request/-Answer      UAR/UAA 29.229 [2]
90                       301       Server-Assignment-Request/-Answer       SAR/SAA
91                       302       Location-Info-Request/-Answer           LIR/LIA
92                       303       Multimedia-Auth-Request/-Answer         MAR/MAA
93                       304       Registration-Termination-Request/-Answer RTR/RTA
94                       305       Push-Profile-Request/-Answer            PPR/PPA
95                       TGPPSh.xml  ( 306 - 309 )
96                       306       User-Data-Request/-Answer               UDR/UDA
97                       307       Profile-Update-Request/-Answer          PUR/PUA
98                       308       Subscribe-Notifications-Request/-Answer SNR/SNA
99                       309       Push-Notification-Request/-Answer       PNR/PNA
100                 -->
101
102                 <command name="Boostrapping-Info"             code="310" vendor-id="None"/>        <!-- BIR/BIA 29.109 [7] -->
103                 <command name="Message-Process"               code="311" vendor-id="None"/>        <!-- MPR/MPA 29.140 [16] -->
104                 <command name="GBAPush-Info"                  code="312" vendor-id="None"/>        <!-- GPR/GPI 29.109 [7] -->
105                 <!-- 313 (Not used yet) -->
106                 <command name="Policy-Data"                   code="314" vendor-id="None"/>        <!-- PDR / PDA [RFC5224] -->
107                 <command name="Policy-Install"                code="315" vendor-id="None"/>        <!-- (PIA) [ITU-T Rec. Q.3303.3][RFC5431] -->
108
109                 <!-- http://www.3gpp.org/ftp/Specs/html-info/29272.htm -->
110                 <command name="3GPP-Update-Location"            code="316" vendor-id="None"/>
111                 <command name="3GPP-Cancel-Location"            code="317" vendor-id="None"/>         <!--[3GPP TS 29.272][RFC5516] -->
112                 <command name="3GPP-Authentication-Information" code="318" vendor-id="None"/>         <!--[3GPP TS 29.272][RFC5516] -->
113                 <command name="3GPP-Insert-Subscriber-Data"     code="319" vendor-id="None"/>         <!--[3GPP TS 29.272][RFC5516] -->
114                 <command name="3GPP-Delete-Subscriber-Data"     code="320" vendor-id="None"/>         <!--[3GPP TS 29.272][RFC5516] -->
115                 <command name="3GPP-Purge-UE"                   code="321" vendor-id="None"/>         <!--[3GPP TS 29.272][RFC5516] -->
116                 <command name="3GPP-Reset"                      code="322" vendor-id="None"/>         <!--[3GPP TS 29.272][RFC5516] -->
117                 <command name="3GPP-Notify"                     code="323" vendor-id="None"/>         <!--[3GPP TS 29.272][RFC5516] -->
118                 <command name="3GPP-ME-Identity-Check"          code="324" vendor-id="None"/>         <!--(ECR/ECA) [3GPP TS 29.272][RFC5516] -->
119                 <command name="MIP6"                            code="325" vendor-id="None"/>         <!--(MIR/MIA) [RFC5778] -->
120                 <command name="QoS-Authorization"               code="326" vendor-id="None"/>         <!--(QAR/QAA) [RFC-ietf-dime-diameter-qos-15] -->
121                 <command name="QoS-Install"                     code="327" vendor-id="None"/>         <!--(QIR/QIA) [RFC-ietf-dime-diameter-qos-15] -->
122                 <!--
123                 328-8388607 Unassigned
124                 8388608 WIMAX-HRPD-SFF Request/Answer [http://www.3gpp2.org/Public_html/specs/tsgx.cfm][3GPP2 X.S0058-0 v1.0][Avi_Lior]
125                 8388609 WiMAX-Diameter-EAP-Request/Answer (WDER/WDEA) WDE [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
126                 8388610 WiMAX-Change-of-Authorization-Request/Answer (WCAR/WCAA) WCA [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
127                 8388611 WiMAX-Reauthentication-Request/Answer (WRAR/WRAA) WRA [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
128                 8388612 WiMAX-Session-Termination-Request/Answer (WSTR/WSTA) WST [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
129                 8388613 WiMAX-Abort-Session-Request/Answer (WASR/WASA) WAS [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
130                 8388614 WiMAX-Home-Agent-IPv4-Request/Answer (WHA4R/WHA4A) WHA4 [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
131                 8388615 WiMAX-Home-Agent-IPv6-Request/Answer (WHA6R/WHA6A) WHA6 [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
132                 8388616 WiMAX-DHCP-Request/Answer (WDHCPR/WDHCPA) WDHCP [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
133                 8388617 WiMAX-LAA-Request/Answer (WLAAR/WLAA) WLAA [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
134                 8388618 WiMAX-Location-Accounting-Request/Answer (WLACR/WLACA) WLAC [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
135                 8388619 WiMAX-Location-Measurement-Query-Request/Answer (WLMQR/WLMQA) WLMQ [http://www.wimaxforum.org/resources/documents/technical/T33][WiMAX Release 1.5][Avi_Lior]
136                 8388620 3GPP-Provide-Location-Request/Answer (PLR/PLA) [http://www.3gpp.org/ftp/Specs/][3GPP TS 29.172][Kimmo_Kymalainen]
137                 8388621 3GPP-Location-Report-Request/Answer (LRR/LRA) [http://www.3gpp.org/ftp/Specs/][3GPP TS 29.172][Kimmo_Kymalainen]
138                 8388622 3GPP-LCS-Routing-Info-Request/Answer (RIR/RIA) [http://www.3gpp.org/ftp/Specs/][3GPP TS 29.173][Kimmo_Kymalainen]
139                 8388623-16777213 Unassigned
140                 16777214 Experimental code [RFC3588]
141                 16777215 Experimental code [RFC3588]
142                 -->
143                 <!-- ********************** End Commands ************************** -->
144                 <!-- ************************* Vendors **************************** -->
145                 <vendor vendor-id="None" code="0" name="None"/>
146                 <vendor vendor-id="HP"    code="11"    name="Hewlett Packard"/>
147                 <vendor vendor-id="Merit" code="61" name="Merit Networks"/>
148                 <vendor vendor-id="Sun" code="42" name="Sun Microsystems, Inc."/>
149                 <vendor vendor-id="USR" code="429" name="US Robotics Corp."/>
150                 <vendor vendor-id="TGPP2" code="5535" name="3GPP2"/>
151                 <vendor vendor-id="TGPP"  code="10415" name="3GPP"/>
152                 <vendor vendor-id="TGPPCX" code="16777216" name="3GPP CX/DX"/>
153                 <vendor vendor-id="Ericsson"  code="193" name="Ericsson"/>
154                 <vendor vendor-id="ETSI"  code="13019" name="ETSI"/>
155                 <vendor vendor-id="Vodafone" code="12645" name="Vodafone"/>
156                 <vendor vendor-id="Deutsche_Telekom_AG" code="2937" name="Deutsche Telekom AG"/>
157                 <vendor vendor-id="Tango" code="13421" name="Tango Telecom Limited"/>
158                 <!-- *********************** End Vendors ************************** -->
159                 <!-- ************************ typedefn's ************************** -->
160                 <typedefn type-name="OctetString"/>
161                 <!--
162                         The data contains arbitrary data of variable length. Unless
163                         otherwise noted, the AVP Length field MUST be set to at least 9
164                         (13 if the 'V' bit is enabled).  Data used to transmit (human
165                         readable) character string data uses the UTF-8 [24] character
166                         set and is NOT NULL-terminated. The minimum Length field MUST
167                         be 9, but can be set to any value up to 65504 bytes. AVP Values
168                         of this type that do not align on a 32-bit boundary MUST have
169                         the necessary padding.
170                 -->
171                 <typedefn type-name="UTF8String" type-parent="OctetString"/>
172                 <!--
173                         The UTF8String format is derived from the OctetString AVP Base
174                         Format. This is a human readable string represented using the
175                         ISO/IEC IS 10646-1 character set, encoded as an OctetString
176                         using the UTF-8 [29] transformation format described in RFC
177                         2279.
178
179                         Since additional code points are added by amendments to the
180                         10646 standard from time to time, implementations MUST be
181                         prepared to encounter any code point from 0x00000001 to
182                         0x7fffffff. Byte sequences that do not correspond to the valid
183                         UTF-8 encoding of a code point or are outside this range are
184                         prohibited. Note that since a code point of 0x00000000 is
185                         prohibited, no octet will contain a value of 0x00.
186
187                         The use of control codes SHOULD be avoided. When it is
188                         necessary to represent a newline, the control code sequence CR
189                         LF SHOULD be used.
190
191                         The use of leading or trailing white space SHOULD be avoided.
192
193                         For code points not directly supported by user interface
194                         hardware or software, an alternative means of entry and
195                         display, such as hexadecimal, MAY be provided.
196
197                         For information encoded in 7-bit US-ASCII, the UTF-8 encoding
198                         is identical to the US-ASCII encoding.
199
200                         UTF-8 may require multiple bytes to represent a single
201                         character / code point; thus the length of a UTF8String in
202                         octets may be different from the number of characters encoded.
203
204                         Note that the size of an UTF8String is measured in octets, not
205                         characters.
206
207                         The UTF8String MUST not contain any octets with a value of
208                         zero.
209                 -->
210                 <typedefn type-name="IPAddress" type-parent="OctetString"/>
211                 <!--
212                         The IPAddress format is derived from the OctetString AVP Base
213                         Format. It represents 32 bit (IPv4) [17] or 128 bit (IPv6) [16]
214                         address, most significant octet first. The format of the
215                         address (IPv4 or IPv6) is determined by the length. If the
216                         attribute value is an IPv4 address, the AVP Length field MUST
217                         be 12 (16 if 'V' bit is enabled), otherwise the AVP Length
218                         field MUST be set to 24 (28 if the 'V' bit is enabled) for IPv6
219                         addresses.
220                 -->
221                 <typedefn type-name="DiameterIdentity" type-parent="OctetString"/>
222                 <!--
223                         The DiameterIdentity format is derived from the OctetString AVP
224                         Base Format.  It uses the UTF-8 encoding and has the same
225                         requirements as the UTF8String.  In addition, it must follow
226                         the Uniform Resource Identifiers (URI) syntax [29] rules
227                         specified below:
228
229                            Diameter-Identity  = fqdn [ port ] [ transport ]
230                                                 [ protocol ]
231
232                            aaa-protocol       = ( "diameter" | "radius" | "tacacs+" )
233
234                            protocol           = ";protocol=" aaa-protocol
235                                                 ; If absent, the default AAA protocol
236                                                 ; is diameter.
237
238                            fqdn               = Fully Qualified Host Name
239
240                            port               = ":" 1*DIGIT
241                                                 ; One of the ports used to listen for
242                                                 ; incoming connections. ; If absent,
243                                                 ; the default Diameter port (TBD) is
244                                                 ; assumed.
245
246                            transport-protocol = ( "tcp" | "sctp" | "udp" )
247
248                            transport          = ";transport=" transport-protocol
249
250                                                 ; One of the transports used to listen
251                                                 ; for incoming connections. If absent,
252                                                 ; the default SCTP [26] protocol is
253                                                 ; assumed. UDP MUST NOT be used when
254                                                 ; the aaa-protocol field is set to
255                                                 ; diameter.
256
257                            The following are examples of valid Diameter host
258                            identities:
259
260                               host.abc.com;transport=tcp
261                               host.abc.com:6666;transport=tcp
262                               aaa://host.abc.com;protocol=diameter
263                               aaa://host.abc.com:6666;protocol=diameter
264                               aaa://host.abc.com:6666;transport=tcp;protocol=diameter
265                               aaa://host.abc.com:1813;transport=udp;protocol=radius
266
267                         Since multiple Diameter processes on a single host cannot
268                         listen for incoming connections on the same port on a given
269                         protocol, the DiameterIdentity is guaranteed to be unique per
270                         host.
271
272                         A Diameter node MAY advertise different identities on each
273                         connection, via the CER and CEA's Origin-Host AVP, but the same
274                         identity MUST be used throughout the duration of a connection.
275
276                         When comparing AVPs of this format, it is necessary to add any
277                         absent fields with the default values prior to the comparison.
278                         For example, diameter-host.abc.com would be expanded to
279                         aaa://diameter/diameter-host.abc.com:TBD;protocol=sctp.
280                 -->
281                 <typedefn type-name="IPFilterRule" type-parent="OctetString"/>
282                 <!--
283                         The IPFilterRule format is derived from the OctetString AVP
284                         Base Format.  It uses the UTF-8 encoding and has the same
285                         requirements as the UTF8String. Packets may be filtered based
286                         on the following information that is associated with it:
287
288                            Direction                          (in or out)
289                            Source and destination IP address  (possibly masked)
290                            Protocol
291                            Source and destination port        (lists or ranges)
292                            TCP flags
293                            IP fragment flag
294                            IP options
295                            ICMP types
296
297                         Rules for the appropriate direction are evaluated in order,
298                         with the first matched rule terminating the evaluation.  Each
299                         packet is evaluated once. If no rule matches, the packet is
300                         dropped if the last rule evaluated was a permit, and passed if
301                         the last rule was a deny.
302
303                         IPFilterRule filters MUST follow the format:
304
305                            action dir proto from src to dst [options]
306
307                            action       permit - Allow packets that match the rule.
308                                         deny   - Drop packets that match the rule.
309
310                            dir          "in" is from the terminal, "out" is to the
311                                         terminal.
312
313                            proto        An IP protocol specified by number.  The "ip"
314                                         keyword means any protocol will match.
315
316                            src and dst  <address/mask> [ports]
317
318                                         The <address/mask> may be specified as:
319                                         ipno       An IPv4 or IPv6 number in dotted-
320                                                    quad or canonical IPv6 form. Only
321                                                    this exact IP number will match the
322                                                    rule.
323                                         ipno/bits  An IP number as above with a mask
324                                                    width of the form 1.2.3.4/24.  In
325                                                    this case all IP numbers from
326                                                    1.2.3.0 to 1.2.3.255 will match.
327                                                    The bit width MUST be valid for the
328                                                    IP version and the IP number MUST
329                                                    NOT have bits set beyond the mask.
330
331                                         The sense of the match can be inverted by
332                                         preceding an address with the not modifier,
333                                         causing all other addresses to be matched
334                                         instead.  This does not affect the selection of
335                                         port numbers.
336
337                                            The keyword "any" is 0.0.0.0/0 or the IPv6
338                                            equivalent.  The keyword "assigned" is the
339                                            address or set of addresses assigned to the
340                                            terminal.  The first rule SHOULD be "deny in
341                                            ip !assigned".
342
343                                         With the TCP, UDP and SCTP protocols, optional
344                                         ports may be specified as:
345
346                                            {port|port-port}[,port[,...]]
347
348                                         The `-' notation specifies a range of ports
349                                         (including boundaries).
350
351                                         Fragmented packets which have a non-zero offset
352                                         (i.e. not the first fragment) will never match
353                                         a rule which has one or more port
354                                         specifications.  See the frag option for
355                                         details on matching fragmented packets.
356
357                            options:
358                               frag    Match if the packet is a fragment and this is not
359                                       the first fragment of the datagram.  frag may not
360                                       be used in conjunction with either tcpflags or
361                                       TCP/UDP port specifications.
362
363                               ipoptions spec
364                                       Match if the IP header contains the comma
365                                       separated list of options specified in spec. The
366                                       supported IP options are:
367
368                                       ssrr (strict source route), lsrr (loose source
369                                       route), rr (record packet route) and ts
370                                       (timestamp). The absence of a particular option
371                                       may be denoted with a `!'.
372
373                               tcpoptions spec
374                                       Match if the TCP header contains the comma
375                                       separated list of options specified in spec. The
376                                       supported TCP options are:
377
378                                       mss (maximum segment size), window (tcp window
379                                       advertisement), sack (selective ack), ts (rfc1323
380                                       timestamp) and cc (rfc1644 t/tcp connection
381                                       count).  The absence of a particular option may
382                                       be denoted with a `!'.
383
384                               established
385                                       TCP packets only. Match packets that have the RST
386                                       or ACK bits set.
387
388                               setup   TCP packets only. Match packets that have the SYN
389                                       bit set but no ACK bit.
390
391                               tcpflags spec
392                                       TCP packets only. Match if the TCP header
393                                       contains the comma separated list of flags
394                                       specified in spec. The supported TCP flags are:
395
396                                       fin, syn, rst, psh, ack and urg. The absence of a
397                                       particular flag may be denoted with a `!'. A rule
398                                       which contains a tcpflags specification can never
399                                       match a fragmented packet which has a non-zero
400                                       offset.  See the frag option for details on
401                                       matching fragmented packets.
402
403                               icmptypes types
404                                       ICMP packets only.  Match if the ICMP type is in
405                                       the list types. The list may be specified as any
406                                       combination of ranges or individual types
407                                       separated by commas.  The supported ICMP types
408                                       are:
409
410                                       echo reply (0), destination unreachable (3),
411                                       source quench (4), redirect (5), echo request
412                                       (8), router advertisement (9), router
413                                       solicitation (10), time-to-live exceeded (11), IP
414                                       header bad (12), timestamp request (13),
415                                       timestamp reply (14), information request (15),
416                                       information reply (16), address mask request (17)
417                                       and address mask reply (18).
418
419                         There is one kind of packet that the access device MUST always
420                         discard, that is an IP fragment with a fragment offset of one.
421                         This is a valid packet, but it only has one use, to try to
422                         circumvent firewalls.
423
424                            An access device that is unable to interpret or apply a deny
425                            rule MUST terminate the session.  An access device that is
426                            unable to interpret or apply a permit rule MAY apply a more
427                            restrictive rule.  An access device MAY apply deny rules of
428                            its own before the supplied rules, for example to protect
429                            the access device owner's infrastructure.
430
431                         The rule syntax is a modified subset of ipfw(8) from FreeBSD,
432                         and the ipfw.c code may provide a useful base for
433                         implementations.
434                 -->
435                 <typedefn type-name="QOSFilterRule" type-parent="OctetString"/>
436                 <!--
437                         The QosFilterRule format is derived from the OctetString AVP
438                         Base Format.  It uses the UTF-8 encoding and has the same
439                         requirements as the UTF8String. Packets may be marked or
440                         metered based on the following information that is associated
441                         with it:
442
443                            Direction                          (in or out)
444                            Source and destination IP address  (possibly masked)
445                            Protocol
446                            Source and destination port        (lists or ranges)
447                            DSCP values                        (no mask or range)
448
449                         Rules for the appropriate direction are evaluated in order,
450                         with the first matched rule terminating the evaluation.  Each
451                         packet is evaluated once. If no rule matches, the packet is
452                         treated as best effort.
453
454                         QoSFilterRule filters MUST follow the format:
455
456                            action dir proto from src to dst [options]
457
458                                         tag    - Mark packet with a specific DSCP [49].
459                                                  The DSCP option MUST be included.
460
461                                         meter  - Meter traffic. The metering options
462                                                  MUST be included.
463
464                            dir          "in" is from the terminal, "out" is to the
465                                         terminal.
466
467                            proto        An IP protocol specified by number.  The "ip"
468                                         keyword means any protocol will match.
469
470                            src and dst  <address/mask> [ports]
471                         
472                                         The <address/mask> may be specified as:
473                                         ipno       An IPv4 or IPv6 number in dotted-
474                                                    quad or canonical IPv6 form. Only
475                                                    this exact IP number will match the
476                                                    rule.
477                                         ipno/bits  An IP number as above with a mask
478                                                    width of the form 1.2.3.4/24.  In
479                                                    this case all IP numbers from
480                                                    1.2.3.0 to 1.2.3.255 will match.
481                                                    The bit width MUST be valid for the
482                                                    IP version and the IP number MUST
483                                                    NOT have bits set beyond the mask.
484
485                                         The sense of the match can be inverted by
486                                         preceding an address with the not modifier,
487                                         causing all other addresses to be matched
488                                         instead.  This does not affect the selection of
489                                         port numbers.
490
491                                            The keyword "any" is 0.0.0.0/0 or the IPv6
492                                            equivalent.  The keyword "assigned" is the
493                                            address or set of addresses assigned to the
494                                            terminal.  The first rule SHOULD be "deny in
495                                            ip !assigned".
496
497                                         With the TCP, UDP and SCTP protocols, optional
498                                         ports may be specified as:
499
500                                            {port|port-port}[,port[,...]]
501
502                                         The `-' notation specifies a range of ports
503                                         (including boundaries).
504
505                            options:
506
507                               DSCP <color>
508                                       color values as defined in [49]. Exact matching
509                                       of DSCP values is required (no masks or ranges).
510                                       the "deny" can replace the color_under or
511                                       color_over values in the meter action for rate-
512                                       dependent packet drop.
513
514                               metering <rate> <color_under> <color_over>
515                                       The metering option provides Assured Forwarding,
516                                       as defined in [50], and MUST be present if the
517                                       action is set to meter. The rate option is the
518                                       throughput, in bits per second, which is used by
519                                       the access device to mark packets. Traffic above
520                                       the rate is marked with the color_over codepoint,
521                                       while traffic under the rate is marked with the
522                                       color_under codepoint. The color_under and
523                                       color_over options contain the drop preferences,
524                                       and MUST conform to the recommended codepoint
525                                       keywords described in [50] (e.g. AF13).
526
527                                       The metering option also supports the strict
528                                       limit on traffic required by Expedited
529                                       Forwarding, as defined in [51]. The color_over
530                                       option may contain the keyword "drop" to prevent
531                                       forwarding of traffic that exceeds the rate
532                                       parameter.
533
534                         The rule syntax is a modified subset of ipfw(8) from FreeBSD,
535                         and the ipfw.c code may provide a useful base for
536                         implementations.
537                 -->
538                 <typedefn type-name="MIPRegistrationRequest" type-parent="OctetString"/>
539                 <typedefn type-name="Integer32"/>
540                 <!--
541                         32 bit signed value, in network byte order. The AVP Length
542                         field MUST be set to 12 (16 if the 'V' bit is enabled).
543                 -->
544                 <typedefn type-name="VendorId" type-parent="Unsigned32"/>
545                 <typedefn type-name="AppId" type-parent="Integer32"/>
546                 <typedefn type-name="Integer64"/>
547                 <!--
548                         64 bit signed value, in network byte order. The AVP Length
549                         field MUST be set to 16 (20 if the 'V' bit is enabled).
550                 -->
551                 <typedefn type-name="Unsigned32"/>
552                 <!--
553                         32 bit unsigned value, in network byte order. The AVP Length
554                         field MUST be set to 12 (16 if the 'V' bit is enabled).
555                         Unsigned32 values used to transmit time data contains the four
556                         most significant octets returned from NTP [18], in network byte
557                         order.
558                 -->
559                 <typedefn type-name="Time"/>
560                 <!--
561                         The Time format is derived from the Unsigned32 AVP Base Format.
562                         This is 32 bit unsigned value containing the four most
563                         significant octets returned from NTP [18], in network byte
564                         order.
565
566                         This represent the number of seconds since 0h on 1 January 1900
567                         with respect to the Coordinated Universal Time (UTC).
568
569                         On 6h 28m 16s UTC, 7 February 2036 the time value will
570                         overflow.  NTP [18] describes a procedure to extend the time to
571                         2104.
572                 -->
573                 <typedefn type-name="Unsigned64"/>
574                 <!--
575                         64 bit unsigned value, in network byte order. The AVP Length
576                         field MUST be set to 16 (20 if the 'V' bit is enabled).
577                 -->
578                 <typedefn type-name="Enumerated" type-parent="Integer32"/>
579                 <typedefn type-name="DiameterURI" type-parent="UTF8String"/>
580
581                 <!-- ************************* End Typedefns ************************ -->
582                 <!-- ******************* RADIUS AVPS ************************ -->
583                 <!-- http://www.iana.org/assignments/aaa-parameters -->
584                 <!-- 1-255    Radius attributes                  [RAD-IANA] -->
585                 <avp name="User-Name" code="1" mandatory="must">
586                         <type type-name="UTF8String"/>
587                 </avp>
588                 <avp name="User-Password" code="2" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
589                         <type type-name="OctetString"/>
590                 </avp>
591                 <avp name="CHAP-Password" code="3" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
592                         <type type-name="OctetString"/>
593                 </avp>
594                 <avp name="NAS-IP-Address" code="4" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
595                         <type type-name="OctetString"/>
596                 </avp>
597                 <avp name="NAS-Port" code="5" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
598                         <type type-name="Unsigned32"/>
599                 </avp>
600                 <avp name="Service-Type" code="6" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
601                         <type type-name="Enumerated"/>
602                         <enum name="Unknown" code="0"/>
603                         <enum name="Login" code="1"/>
604                         <enum name="Framed" code="2"/>
605                         <enum name="Callback-Login" code="3"/>
606                         <enum name="Callback-Framed" code="4"/>
607                         <enum name="Outbound" code="5"/>
608                         <enum name="Administrative" code="6"/>
609                         <enum name="NAS-Prompt" code="7"/>
610                         <enum name="Authenticate-Only" code="8"/>
611                         <enum name="Callback-NAS-Prompt" code="9"/>
612                         <enum name="Call Check" code="10"/>
613                         <enum name="Callback Administrative" code="11"/>
614                         <enum name="Voice" code="12"/>
615                         <enum name="Fax" code="13"/>
616                         <enum name="Modem Relay" code="14"/>
617                         <enum name="IAPP-Register" code="15"/>
618                         <enum name="IAPP-AP-Check" code="16"/>
619                         <enum name="Authorize Only" code="17"/>
620                         <enum name="Framed-Management" code="18"/>
621                 </avp>
622                 <avp name="Framed-Protocol" code="7" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
623                         <type type-name="Enumerated"/>
624                         <enum name="PPP" code="1"/>
625                         <enum name="SLIP" code="2"/>
626                         <enum name="ARAP" code="3"/>
627                         <enum name="Gandalf" code="4"/>
628                         <enum name="Xylogics" code="5"/>
629                         <enum name="X.75" code="6"/>
630                         <enum name="GPRS PDP Context" code="7"/>
631                         <enum name="Ascend-ARA" code="255"/>
632                         <enum name="MPP" code="256"/>
633                         <enum name="EURAW" code="257"/>
634                         <enum name="EUUI" code="258"/>
635                         <enum name="X25" code="259"/>
636                         <enum name="COMB" code="260"/>
637                         <enum name="FR" code="261"/>
638                 </avp>
639                 <avp name="Framed-IP-Address" code="8" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
640                         <type type-name="IPAddress"/>
641                 </avp>
642                 <avp name="Framed-IP-Netmask" code="9" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
643                         <type type-name="IPAddress"/>
644                 </avp>
645                 <avp name="Framed-Routing" code="10" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
646                         <type type-name="Enumerated"/>
647                         <enum name="None" code="0"/>
648                         <enum name="Send routing packets" code="1"/>
649                         <enum name="Listen for routing packets" code="2"/>
650                         <enum name="Send and Listen     " code="3"/>
651                 </avp>
652                 <avp name="Filter-Id" code="11" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
653                         <type type-name="UTF8String"/>
654                 </avp>
655                 <avp name="Framed-MTU" code="12" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
656                         <type type-name="Unsigned32"/>
657                 </avp>
658                 <avp name="Framed-Compression" code="13" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
659                         <type type-name="Enumerated"/>
660                         <enum name="None" code="0"/>
661                         <enum name="Van Jacobson TCP/IP header compression" code="1"/>
662                         <enum name="IPX header compression" code="2"/>
663                         <enum name="Stac-LZS compression" code="3"/>
664                 </avp>
665                 <avp name="Login-IP-Host" code="14" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
666                         <type type-name="IPAddress"/>
667                 </avp>
668                 <avp name="Login-Service" code="15" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
669                         <type type-name="Enumerated"/>
670                         <enum name="Telnet" code="0"/>
671                         <enum name="Rlogin" code="1"/>
672                         <enum name="TCP-Clear" code="2"/>
673                         <enum name="PortMaster" code="3"/>
674                         <enum name="LAT" code="4"/>
675                         <enum name="X25-PAD" code="5"/>
676                         <enum name="X25-T3POS" code="6"/>
677                         <enum name="Unassigned" code="7"/>
678                         <enum name="TCP Clear Quiet (suppresses any NAS-generated connect string)" code="8"/>
679                 </avp>
680                 <avp name="Login-TCP-Port" code="16" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
681                         <type type-name="Unsigned32"/>
682                 </avp>
683                 <!-- 17        Unassigned -->
684                 <avp name="Unassigned" code="17" mandatory="may">
685                         <type type-name="OctetString"/>
686                 </avp>
687                 <avp name="Reply-Message" code="18" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
688                         <type type-name="UTF8String"/>
689                 </avp>
690                 <avp name="Callback-Number" code="19" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
691                         <type type-name="UTF8String"/>
692                 </avp>
693                 <avp name="Callback-Id" code="20" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
694                         <type type-name="UTF8String"/>
695                 </avp>
696                 <!-- 21        Unassigned -->
697                 <avp name="Unassigned" code="21" mandatory="may">
698                         <type type-name="OctetString"/>
699                 </avp>
700                 <avp name="Framed-Route" code="22" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
701                         <type type-name="UTF8String"/>
702                 </avp>
703                 <avp name="Framed-IPX-Network" code="23" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
704                         <type type-name="UTF8String"/>
705                 </avp>
706                 <avp name="State" code="24" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
707                         <type type-name="OctetString"/>
708                 </avp>
709                 <avp name="Class" code="25" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
710                         <type type-name="OctetString"/>
711                 </avp>
712                 <avp name="Vendor-Specific" code="26" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
713                         <type type-name="Unsigned32"/>
714                         <!-- Should vendors be enum'ed? -->
715                 </avp>
716                 <avp name="Session-Timeout" code="27" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
717                         <type type-name="Unsigned32"/>
718                 </avp>
719                 <avp name="Idle-Timeout" code="28" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
720                         <type type-name="Unsigned32"/>
721                 </avp>
722                 <avp name="Termination-Action" code="29" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
723                         <type type-name="Unsigned32"/>
724                         <enum name="Default" code="0"/>
725                         <enum name="RADIUS-Request" code="1"/>
726                 </avp>
727                 <avp name="Called-Station-Id" code="30" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
728                         <type type-name="UTF8String"/>
729                 </avp>
730                 <avp name="Calling-Station-Id" code="31" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
731                         <type type-name="UTF8String"/>
732                 </avp>
733                 <avp name="NAS-Identifier" code="32" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
734                         <type type-name="OctetString"/>
735                 </avp>
736                 <avp name="Proxy-State" code="33" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
737                         <type type-name="OctetString"/>
738                 </avp>
739                 <avp name="Login-LAT-Service" code="34" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
740                         <type type-name="OctetString"/>
741                 </avp>
742                 <avp name="Login-LAT-Node" code="35" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
743                         <type type-name="OctetString"/>
744                 </avp>
745                 <avp name="Login-LAT-Group" code="36" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
746                         <type type-name="OctetString"/>
747                 </avp>
748                 <avp name="Framed-AppleTalk-Link" code="37" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
749                         <type type-name="Unsigned32"/>
750                 </avp>
751                 <avp name="Framed-AppleTalk-Network" code="38" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
752                         <type type-name="Unsigned32"/>
753                 </avp>
754                 <avp name="Framed-AppleTalk-Zone" code="39" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
755                         <type type-name="OctetString"/>
756                 </avp>
757                 <avp name="Acct-Status-Type" code="40">
758                         <type type-name="Unsigned32"/>
759                         <enum name="Start" code="1"/>
760                         <enum name="Stop" code="2"/>
761                         <enum name="Interim-Update" code="3"/>
762                         <enum name="Modem-Start" code="4"/>
763                         <enum name="Modem-Stop" code="5"/>
764                         <enum name="Cancel" code="6"/>
765                         <enum name="Accounting-On" code="7"/>
766                         <enum name="Accounting-Off" code="8"/>
767                         <!-- 9-14 Reserved for Tunnel Accounting -->
768                         <enum name="Tunnel-Start" code="9"/>
769                         <enum name="Tunnel-Stop" code="10"/>
770                         <enum name="Tunnel-Reject" code="11"/>
771                         <enum name="Tunnel-Link-Start" code="12"/>
772                         <enum name="Tunnel-Link-Stop" code="13"/>
773                         <enum name="Tunnel-Link-Rejectf" code="14"/>
774                         <!-- 15 Reserved for Tunnel Failed -->
775                         <enum name="Failed" code="15"/>
776                 </avp>
777                 <avp name="Acct-Delay-Time" code="41" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
778                         <type type-name="Unsigned32"/>
779                 </avp>
780                 <avp name="Acct-Input-Octets" code="42" mandatory="may">
781                         <type type-name="Unsigned32"/>
782                 </avp>
783                 <avp name="Acct-Output-Octets" code="43" mandatory="may">
784                         <type type-name="Unsigned32"/>
785                 </avp>
786                 <avp name="Acct-Session-Id" code="44" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
787                         <type type-name="OctetString"/>
788                         <!-- See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5411 -->
789                 </avp>
790                 <avp name="Acct-Authentic" code="45" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
791                         <type type-name="Enumerated"/>
792                         <enum name="None" code="0"/>
793                         <enum name="RADIUS" code="1"/>
794                         <enum name="Local" code="2"/>
795                         <enum name="Remote" code="3"/>
796                         <enum name="Diameter" code="4"/>
797                 </avp>
798                 <avp name="Acct-Session-Time" code="46" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
799                         <type type-name="Unsigned32"/>
800                 </avp>
801                 <avp name="Acct-Input-Packets" code="47" mandatory="may">
802                         <type type-name="Integer32"/>
803                 </avp>
804                 <avp name="Acct-Output-Packets" code="48" mandatory="may">
805                         <type type-name="Integer32"/>
806                 </avp>
807                 <avp name="Acct-Terminate-Cause" code="49">
808                         <type type-name="Unsigned32"/>
809                         <enum name="User-Request" code="1"/>
810                         <enum name="Lost-Carrier" code="2"/>
811                         <enum name="Lost-Service" code="3"/>
812                         <enum name="Idle-Timeout" code="4"/>
813                         <enum name="Session-Timeout" code="5"/>
814                         <enum name="Admin-Reset" code="6"/>
815                         <enum name="Admin-Reboot" code="7"/>
816                         <enum name="Port-Error" code="8"/>
817                         <enum name="NAS-Error" code="9"/>
818                         <enum name="NAS-Request" code="10"/>
819                         <enum name="NAS-Reboot" code="11"/>
820                         <enum name="Port-Unneeded" code="12"/>
821                         <enum name="Port-Preempted" code="13"/>
822                         <enum name="Port-Suspended" code="14"/>
823                         <enum name="Service-Unavailable" code="15"/>
824                         <enum name="Callback" code="16"/>
825                         <enum name="User-Error" code="17"/>
826                         <enum name="Host-Request" code="18"/>
827                         <enum name="Supplicant Restart" code="19"/>
828                         <enum name="Reauthentication Failure" code="20"/>
829                         <enum name="Port Reinitialized" code="21"/>
830                         <enum name="Port Administratively Disabled" code="22"/>
831                 </avp>
832                 <avp name="Accounting-Multi-Session-Id" code="50" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
833                         <type type-name="OctetString"/>
834                 </avp>
835                 <avp name="Acct-Link-Count" code="51" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
836                         <type type-name="Unsigned32"/>
837                 </avp>
838                 <avp name="Acct-Input-Gigawords" code="52" mandatory="may">
839                         <type type-name="Integer32"/>
840                 </avp>
841                 <avp name="Acct-Output-Gigawords" code="53" mandatory="may">
842                         <type type-name="Integer32"/>
843                 </avp>
844 <!-- 54        Unassigned -->
845                 <avp name="Unassigned" code="54" mandatory="may">
846                         <type type-name="OctetString"/>
847                 </avp>
848                 <avp name="Event-Timestamp" code="55" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
849                         <type type-name="Time"/>
850                 </avp>
851                 <avp name="Egress-VLANID" code="56" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
852                         <type type-name="OctetString"/>
853                 </avp>
854                 <avp name="Ingress-Filters" code="57" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
855                         <type type-name="Enumerated"/>
856                         <enum name="Enabled" code="1"/>
857                         <enum name="Disabled" code="2"/>
858                 </avp>
859                 <avp name="Egress-VLAN-Name" code="58" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
860                         <type type-name="UTF8String"/>
861                 </avp>
862                 <avp name="User-Priority-Table" code="59" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
863                         <type type-name="OctetString"/>
864                 </avp>
865                 <avp name="CHAP-Challenge" code="60" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
866                         <type type-name="OctetString"/>
867                 </avp>
868                 <avp name="NAS-Port-Type" code="61" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
869                         <type type-name="Enumerated"/>
870                         <enum name="Async" code="0"/>
871                         <enum name="Sync" code="1"/>
872                         <enum name="ISDN-Sync" code="2"/>
873                         <enum name="ISDN-Async-v120" code="3"/>
874                         <enum name="ISDN-Async-v110" code="4"/>
875                         <enum name="Virtual" code="5"/>
876                         <enum name="PIAFS" code="6"/>
877                         <enum name="HDLC-Clear-Channel" code="7"/>
878                         <enum name="X25" code="8"/>
879                         <enum name="X75" code="9"/>
880                         <enum name="G.3 Fax" code="10"/>
881                         <enum name="SDSL - Symmetric DSL" code="11"/>
882                         <enum name="ADSL-CAP - Asymmetric DSL, Carrierless Amplitude Phase Modulation" code="12"/>
883                         <enum name="ADSL-DMT - Asymmetric DSL, Discrete Multi-Tone" code="13"/>
884                         <enum name="IDSL - ISDN Digital Subscriber Line" code="14"/>
885                         <enum name="Ethernet" code="15"/>
886                         <enum name="xDSL - Digital Subscriber Line of unknown type" code="16"/>
887                         <enum name="Cable" code="17"/>
888                         <enum name="Wireless - Other" code="18"/>
889                         <enum name="Wireless - IEEE 802.11" code="19"/>
890                         <enum name="Token-Ring" code="20"/>
891                         <enum name="FDDI" code="21"/>
892                         <enum name="Wireless - CDMA2000" code="22"/>
893                         <enum name="Wireless - UMTS" code="23"/>
894                         <enum name="Wireless - 1X-EV" code="24"/>
895                         <enum name="IAPP" code="25"/>
896                         <enum name="FTTP - Fiber to the Premises" code="26"/>
897                         <enum name="Wireless - IEEE 802.16" code="27"/>
898                         <enum name="Wireless - IEEE 802.20" code="28"/>
899                         <enum name="Wireless - IEEE 802.22" code="29"/>
900                         <enum name="PPPoA - PPP over ATM" code="30"/>
901                         <enum name="PPPoEoA - PPP over Ethernet over ATM" code="31"/>
902                         <enum name="PPPoEoE - PPP over Ethernet over Ethernet" code="32"/>
903                         <enum name="PPPoEoVLAN - PPP over Ethernet over VLAN" code="33"/>
904                         <enum name="PPPoEoQinQ - PPP over Ethernet over IEEE 802.1QinQ" code="34"/>
905                         <enum name="xPON - Passive Optical Network" code="35"/>
906                         <enum name="Wireless - XGP" code="36"/>
907                 </avp>
908                 <avp name="Port-Limit" code="62" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
909                         <type type-name="Unsigned32"/>
910                 </avp>
911                 <avp name="Login-LAT-Port" code="63" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
912                         <type type-name="OctetString"/>
913                 </avp>
914                 <avp name="Tunnel-Type" code="64" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
915                         <type type-name="Enumerated"/>
916                         <enum name="PPTP" code="1"/>
917                         <enum name="L2F" code="2"/>
918                         <enum name="L2TP" code="3"/>
919                         <enum name="ATMP" code="4"/>
920                         <enum name="VTP" code="5"/>
921                         <enum name="AH" code="6"/>
922                         <enum name="IP-IP-Encap" code="7"/>
923                         <enum name="MIN-IP-IP" code="8"/>
924                         <enum name="ESP" code="9"/>
925                         <enum name="GRE" code="10"/>
926                         <enum name="DVS" code="11"/>
927                         <enum name="IP-in-IP Tunneling" code="12"/>
928                         <enum name="VLAN" code="13"/>
929                 </avp>
930                 <avp name="Tunnel-Medium-Type" code="65" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
931                         <type type-name="Enumerated"/>
932                         <enum name="IPv4" code="1"/>
933                         <enum name="IPv6" code="2"/>
934                         <enum name="NSAP" code="3"/>
935                         <enum name="HDLC" code="4"/>
936                         <enum name="BBN" code="5"/>
937                         <enum name="IEEE-802" code="6"/>
938                         <enum name="E-163" code="7"/>
939                         <enum name="E-164" code="8"/>
940                         <enum name="F-69" code="9"/>
941                         <enum name="X-121" code="10"/>
942                         <enum name="IPX" code="11"/>
943                         <enum name="Appletalk-802" code="12"/>
944                         <enum name="Decnet4" code="13"/>
945                         <enum name="Vines" code="14"/>
946                         <enum name="E-164-NSAP" code="15"/>
947                 </avp>
948                 <avp name="Acct-Tunnel-Client-Endpoint" code="66" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
949                         <type type-name="UTF8String"/>
950                 </avp>
951                 <avp name="Tunnel-Server-Endpoint" code="67" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
952                         <type type-name="UTF8String"/>
953                 </avp>
954                 <avp name="Acct-Tunnel-Connection-ID" code="68" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
955                         <type type-name="OctetString"/>
956                 </avp>
957                 <avp name="Tunnel-Password" code="69" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
958                         <type type-name="OctetString"/>
959                 </avp>
960                 <avp name="ARAP-Password" code="70" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
961                         <type type-name="OctetString"/>
962                 </avp>
963                 <avp name="ARAP-Features" code="71" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
964                         <type type-name="OctetString"/>
965                 </avp>
966                 <avp name="ARAP-Zone-Access" code="72" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
967                         <type type-name="Enumerated"/>
968                         <enum name="Only allow access to default zone" code="1"/>
969                         <enum name="Use zone filter inclusively" code="2"/>
970                         <enum name="Use zone filter exclusively" code="3"/>
971                 </avp>
972                 <avp name="ARAP-Security" code="73" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
973                         <type type-name="Unsigned32"/>
974                 </avp>
975                 <avp name="ARAP-Security-Data" code="74" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
976                         <type type-name="OctetString"/>
977                 </avp>
978                 <avp name="Password-Retry" code="75" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
979                         <type type-name="Unsigned32"/>
980                 </avp>
981                 <avp name="Prompt" code="76" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
982                         <type type-name="Enumerated"/>
983                         <enum name="No Echo" code="0"/>
984                         <enum name="Echo" code="1"/>
985                 </avp>
986                 <avp name="Connect-Info" code="77" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
987                         <type type-name="UTF8String"/>
988                 </avp>
989                 <avp name="Configuration-Token" code="78" mandatory="must" protected="mustnot" vendor-bit="mustnot">
990                         <type type-name="OctetString"/>
991                 </avp>
992                 <avp name="EAP-Message" code="79" mandatory="may">
993                         <type type-name="OctetString"/>
994                 </avp>
995                 <avp name="Signature" code="80" mandatory="may">
996                         <type type-name="OctetString"/>
997                 </avp>
998                 <avp name="Tunnel-Private-Group-Id" code="81" mandatory="must" protected="mustnot" vendor-bit="mustnot">
999                         <type type-name="OctetString"/>
1000                 </avp>
1001                 <avp name="Tunnel-Assignment-Id" code="82" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1002                         <type type-name="OctetString"/>
1003                 </avp>
1004                 <avp name="Tunnel-Preference" code="83" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1005                         <type type-name="Unsigned32"/>
1006                 </avp>
1007                 <avp name="ARAP-Challenge-Response" code="84" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1008                         <type type-name="OctetString"/>
1009                 </avp>
1010                 <avp name="Acct-Interim-Interval" code="85" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1011                         <type type-name="Unsigned32"/>
1012                 </avp>
1013                 <avp name="Acct-Tunnel-Packets-Lost" code="86" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1014                         <type type-name="Unsigned32"/>
1015                 </avp>
1016                 <avp name="NAS-Port-Id" code="87" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1017                         <type type-name="UTF8String"/>
1018                 </avp>
1019                 <avp name="Framed-Pool" code="88" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1020                         <type type-name="OctetString"/>
1021                 </avp>
1022                 <avp name="CUI" code="89" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1023                         <type type-name="UTF8String"/>
1024                 </avp>
1025                 <avp name="Tunnel-Client-Auth-Id" code="90" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1026                         <type type-name="UTF8String"/>
1027                 </avp>
1028                 <avp name="Tunnel-Server-Auth-Id" code="91" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1029                         <type type-name="UTF8String"/>
1030                 </avp>
1031                 <avp name="NAS-Filter-Rule" code="92" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1032                         <type type-name="UTF8String"/>
1033                 </avp>
1034 <!--  93        (unassigned) -->
1035                 <avp name="Unassigned" code="93" mandatory="may">
1036                         <type type-name="OctetString"/>
1037                 </avp>
1038                 <avp name="Originating-Line-Info" code="94" mandatory="may" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1039                         <type type-name="OctetString"/>
1040                 </avp>
1041                 <avp name="NAS-IPv6-Address" code="95" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1042                         <type type-name="OctetString"/>
1043                 </avp>
1044                 <avp name="Framed-Interface-Id" code="96" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1045                         <type type-name="Unsigned64"/>
1046                 </avp>
1047                 <avp name="Framed-IPv6-Prefix" code="97" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1048                         <type type-name="OctetString"/>
1049                 </avp>
1050                 <avp name="Login-IPv6-Host" code="98" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1051                         <type type-name="OctetString"/>
1052                 </avp>
1053                 <avp name="Framed-IPv6-Route" code="99" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1054                         <type type-name="UTF8String"/>
1055                 </avp>
1056                 <avp name="Framed-IPv6-Prefix" code="100" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="mustnot">
1057                         <type type-name="OctetString"/>
1058                 </avp>
1059                 <avp name="Error-Cause" code="101" mandatory="may">
1060                         <type type-name="Integer32"/>
1061                         <enum name="Diameter Common Messages" code="0"/>
1062                         <enum name="Residual Session Context Removed" code="201"/>
1063                         <enum name="Invalid EAP Packet (Ignored)" code="202"/>
1064                         <enum name="Unsupported Attribute" code="401"/>
1065                         <enum name="Missing Attribute" code="402"/>
1066                         <enum name="NAS Identification Mismatch" code="403"/>
1067                         <enum name="Invalid Request" code="404"/>
1068                         <enum name="Unsupported Service" code="405"/>
1069                         <enum name="Unsupported Extension" code="406"/>
1070                         <enum name="Invalid Attribute Value" code="407"/>
1071                         <enum name="Administratively Prohibited" code="501"/>
1072                         <enum name="Request Not Routable (Proxy)" code="502"/>
1073                         <enum name="Session Context Not Found" code="503"/>
1074                         <enum name="Session Context Not Removable" code="504"/>
1075                         <enum name="Other Proxy Processing Error" code="505"/>
1076                         <enum name="Resources Unavailable" code="506"/>
1077                         <enum name="Request Initiated" code="507"/>
1078                         <enum name="Multiple Session Selection Unsupported" code="508"/>
1079                 </avp>
1080                 <avp name="EAP-Key-Name" code="102" mandatory="may">
1081                         <type type-name="UTF8String"/>
1082                 </avp>
1083                 <avp name="Digest-Response" code="103" mandatory="may">
1084                         <type type-name="UTF8String"/>
1085                 </avp>
1086                 <avp name="Digest-Realm" code="104" mandatory="may">
1087                         <type type-name="UTF8String"/>
1088                 </avp>
1089                 <avp name="Digest-Nonce" code="105" mandatory="may">
1090                         <type type-name="UTF8String"/>
1091                 </avp>
1092                 <avp name="Digest-Response-Auth" code="106" mandatory="may">
1093                         <type type-name="UTF8String"/>
1094                 </avp>
1095                 <avp name="Digest-Nextnonce" code="107" mandatory="may">
1096                         <type type-name="UTF8String"/>
1097                 </avp>
1098                 <avp name="Digest-Method" code="108" mandatory="may">
1099                         <type type-name="UTF8String"/>
1100                 </avp>
1101                 <avp name="Digest-URI" code="109" mandatory="may">
1102                         <type type-name="UTF8String"/>
1103                 </avp>
1104                 <avp name="Digest-Qop" code="110" mandatory="may">
1105                         <type type-name="UTF8String"/>
1106                 </avp>
1107                 <avp name="Digest-Algorithm" code="111" mandatory="may">
1108                         <type type-name="UTF8String"/>
1109                 </avp>
1110                 <avp name="Digest-Entity-Body-Hash" code="112" mandatory="may">
1111                         <type type-name="UTF8String"/>
1112                 </avp>
1113                 <avp name="Digest-Digest-CNonce" code="113" mandatory="may">
1114                         <type type-name="UTF8String"/>
1115                 </avp>
1116                 <avp name="Digest-Nonce-Count" code="114" mandatory="may">
1117                         <type type-name="UTF8String"/>
1118                 </avp>
1119                 <avp name="Digest-Username" code="115" mandatory="may">
1120                         <type type-name="UTF8String"/>
1121                 </avp>
1122                 <avp name="Digest-Opaque" code="116" mandatory="may">
1123                         <type type-name="UTF8String"/>
1124                 </avp>
1125                 <avp name="Digest-Auth-Param" code="117" mandatory="may">
1126                         <type type-name="UTF8String"/>
1127                 </avp>
1128                 <avp name="Digest-AKA-Auts" code="118" mandatory="may">
1129                         <type type-name="UTF8String"/>
1130                 </avp>
1131                 <avp name="Digest-Domain" code="119" mandatory="may">
1132                         <type type-name="UTF8String"/>
1133                 </avp>
1134                 <avp name="Digest-Stale" code="120" mandatory="may">
1135                         <type type-name="UTF8String"/>
1136                 </avp>
1137                 <avp name="Digest-HA1" code="121" mandatory="may">
1138                         <type type-name="UTF8String"/>
1139                 </avp>
1140                 <avp name="SIP-AOR" code="122" mandatory="may">
1141                         <type type-name="UTF8String"/>
1142                 </avp>
1143                 <avp name="Delegated-IPv6-Prefix" code="123" mandatory="may">
1144                         <type type-name="OctetString"/>
1145                 </avp>
1146                 <avp name="MIP6-Feature-Vector" code="124" mandatory="may">
1147                         <type type-name="Unsigned64"/>
1148                 </avp>
1149                 <avp name="MIP6-Home-Link-Prefix" code="125" mandatory="may">
1150                         <type type-name="OctetString"/>
1151                 </avp>
1152                 <!-- RFC5580 -->
1153                 <avp name="Operator-Name" code="126" mandatory="may">
1154                         <type type-name="OctetString"/>
1155                 </avp>
1156                 <avp name="Location-Information" code="127" mandatory="may">
1157                         <type type-name="OctetString"/>
1158                 </avp>
1159                 <avp name="Location-Data" code="128" mandatory="may">
1160                         <type type-name="OctetString"/>
1161                 </avp>
1162                 <avp name="Basic-Location-Policy-Rules" code="129" mandatory="may">
1163                         <type type-name="OctetString"/>
1164                 </avp>
1165                 <avp name="Extended-Location-Policy-Rules" code="130" mandatory="may">
1166                         <type type-name="OctetString"/>
1167                 </avp>
1168                 <avp name="Location-Capable" code="131" mandatory="may">
1169                         <type type-name="OctetString"/>
1170                 </avp>
1171                 <avp name="Requested-Location-Info" code="132" mandatory="may">
1172                         <type type-name="OctetString"/>
1173                 </avp>
1174                 <avp name="Framed-Management-Protocol" code="133" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1175                         <type type-name="Enumerated"/>
1176                         <enum name="SNMP" code="1"/>
1177                         <enum name="Web-based" code="2"/>
1178                         <enum name="NETCONF" code="3"/>
1179                         <enum name="FTP" code="4"/>
1180                         <enum name="TFTP" code="5"/>
1181                         <enum name="SFTP" code="6"/>
1182                         <enum name="RCP" code="7"/>
1183                         <enum name="SCP" code="8"/>
1184                 </avp>
1185                 <avp name="Management-Transport-Protection" code="134" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1186                         <type type-name="Enumerated"/>
1187                         <enum name="No-Protection" code="1"/>
1188                         <enum name="Integrity-Protection" code="2"/>
1189                         <enum name="Integrity-Confidentiality-Protection" code="3"/>
1190                 </avp>
1191                 <avp name="Management-Policy-Id" code="135" mandatory="may">
1192                         <type type-name="UTF8String"/>
1193                 </avp>
1194                 <avp name="Management-Privilege-Level" code="136" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1195                         <type type-name="Integer32"/>
1196                 </avp>
1197                 <avp name="PKM-SS-Cert" code="137" mandatory="may">
1198                         <type type-name="OctetString"/>
1199                 </avp>
1200                 <avp name="PKM-CA-Cert" code="138" mandatory="may">
1201                         <type type-name="OctetString"/>
1202                 </avp>
1203                 <avp name="PKM-Config-Settings" code="139" mandatory="may">
1204                         <type type-name="OctetString"/>
1205                 </avp>
1206                 <avp name="PKM-Cryptosuite-List" code="140" mandatory="may">
1207                         <type type-name="OctetString"/>
1208                 </avp>
1209                 <avp name="PPKM-SAID" code="141" mandatory="may">
1210                         <type type-name="OctetString"/>
1211                 </avp>
1212                 <avp name="PKM-SA-Descriptor" code="142" mandatory="may">
1213                         <type type-name="OctetString"/>
1214                 </avp>
1215                 <avp name="PKM-Auth-Key" code="143" mandatory="may">
1216                         <type type-name="OctetString"/>
1217                 </avp>
1218                 <!-- 144-191   Unassigned -->
1219                 <avp name="Unassigned" code="144" mandatory="may">
1220                         <type type-name="OctetString"/>
1221                 </avp>
1222                 <avp name="Unassigned" code="145" mandatory="may">
1223                         <type type-name="OctetString"/>
1224                 </avp>
1225                 <avp name="Unassigned" code="146" mandatory="may">
1226                         <type type-name="OctetString"/>
1227                 </avp>
1228                 <avp name="Unassigned" code="147" mandatory="may">
1229                         <type type-name="OctetString"/>
1230                 </avp>
1231                 <avp name="Unassigned" code="148" mandatory="may">
1232                         <type type-name="OctetString"/>
1233                 </avp>
1234                 <avp name="Unassigned" code="149" mandatory="may">
1235                         <type type-name="OctetString"/>
1236                 </avp>
1237                 <avp name="Unassigned" code="150" mandatory="may">
1238                         <type type-name="OctetString"/>
1239                 </avp>
1240                 <avp name="Unassigned" code="151" mandatory="may">
1241                         <type type-name="OctetString"/>
1242                 </avp>
1243                 <avp name="Unassigned" code="152" mandatory="may">
1244                         <type type-name="OctetString"/>
1245                 </avp>
1246                 <avp name="Unassigned" code="153" mandatory="may">
1247                         <type type-name="OctetString"/>
1248                 </avp>
1249                 <avp name="Unassigned" code="154" mandatory="may">
1250                         <type type-name="OctetString"/>
1251                 </avp>
1252                 <avp name="Unassigned" code="155" mandatory="may">
1253                         <type type-name="OctetString"/>
1254                 </avp>
1255                 <avp name="Unassigned" code="156" mandatory="may">
1256                         <type type-name="OctetString"/>
1257                 </avp>
1258                 <avp name="Unassigned" code="157" mandatory="may">
1259                         <type type-name="OctetString"/>
1260                 </avp>
1261                 <avp name="Unassigned" code="158" mandatory="may">
1262                         <type type-name="OctetString"/>
1263                 </avp>
1264                 <avp name="Unassigned" code="159" mandatory="may">
1265                         <type type-name="OctetString"/>
1266                 </avp>
1267                 <avp name="Unassigned" code="160" mandatory="may">
1268                         <type type-name="OctetString"/>
1269                 </avp>
1270                 <avp name="Unassigned" code="161" mandatory="may">
1271                         <type type-name="OctetString"/>
1272                 </avp>
1273                 <avp name="Unassigned" code="162" mandatory="may">
1274                         <type type-name="OctetString"/>
1275                 </avp>
1276                 <avp name="Unassigned" code="163" mandatory="may">
1277                         <type type-name="OctetString"/>
1278                 </avp>
1279                 <avp name="Unassigned" code="164" mandatory="may">
1280                         <type type-name="OctetString"/>
1281                 </avp>
1282                 <avp name="Unassigned" code="165" mandatory="may">
1283                         <type type-name="OctetString"/>
1284                 </avp>
1285                 <avp name="Unassigned" code="166" mandatory="may">
1286                         <type type-name="OctetString"/>
1287                 </avp>
1288                 <avp name="Unassigned" code="167" mandatory="may">
1289                         <type type-name="OctetString"/>
1290                 </avp>
1291                 <avp name="Unassigned" code="168" mandatory="may">
1292                         <type type-name="OctetString"/>
1293                 </avp>
1294                 <avp name="Unassigned" code="169" mandatory="may">
1295                         <type type-name="OctetString"/>
1296                 </avp>
1297                 <avp name="Unassigned" code="170" mandatory="may">
1298                         <type type-name="OctetString"/>
1299                 </avp>
1300                 <avp name="Unassigned" code="171" mandatory="may">
1301                         <type type-name="OctetString"/>
1302                 </avp>
1303                 <avp name="Unassigned" code="172" mandatory="may">
1304                         <type type-name="OctetString"/>
1305                 </avp>
1306                 <avp name="Unassigned" code="173" mandatory="may">
1307                         <type type-name="OctetString"/>
1308                 </avp>
1309                 <avp name="Unassigned" code="174" mandatory="may">
1310                         <type type-name="OctetString"/>
1311                 </avp>
1312                 <avp name="Unassigned" code="175" mandatory="may">
1313                         <type type-name="OctetString"/>
1314                 </avp>
1315                 <avp name="Unassigned" code="176" mandatory="may">
1316                         <type type-name="OctetString"/>
1317                 </avp>
1318                 <avp name="Unassigned" code="177" mandatory="may">
1319                         <type type-name="OctetString"/>
1320                 </avp>
1321                 <avp name="Unassigned" code="178" mandatory="may">
1322                         <type type-name="OctetString"/>
1323                 </avp>
1324                 <avp name="Unassigned" code="179" mandatory="may">
1325                         <type type-name="OctetString"/>
1326                 </avp>
1327                 <avp name="Unassigned" code="180" mandatory="may">
1328                         <type type-name="OctetString"/>
1329                 </avp>
1330                 <avp name="Unassigned" code="181" mandatory="may">
1331                         <type type-name="OctetString"/>
1332                 </avp>
1333                 <avp name="Unassigned" code="182" mandatory="may">
1334                         <type type-name="OctetString"/>
1335                 </avp>
1336                 <avp name="Unassigned" code="183" mandatory="may">
1337                         <type type-name="OctetString"/>
1338                 </avp>
1339                 <avp name="Unassigned" code="184" mandatory="may">
1340                         <type type-name="OctetString"/>
1341                 </avp>
1342                 <avp name="Unassigned" code="185" mandatory="may">
1343                         <type type-name="OctetString"/>
1344                 </avp>
1345                 <avp name="Unassigned" code="186" mandatory="may">
1346                         <type type-name="OctetString"/>
1347                 </avp>
1348                 <avp name="Unassigned" code="187" mandatory="may">
1349                         <type type-name="OctetString"/>
1350                 </avp>
1351                 <avp name="Unassigned" code="188" mandatory="may">
1352                         <type type-name="OctetString"/>
1353                 </avp>
1354                 <avp name="Unassigned" code="189" mandatory="may">
1355                         <type type-name="OctetString"/>
1356                 </avp>
1357                 <avp name="Unassigned" code="190" mandatory="may">
1358                         <type type-name="OctetString"/>
1359                 </avp>
1360                 <avp name="Unassigned" code="191" mandatory="may">
1361                         <type type-name="OctetString"/>
1362                 </avp>
1363
1364                 <!-- 192-223   Experimental Use                         [RFC3575] -->
1365                 <avp name="Experimental-Use" code="192" mandatory="may">
1366                         <type type-name="OctetString"/>
1367                 </avp>
1368                 <avp name="Experimental-Use" code="193" mandatory="may">
1369                         <type type-name="OctetString"/>
1370                 </avp>
1371                 <avp name="Experimental-Use" code="194" mandatory="may">
1372                         <type type-name="OctetString"/>
1373                 </avp>
1374                 <avp name="Experimental-Use" code="195" mandatory="may">
1375                         <type type-name="OctetString"/>
1376                 </avp>
1377                 <avp name="Experimental-Use" code="196" mandatory="may">
1378                         <type type-name="OctetString"/>
1379                 </avp>
1380                 <avp name="Experimental-Use" code="197" mandatory="may">
1381                         <type type-name="OctetString"/>
1382                 </avp>
1383                 <avp name="Experimental-Use" code="198" mandatory="may">
1384                         <type type-name="OctetString"/>
1385                 </avp>
1386                 <avp name="Experimental-Use" code="199" mandatory="may">
1387                         <type type-name="OctetString"/>
1388                 </avp>
1389                 <avp name="Experimental-Use" code="200" mandatory="may">
1390                         <type type-name="OctetString"/>
1391                 </avp>
1392                 <avp name="Experimental-Use" code="201" mandatory="may">
1393                         <type type-name="OctetString"/>
1394                 </avp>
1395                 <avp name="Experimental-Use" code="202" mandatory="may">
1396                         <type type-name="OctetString"/>
1397                 </avp>
1398                 <avp name="Experimental-Use" code="203" mandatory="may">
1399                         <type type-name="OctetString"/>
1400                 </avp>
1401                 <avp name="Experimental-Use" code="204" mandatory="may">
1402                         <type type-name="OctetString"/>
1403                 </avp>
1404                 <avp name="Experimental-Use" code="205" mandatory="may">
1405                         <type type-name="OctetString"/>
1406                 </avp>
1407                 <avp name="Experimental-Use" code="206" mandatory="may">
1408                         <type type-name="OctetString"/>
1409                 </avp>
1410                 <avp name="Experimental-Use" code="207" mandatory="may">
1411                         <type type-name="OctetString"/>
1412                 </avp>
1413                 <avp name="Experimental-Use" code="208" mandatory="may">
1414                         <type type-name="OctetString"/>
1415                 </avp>
1416                 <avp name="Experimental-Use" code="209" mandatory="may">
1417                         <type type-name="OctetString"/>
1418                 </avp>
1419                 <avp name="Experimental-Use" code="210" mandatory="may">
1420                         <type type-name="OctetString"/>
1421                 </avp>
1422                 <avp name="Experimental-Use" code="211" mandatory="may">
1423                         <type type-name="OctetString"/>
1424                 </avp>
1425                 <avp name="Experimental-Use" code="212" mandatory="may">
1426                         <type type-name="OctetString"/>
1427                 </avp>
1428                 <avp name="Experimental-Use" code="213" mandatory="may">
1429                         <type type-name="OctetString"/>
1430                 </avp>
1431                 <avp name="Experimental-Use" code="214" mandatory="may">
1432                         <type type-name="OctetString"/>
1433                 </avp>
1434                 <avp name="Experimental-Use" code="215" mandatory="may">
1435                         <type type-name="OctetString"/>
1436                 </avp>
1437                 <avp name="Experimental-Use" code="216" mandatory="may">
1438                         <type type-name="OctetString"/>
1439                 </avp>
1440                 <avp name="Experimental-Use" code="217" mandatory="may">
1441                         <type type-name="OctetString"/>
1442                 </avp>
1443                 <avp name="Experimental-Use" code="218" mandatory="may">
1444                         <type type-name="OctetString"/>
1445                 </avp>
1446                 <avp name="Experimental-Use" code="219" mandatory="may">
1447                         <type type-name="OctetString"/>
1448                 </avp>
1449                 <avp name="Experimental-Use" code="220" mandatory="may">
1450                         <type type-name="OctetString"/>
1451                 </avp>
1452                 <avp name="Experimental-Use" code="221" mandatory="may">
1453                         <type type-name="OctetString"/>
1454                 </avp>
1455                 <avp name="Experimental-Use" code="222" mandatory="may">
1456                         <type type-name="OctetString"/>
1457                 </avp>
1458                 <avp name="Experimental-Use" code="223" mandatory="may">
1459                         <type type-name="OctetString"/>
1460                 </avp>
1461                 <!-- 224-240   Implementation Specific                  [RFC3575] -->
1462                 <avp name="Implementation-Specific" code="224" mandatory="may">
1463                         <type type-name="OctetString"/>
1464                 </avp>
1465                 <avp name="Implementation-Specific" code="225" mandatory="may">
1466                         <type type-name="OctetString"/>
1467                 </avp>
1468                 <avp name="Implementation-Specific" code="226" mandatory="may">
1469                         <type type-name="OctetString"/>
1470                 </avp>
1471                 <avp name="Implementation-Specific" code="227" mandatory="may">
1472                         <type type-name="OctetString"/>
1473                 </avp>
1474                 <avp name="Implementation-Specific" code="228" mandatory="may">
1475                         <type type-name="OctetString"/>
1476                 </avp>
1477                 <avp name="Implementation-Specific" code="229" mandatory="may">
1478                         <type type-name="OctetString"/>
1479                 </avp>
1480                 <avp name="Implementation-Specific" code="230" mandatory="may">
1481                         <type type-name="OctetString"/>
1482                 </avp>
1483                 <avp name="Implementation-Specific" code="231" mandatory="may">
1484                         <type type-name="OctetString"/>
1485                 </avp>
1486                 <avp name="Implementation-Specific" code="232" mandatory="may">
1487                         <type type-name="OctetString"/>
1488                 </avp>
1489                 <avp name="Implementation-Specific" code="233" mandatory="may">
1490                         <type type-name="OctetString"/>
1491                 </avp>
1492                 <avp name="Implementation-Specific" code="234" mandatory="may">
1493                         <type type-name="OctetString"/>
1494                 </avp>
1495                 <avp name="Implementation-Specific" code="235" mandatory="may">
1496                         <type type-name="OctetString"/>
1497                 </avp>
1498                 <avp name="Implementation-Specific" code="236" mandatory="may">
1499                         <type type-name="OctetString"/>
1500                 </avp>
1501                 <avp name="Implementation-Specific" code="237" mandatory="may">
1502                         <type type-name="OctetString"/>
1503                 </avp>
1504                 <avp name="Implementation-Specific" code="238" mandatory="may">
1505                         <type type-name="OctetString"/>
1506                 </avp>
1507                 <avp name="Implementation-Specific" code="239" mandatory="may">
1508                         <type type-name="OctetString"/>
1509                 </avp>
1510                 <avp name="Implementation-Specific" code="240" mandatory="may">
1511                         <type type-name="OctetString"/>
1512                 </avp>
1513                 <!--241-255   Reserved                                 [RFC3575] -->
1514                 <avp name="Reserved" code="241" mandatory="may">
1515                         <type type-name="OctetString"/>
1516                 </avp>
1517                 <avp name="Reserved" code="242" mandatory="may">
1518                         <type type-name="OctetString"/>
1519                 </avp>
1520                 <avp name="Reserved" code="243" mandatory="may">
1521                         <type type-name="OctetString"/>
1522                 </avp>
1523                 <avp name="Reserved" code="244" mandatory="may">
1524                         <type type-name="OctetString"/>
1525                 </avp>
1526                 <avp name="Reserved" code="245" mandatory="may">
1527                         <type type-name="OctetString"/>
1528                 </avp>
1529                 <avp name="Reserved" code="246" mandatory="may">
1530                         <type type-name="OctetString"/>
1531                 </avp>
1532                 <avp name="Reserved" code="247" mandatory="may">
1533                         <type type-name="OctetString"/>
1534                 </avp>
1535                 <avp name="Reserved" code="248" mandatory="may">
1536                         <type type-name="OctetString"/>
1537                 </avp>
1538                 <avp name="Reserved" code="249" mandatory="may">
1539                         <type type-name="OctetString"/>
1540                 </avp>
1541                 <avp name="Reserved" code="250" mandatory="may">
1542                         <type type-name="OctetString"/>
1543                 </avp>
1544                 <avp name="Reserved" code="251" mandatory="may">
1545                         <type type-name="OctetString"/>
1546                 </avp>
1547                 <avp name="Reserved" code="252" mandatory="may">
1548                         <type type-name="OctetString"/>
1549                 </avp>
1550                 <avp name="Reserved" code="253" mandatory="may">
1551                         <type type-name="OctetString"/>
1552                 </avp>
1553                 <avp name="Reserved" code="254" mandatory="may">
1554                         <type type-name="OctetString"/>
1555                 </avp>
1556                 <avp name="Reserved" code="255" mandatory="may">
1557                         <type type-name="OctetString"/>
1558                 </avp>
1559                 <!-- ******************* DIAMETER BASE PROTOCOL AVPS ************************ -->
1560                 <avp name="Unassigned" code="256" mandatory="may">
1561                   <type type-name="OctetString"/>
1562                 </avp>
1563                 <avp name="Host-IP-Address" code="257" mandatory="must" protected="may" may-encrypt="no" vendor-bit="mustnot">
1564                         <type type-name="IPAddress"/>
1565                 </avp>
1566                 <avp name="Auth-Application-Id" code="258" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1567                         <type type-name="AppId"/>
1568                         <enum name="Diameter Common Messages" code="0"/>
1569                         <enum name="Diameter NASREQ Application" code="1"/>
1570                         <enum name="Diameter Mobile IPv4 Application" code="2"/>
1571                         <enum name="Diameter Base Accounting" code="3"/>
1572                         <enum name="Diameter Credit Control" code="4"/>
1573                         <enum name="Diameter EAP" code="5"/>
1574                         <enum name="Diameter Session Initiation Protocol (SIP) Application" code="6"/>
1575                         <enum name="Diameter Mobile IPv6 IKE   (MIP6I)" code="7"/>
1576                         <enum name="Diameter Mobile IPv6 Auth  (MIP6A)" code="8"/>
1577                         <enum name="Diameter QoS application" code="9"/>
1578                         <!-- 10-16777215 Unassigned -->
1579                         <enum name="3GPP CX/DX" code="16777216"/>
1580                         <enum name="3GPP Sh" code="16777217"/>
1581                         <enum name="3GPP Re/Rf" code="16777218"/>
1582                         <enum name="3GPP Wx" code="16777219"/>
1583                         <enum name="GPP Zn" code="16777220"/>
1584                         <enum name="3GPP Zh" code="16777221"/>
1585                         <enum name="3GPP Gq" code="16777222"/>
1586                         <enum name="3GPP Gmb" code="16777223"/>
1587                         <enum name="3GPP Gx" code="16777224"/>
1588                         <enum name="3GPP Gx over Gy" code="16777225"/>
1589                         <enum name="3GPP MM10" code="16777226"/>
1590                         <enum name="Ericsson MSI" code="16777227"/>
1591                         <enum name="Ericsson Zx" code="16777228"/>
1592                         <enum name="3GPP Rx" code="16777229"/>
1593                         <enum name="3GPP Pr" code="16777230"/>
1594                         <enum name="ETSI e4" code="16777231"/>
1595                         <enum name="Ericsson Charging-CIP" code="16777232"/>
1596                         <enum name="Ericsson Mm" code="16777233"/>
1597                         <enum name="Vodafone Gx+" code="16777234"/>
1598                         <enum name="ITU-T Rs" code="16777235"/>
1599                         <enum name="3GPP Rx" code="16777236"/>
1600                         <enum name="3GPP2 Ty" code="16777237"/>
1601                         <enum name="3GPP Gx" code="16777238"/>
1602                         <enum name="Juniper Cluster" code="16777239"/>
1603                         <enum name="Juniper Policy-Control-AAA" code="16777240"/>
1604                         <enum name="iptego USPI" code="16777241"/>
1605                         <enum name="Covergence-specific SIP routing" code="16777242"/>
1606                         <enum name="Policy Processing" code="16777243"/>
1607                         <enum name="Juniper Policy-Control-JSRC" code="16777244"/>
1608                         <enum name="ITU-T S-TC1" code="16777245"/>                                              <!-- ITU-T Rec. Q.3221 -->
1609                         <enum name="NSN Unified Charging Trigger Function (UCTF)" code="16777246"/>
1610                         <enum name="3GPP2 CAN Access Authentication and Authorization" code="16777247"/>
1611                         <enum name="3GPP2 WLAN Interworking Access Authentication and Authorization" code="16777248"/>
1612                         <enum name="3GPP2 WLAN Interworking Accounting" code="16777249"/>
1613                         <enum name="3GPP STaMIP" code="16777250"/>
1614                         <enum name="3GPP S6a" code="16777251"/>
1615                         <enum name="3GPP S13" code="16777252"/>
1616                         <enum name="ETSI Re" code="16777253"/>
1617                         <enum name="ETSI GOCAP" code="16777254"/>
1618                         <enum name="SLg" code="16777255"/>
1619                         <enum name="ITU-T Rw" code="16777256"/>
1620                         <enum name="ETSI a4" code="16777257"/>
1621                         <enum name="ITU-T Rt" code="16777258"/>
1622                         <enum name="CARA" code="16777259"/>
1623                         <enum name="CAMA" code="16777260"/>
1624                         <enum name="Femtocell extension to Diameter EAP Application" code="16777261"/>
1625                         <enum name="ITU-T Ru" code="16777262"/>
1626                         <enum name="ITU-T Ng" code="16777263"/>
1627                         <enum name="3GPP SWm" code="16777264"/>
1628                         <enum name="3GPP SWx" code="16777265"/>
1629                         <enum name="3GPP Gxx" code="16777266"/>
1630                         <enum name="3GPP S9" code="16777267"/>
1631                         <enum name="3GPP Zpn" code="16777268"/>
1632                         <enum name="Ericsson HSI" code="16777269"/>
1633                         <enum name="Juniper-Example" code="16777270"/>
1634                         <enum name="ITU-T Ri" code="16777271"/>
1635                         <enum name="3GPP S6b" code="16777272"/>
1636                         <enum name="Relay" code="4294967295"/>
1637                 </avp>
1638                 <avp name="Acct-Application-Id" code="259" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1639                         <type type-name="AppId"/>
1640                         <enum name="Diameter Common Messages" code="0"/>
1641                         <enum name="Diameter NASREQ Application" code="1"/>
1642                         <enum name="Diameter Mobile IPv4 Application" code="2"/>
1643                         <enum name="Diameter Base Accounting" code="3"/>
1644                         <enum name="Diameter Credit Control" code="4"/>
1645                         <enum name="Diameter EAP" code="5"/>
1646                         <enum name="Diameter Session Initiation Protocol (SIP) Application" code="6"/>
1647                         <enum name="Diameter Mobile IPv6 IKE   (MIP6I)" code="7"/>
1648                         <enum name="Diameter Mobile IPv6 Auth  (MIP6A)" code="8"/>
1649                         <enum name="3GPP CX/DX" code="16777216"/>
1650                         <enum name="3GPP Sh" code="16777217"/>
1651                         <enum name="3GPP Re/Rf" code="16777218"/>
1652                         <enum name="3GPP Wx" code="16777219"/>
1653                         <enum name="GPP Zn" code="16777220"/>
1654                         <enum name="3GPP Zh" code="16777221"/>
1655                         <enum name="3GPP Gq" code="16777222"/>
1656                         <enum name="3GPP Gmb" code="16777223"/>
1657                         <enum name="3GPP Gx" code="16777224"/>
1658                         <enum name="3GPP Gx over Gy" code="16777225"/>
1659                         <enum name="3GPP MM10" code="16777226"/>
1660                         <enum name="Ericsson MSI" code="16777227"/>
1661                         <enum name="Ericsson Zx" code="16777228"/>
1662                         <enum name="3GPP Rx" code="16777229"/>
1663                         <enum name="3GPP Pr" code="16777230"/>
1664                         <enum name="ETSI e4" code="16777231"/>
1665                         <enum name="Ericsson Charging-CIP" code="16777232"/>
1666                         <enum name="Ericsson Mm" code="16777233"/>
1667                         <enum name="Vodafone Gx+" code="16777234"/>
1668                         <enum name="ITU-T Rs" code="16777235"/>
1669                         <enum name="3GPP Rx" code="16777236"/>
1670                         <enum name="3GPP2 Ty" code="16777237"/>
1671                         <enum name="3GPP Gx" code="16777238"/>
1672                         <enum name="Juniper Cluster" code="16777239"/>
1673                         <enum name="Juniper Policy-Control-AAA" code="16777240"/>
1674                         <enum name="iptego USPI" code="16777241"/>
1675                         <enum name="Covergence-specific SIP routing" code="16777242"/>
1676                         <enum name="Policy Processing" code="16777243"/>
1677                         <enum name="Juniper Policy-Control-JSRC" code="16777244"/>
1678                         <enum name="ITU-T S-TC1" code="16777245"/>              <!-- ITU-T Rec. Q.3221 -->
1679                         <enum name="NSN Unified Charging Trigger Function (UCTF)" code="16777246"/>
1680                         <enum name="3GPP2 CAN Access Authentication and Authorization" code="16777247"/>
1681                         <enum name="3GPP2 WLAN Interworking Access Authentication and Authorization" code="16777248"/>
1682                         <enum name="3GPP2 WLAN Interworking Accounting" code="16777249"/>
1683                         <enum name="3GPP STaMIP" code="16777250"/>
1684                         <enum name="3GPP S6a" code="16777251"/>
1685                         <enum name="3GPP S13" code="16777252"/>
1686                         <enum name="ETSI Re" code="16777253"/>
1687                         <enum name="ETSI GOCAP" code="16777254"/>
1688                         <enum name="SLg" code="16777255"/>
1689                         <enum name="ITU-T Rw" code="16777256"/>
1690                         <enum name="ETSI a4" code="16777257"/>
1691                         <enum name="ITU-T Rt" code="16777258"/>
1692                         <enum name="CARA" code="16777259"/>
1693                         <enum name="CAMA" code="16777260"/>
1694                         <enum name="Femtocell extension to Diameter EAP Application" code="16777261"/>
1695                         <enum name="ITU-T Ru" code="16777262"/>
1696                         <enum name="ITU-T Ng" code="16777263"/>
1697                         <enum name="3GPP SWm" code="16777264"/>
1698                         <enum name="3GPP SWx" code="16777265"/>
1699                         <enum name="3GPP Gxx" code="16777266"/>
1700                         <enum name="3GPP S9" code="16777267"/>
1701                         <enum name="3GPP Zpn" code="16777268"/>
1702                         <enum name="Ericsson HSI" code="16777269"/>
1703                         <enum name="Juniper-Example" code="16777270"/>
1704                         <enum name="ITU-T Ri" code="16777271"/>
1705                         <enum name="3GPP S6b" code="16777272"/>
1706                         <enum name="Relay" code="4294967295"/>
1707                         </avp>
1708                 <avp name="Vendor-Specific-Application-Id" code="260" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1709                         <grouped>
1710                                 <gavp name="Vendor-Id"/>
1711                                 <gavp name="Auth-Application-Id"/>
1712                                 <gavp name="Acct-Application-Id"/>
1713                         </grouped>
1714                 </avp>
1715                 <avp name="Redirect-Host-Usage" code="261" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1716                         <type type-name="Enumerated"/>
1717                         <enum name="Don't Care" code="0"/>
1718                         <enum name="All Session" code="1"/>
1719                         <enum name="All Realm" code="2"/>
1720                         <enum name="Realm and Application" code="3"/>
1721                         <enum name="All Application" code="4"/>
1722                         <enum name="All Host" code="5"/>
1723                         <enum name="ALL_USER" code="6"/>
1724                 </avp>
1725                 <avp name="Redirect-Max-Cache-Time" code="262" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1726                         <type type-name="Unsigned32"/>
1727                 </avp>
1728                 <avp name="Session-Id" code="263" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1729                         <type type-name="UTF8String"/>
1730                 </avp>
1731                 <avp name="Origin-Host" code="264" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1732                         <type type-name="DiameterIdentity"/>
1733                 </avp>
1734                 <avp name="Supported-Vendor-Id" code="265" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1735                         <type type-name="VendorId"/>
1736                 </avp>
1737                 <avp name="Vendor-Id" code="266" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1738                         <type type-name="VendorId"/>
1739                 </avp>
1740                 <avp name="Firmware-Revision" code="267" mandatory="mustnot" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1741                         <type type-name="Unsigned32"/>
1742                 </avp>
1743                 <avp name="Result-Code" code="268" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1744                         <type type-name="Unsigned32"/>
1745                         <enum name="DIAMETER_MULTI_ROUND_AUTH" code="1001"/>
1746                         <enum name="DIAMETER_SUCCESS" code="2001"/>
1747                         <enum name="DIAMETER_LIMITED_SUCCESS" code="2002"/>
1748                         <enum name="DIAMETER_FIRST_REGISTRATION" code="2003"/>
1749                         <enum name="DIAMETER_SUBSEQUENT_REGISTRATION" code="2004"/>
1750                         <enum name="DIAMETER_UNREGISTERED_SERVICE" code="2005"/>
1751                         <enum name="DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED" code="2006"/>
1752                         <enum name="DIAMETER_SERVER_SELECTION" code="2007"/>
1753                         <enum name="DIAMETER_SUCCESS_AUTH_SENT_SERVER_NOT_STORED" code="2008"/>
1754                         <enum name="DIAMETER_SUCCESS_RELOCATE_HA" code="2009"/>
1755                         <!-- 2010-2999 Unassigned -->
1756                         <enum name="DIAMETER_COMMAND_UNSUPPORTED" code="3001"/>
1757                         <enum name="DIAMETER_UNABLE_TO_DELIVER" code="3002"/>
1758                         <enum name="DIAMETER_REALM_NOT_SERVED" code="3003"/>
1759                         <enum name="DIAMETER_TOO_BUSY" code="3004"/>
1760                         <enum name="DIAMETER_LOOP_DETECTED" code="3005"/>
1761                         <enum name="DIAMETER_REDIRECT_INDICATION" code="3006"/>
1762                         <enum name="DIAMETER_APPLICATION_UNSUPPORTED" code="3007"/>
1763                         <enum name="DIAMETER_INVALID_HDR_BITS" code="3008"/>
1764                         <enum name="DIAMETER_INVALID_AVP_BITS" code="3009"/>
1765                         <enum name="DIAMETER_UNKNOWN_PEER" code="3010"/>
1766                         <!-- 3011-3999 Unassigned -->
1767                         <enum name="DIAMETER_AUTHENTICATION_REJECTED" code="4001"/>
1768                         <enum name="DIAMETER_OUT_OF_SPACE" code="4002"/>
1769                         <enum name="DIAMETER_ELECTION_LOST" code="4003"/>
1770                         <enum name="DIAMETER_ERROR_MIP_REPLY_FAILURE" code="4005"/>
1771                         <enum name="DIAMETER_ERROR_HA_NOT_AVAILABLE" code="4006"/>
1772                         <enum name="DIAMETER_ERROR_BAD_KEY" code="4007"/>
1773                         <enum name="DIAMETER_ERROR_MIP_FILTER_NOT_SUPPORTED" code="4008"/>
1774                         <enum name="DIAMETER_END_USER_SERVICE_DENIED" code="4010"/>
1775                         <enum name="DIAMETER_CREDIT_CONTROL_NOT_APPLICABLE" code="4011"/>
1776                         <enum name="DIAMETER_CREDIT_LIMIT_REACHED" code="4012"/>
1777                         <enum name="DIAMETER_USER_NAME_REQUIRED" code="4013"/>
1778                         <!-- 4014-4999 Unassigned -->
1779                         <enum name="DIAMETER_AVP_UNSUPPORTED" code="5001"/>
1780                         <enum name="DIAMETER_UNKNOWN_SESSION_ID" code="5002"/>
1781                         <enum name="DIAMETER_AUTHORIZATION_REJECTED" code="5003"/>
1782                         <enum name="DIAMETER_INVALID_AVP_VALUE" code="5004"/>
1783                         <enum name="DIAMETER_MISSING_AVP" code="5005"/>
1784                         <enum name="DIAMETER_RESOURCES_EXCEEDED" code="5006"/>
1785                         <enum name="DIAMETER_CONTRADICTING_AVPS" code="5007"/>
1786                         <enum name="DIAMETER_AVP_NOT_ALLOWED" code="5008"/>
1787                         <enum name="DIAMETER_AVP_OCCURS_TOO_MANY_TIMES" code="5009"/>
1788                         <enum name="DIAMETER_NO_COMMON_APPLICATION" code="5010"/>
1789                         <enum name="DIAMETER_UNSUPPORTED_VERSION" code="5011"/>
1790                         <enum name="DIAMETER_UNABLE_TO_COMPLY" code="5012"/>
1791                         <enum name="DIAMETER_INVALID_BIT_IN_HEADER" code="5013"/>
1792                         <enum name="DIAMETER_INVALID_AVP_LENGTH" code="5014"/>
1793                         <enum name="DIAMETER_INVALID_MESSAGE_LENGTH" code="5015"/>
1794                         <enum name="DIAMETER_INVALID_AVP_BIT_COMBO" code="5016"/>
1795                         <enum name="DIAMETER_NO_COMMON_SECURITY" code="5017"/>
1796                         <enum name="DIAMETER_RADIUS_AVP_UNTRANSLATABLE" code="5018"/>
1797                         <!-- 5019-5023 Unassigned -->
1798                         <enum name="DIAMETER_ERROR_NO_FOREIGN_HA_SERVICE" code="5024"/>
1799                         <enum name="DIAMETER_ERROR_END_TO_END_MIP_KEY_ENCRYPTION" code="5025"/>
1800                         <!-- 5026-5029 Unassigned -->
1801                         <enum name="DIAMETER_USER_UNKNOWN" code="5030"/>
1802                         <enum name="DIAMETER_RATING_FAILED" code="5031"/>
1803                         <enum name="DIAMETER_ERROR_USER_UNKNOWN" code="5032"/>
1804                         <enum name="DIAMETER_ERROR_IDENTITIES_DONT_MATCH" code="5033"/>
1805                         <enum name="DIAMETER_ERROR_IDENTITY_NOT_REGISTERED" code="5034"/>
1806                         <enum name="DIAMETER_ERROR_ROAMING_NOT_ALLOWED" code="5035"/>
1807                         <enum name="DIAMETER_ERROR_IDENTITY_ALREADY_REGISTERED" code="5036"/>
1808                         <enum name="DIAMETER_ERROR_AUTH_SCHEME_NOT_SUPPORTED" code="5037"/>
1809                         <enum name="DIAMETER_ERROR_IN_ASSIGNMENT_TYPE" code="5038"/>
1810                         <enum name="DIAMETER_ERROR_TOO_MUCH_DATA" code="5039"/>
1811                         <enum name="DIAMETER_ERROR_NOT SUPPORTED_USER_DATA" code="5040"/>
1812                         <enum name="DIAMETER_ERROR_MIP6_AUTH_MODE" code="5041"/>
1813                         <!-- 5042-4294967295 Unassigned -->
1814                 </avp>
1815                 <avp name="Product-Name" code="269" mandatory="mustnot" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1816                         <type type-name="UTF8String"/>
1817                 </avp>
1818                 <avp name="Session-Binding" code="270" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1819                         <type type-name="Unsigned32"/>
1820                         <enum name="RE_AUTH" code="1"/>
1821                         <enum name="STR" code="2"/>
1822                         <enum name="Unassigned" code="3"/>
1823                         <enum name="ACCOUNTING" code="4"/>
1824                 </avp>
1825                 <avp name="Session-Server-Failover" code="271" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1826                         <type type-name="Unsigned32"/>
1827                         <enum name="REFUSE_SERVICE" code="0"/>
1828                         <enum name="TRY_AGAIN" code="1"/>
1829                         <enum name="ALLOW_SERVICE" code="2"/>
1830                         <enum name="TRY_AGAIN_ALLOW_SERVICE" code="3"/>
1831                 </avp>
1832                 <avp name="Multi-Round-Time-Out" code="272" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
1833                         <type type-name="Unsigned32"/>
1834                 </avp>
1835                 <avp name="Disconnect-Cause" code="273" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1836                         <type type-name="Enumerated"/>
1837                         <enum name="REBOOTING" code="0"/>
1838                         <enum name="BUSY" code="1"/>
1839                         <enum name="DO_NOT_WANT_TO_TALK_TO_YOU" code="2"/>
1840                 </avp>
1841                 <avp name="Auth-Request-Type" code="274" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1842                         <type type-name="Unsigned32"/>
1843                         <enum name="Authenticate Only" code="1"/>
1844                         <enum name="Authorize Only" code="2"/>
1845                         <enum name="Authorize Authenticate" code="3"/>
1846                 </avp>
1847                 <avp name="Alternate-Peer" code="275" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1848                         <type type-name="DiameterIdentity"/>
1849                 </avp>
1850                 <avp name="Auth-Grace-Period" code="276" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1851                         <type type-name="Unsigned32"/>
1852                 </avp>
1853                 <avp name="Auth-Session-State" code="277" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1854                         <type type-name="Unsigned32"/>
1855                         <enum name="STATE_MAINTAINED" code="0"/>
1856                         <enum name="NO_STATE_MAINTAINED" code="1"/>
1857                 </avp>
1858                 <avp name="Origin-State-Id" code="278" mandatory="must" protected="mustnot" vendor-bit="mustnot">
1859                         <type type-name="Unsigned32"/>
1860                 </avp>
1861                 <avp name="Failed-AVP" code="279" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1862                         <grouped>
1863
1864                         </grouped>
1865                 </avp>
1866                 <avp name="Proxy-Host" code="280" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1867                         <type type-name="DiameterIdentity"/>
1868                 </avp>
1869                 <avp name="Error-Message" code="281" mandatory="mustnot" protected="may" may-encrypt="no" vendor-bit="mustnot">
1870                         <type type-name="UTF8String"/>
1871                 </avp>
1872                 <avp name="Route-Record" code="282" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1873                         <type type-name="DiameterIdentity"/>
1874                 </avp>
1875                 <avp name="Destination-Realm" code="283" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1876                         <type type-name="DiameterIdentity"/>
1877                 </avp>
1878                 <avp name="Proxy-Info" code="284" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1879                         <grouped>
1880                                 <gavp name="Proxy-Host"/>
1881                                 <gavp name="Proxy-State"/>
1882                         </grouped>
1883                 </avp>
1884                 <avp name="Re-Auth-Request-Type" code="285" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1885                         <type type-name="Unsigned32"/>
1886                         <enum name="AUTHORIZE_ONLY" code="0"/>
1887                         <enum name="AUTHORIZE_AUTHENTICATE" code="1"/>
1888                 </avp>
1889 <!-- 286 Unassigned -->
1890                 <avp name="Unassigned" code="286" mandatory="may">
1891                         <type type-name="OctetString"/>
1892                 </avp>
1893                 <avp name="Accounting-Sub-Session-Id" code="287" mandatory="must" protected="may" may-encrypt="yes" vendor-bit="mustnot">
1894                         <type type-name="Unsigned64"/>
1895                 </avp>
1896 <!-- 288-290    Unallocated http://www.iana.org/assignments/aaa-parameters  -->
1897                 <avp name="Unallocated" code="288" mandatory="may">
1898                         <type type-name="OctetString"/>
1899                 </avp>
1900                 <avp name="Unallocated" code="289" mandatory="may">
1901                         <type type-name="OctetString"/>
1902                 </avp>
1903                 <avp name="Unallocated" code="290" mandatory="may">
1904                         <type type-name="OctetString"/>
1905                 </avp>
1906                 <avp name="Authorization-Lifetime" code="291" mandatory="must" may-encrypt="no" vendor-bit="mustnot">
1907                         <type type-name="Integer32"/>
1908                 </avp>
1909                 <avp name="Redirect-Host" code="292" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1910                         <type type-name="DiameterURI"/>
1911                 </avp>
1912                 <avp name="Destination-Host" code="293" mandatory="must" protected="mustnot" may-encrypt="no" vendor-bit="mustnot">
1913                         <type type-name="DiameterIdentity"/>
1914                 </avp>
1915                 <avp name="Error-Reporting-Host" code="294" mandatory="mustnot" protected="may" may-encrypt="no" vendor-bit="mustnot">
1916                         <type type-name="DiameterIdentity"/>
1917                 </avp>
1918                 <avp name="Termination-Cause" code="295" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
1919                         <type type-name="Enumerated"/>
1920                         <enum name="DIAMETER_LOGOUT" code="1"/>
1921                         <enum name="DIAMETER_SERVICE_NOT_PROVIDED" code="2"/>
1922                         <enum name="DIAMETER_BAD_ANSWER" code="3"/>
1923                         <enum name="DIAMETER_ADMINISTRATIVE" code="4"/>
1924                         <enum name="DIAMETER_LINK_BROKEN" code="5"/>
1925                         <enum name="DIAMETER_AUTH_EXPIRED" code="6"/>
1926                         <enum name="DIAMETER_USER_MOVED" code="7"/>
1927                         <enum name="DIAMETER_SESSION_TIMEOUT" code="8"/>
1928                 </avp>
1929                 <avp name="Origin-Realm" code="296" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1930                         <type type-name="DiameterIdentity"/>
1931                 </avp>
1932                 <avp name="Experimental-Result" code="297" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1933                         <grouped>
1934                                 <gavp name="Vendor-Id"/>
1935                                 <gavp name="Experimental-Result-Code"/>
1936                         </grouped>
1937                 </avp>
1938                 <!-- 3GPP TS 29.230 version 9.2.0 Release 9, ETSI TS 129 230 V9.2.0 (2010-04) -->
1939                 <avp name="Experimental-Result-Code" code="298" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
1940                         <type type-name="Unsigned32"/>
1941                         <enum name="DIAMETER_FIRST_REGISTRATION" code="2001"/>
1942                         <enum name="DIAMETER_SUBSEQUENT_REGISTRATION" code="2002"/>
1943                         <enum name="DIAMETER_UNREGISTERED_SERVICE" code="2003"/>
1944                         <enum name="DIAMETER_SUCCESS_SERVER_NAME_NOT_STORED" code="2004"/>
1945                         <enum name="DIAMETER_SERVER_SELECTION(Deprecated value)" code="2005"/>
1946                         <enum name="DIAMETER_PDP_CONTEXT_DELETION_INDICATION" code="2021"/>
1947                         <enum name="DIAMETER_USER_DATA_NOT_AVAILABLE" code="4100"/>
1948                         <enum name="DIAMETER_PRIOR_UPDATE_IN_PROGRESS" code="4101"/>
1949                         <enum name="DIAMETER_ERROR_OUT_OF_RESOURCES" code="4121"/>
1950                         <enum name="DIAMETER_PCC_BEARER_EVENT" code="4141"/>
1951                         <enum name="DIAMETER_AUTHENTICATION_DATA_UNAVAILABLE" code="4181"/>
1952                         <enum name="DIAMETER_ERROR_ABSENT_USER" code="4201"/>
1953                         <enum name="DIAMETER_ERROR_UNREACHABLE_USER" code="4221"/>
1954                         <enum name="DIAMETER_ERROR_SUSPENDED_USER" code="4222"/>
1955                         <enum name="DIAMETER_ERROR_DETACHED_USER" code="4223"/>
1956                         <enum name="DIAMETER_ERROR_POSITIONING_DENIED" code="4224"/>
1957                         <enum name="DIAMETER_ERROR_POSITIONING_FAILED" code="4225"/>
1958                         <enum name="DIAMETER_ERROR_UNKNOWN_UNREACHABLE LCS_CLIENT" code="4226"/>
1959                         <!-- 4227-5000 Unassigned -->
1960                         <enum name="DIAMETER_ERROR_USER_UNKNOWN" code="5001"/>
1961                         <enum name="DIAMETER_ERROR_IDENTITIES_DONT_MATCH" code="5002"/>
1962                         <enum name="DIAMETER_ERROR_IDENTITY_NOT_REGISTERED" code="5003"/>
1963                         <enum name="DIAMETER_ERROR_ROAMING_NOT_ALLOWED" code="5004"/>
1964                         <enum name="DIAMETER_ERROR_IDENTITY_ALREADY_REGISTERED" code="5005"/>
1965                         <enum name="DIAMETER_ERROR_AUTH_SCHEME_NOT_SUPPORTED" code="5006"/>
1966                         <enum name="DIAMETER_ERROR_IN_ASSIGNMENT_TYPE" code="5007"/>
1967                         <enum name="DIAMETER_ERROR_TOO_MUCH_DATA" code="5008"/>
1968                         <enum name="DIAMETER_ERROR_NOT_SUPPORTED_USER_DATA" code="5009"/>
1969                         <enum name="DIAMETER_MISSING_USER_ID" code="5010"/>
1970                         <enum name="DIAMETER_ERROR_FEATURE_UNSUPPORTED" code="5011"/>
1971                         <!-- 5012 - 5040 -->
1972                         <enum name="DIAMETER_ERROR_USER_NO_WLAN_SUBSCRIPTION" code="5041"/>
1973                         <enum name="DIAMETER_ERROR_W-APN_UNUSED_BY_USER" code="5042"/>
1974                         <enum name="DIAMETER_ERROR_W-DIAMETER_ERROR_NO_ACCESS_INDEPENDENT_SUBSCRIPTION" code="5043"/>
1975                         <enum name="DIAMETER_ERROR_USER_NO_W-APN_SUBSCRIPTION" code="5044"/>
1976                         <enum name="DIAMETER_ERROR_UNSUITABLE_NETWORK" code="5045"/>
1977                         <!-- 5046-5060 Unassigned -->
1978                         <enum name="INVALID_SERVICE_INFORMATION" code="5061"/>
1979                         <enum name="FILTER_RESTRICTIONS" code="5062"/>
1980                         <enum name="REQUESTED_SERVICE_NOT_AUTHORIZED" code="5063"/>
1981                         <enum name="DUPLICATED_AF_SESSION" code="5064"/>
1982                         <enum name="IP-CAN_SESSION_NOT_AVAILABLE" code="5065"/>
1983                         <enum name="UNAUTHORIZED_NON_EMERGENCY_SESSION" code="5066"/>
1984                         <enum name="DIAMETER_ERROR_USER_DATA_NOT_RECOGNIZED" code="5100"/>
1985                         <enum name="DIAMETER_ERROR_OPERATION_NOT_ALLOWED" code="5101"/>
1986                         <enum name="DIAMETER_ERROR_USER_DATA_CANNOT_BE_READ" code="5102"/>
1987                         <enum name="DIAMETER_ERROR_USER_DATA_CANNOT_BE_MODIFIED" code="5103"/>
1988                         <enum name="DIAMETER_ERROR_USER_DATA_CANNOT_BE_NOTIFIED" code="5104"/>
1989                         <enum name="DIAMETER_ERROR_TRANSPARENT_DATA_OUT_OF_SYNC" code="5105"/>
1990                         <enum name="DIAMETER_ERROR_SUBS_DATA_ABSENT" code="5106"/>
1991                         <enum name="DIAMETER_ERROR_NO_SUBSCRIPTION_TO_DATA" code="5107"/>
1992                         <enum name="DIAMETER_ERROR_DSAI_NOT_AVAILABLE" code="5108"/>
1993                         <!-- 5109-5119 Unassigned -->
1994                         <enum name="DIAMETER_ERROR_START_INDICATION" code="5120"/>
1995                         <enum name="DIAMETER_ERROR_STOP_INDICATION" code="5121"/>
1996                         <enum name="DIAMETER_ERROR_UNKNOWN_MBMS_BEARER_SERVICE" code="5122"/>
1997                         <enum name="DIAMETER_ERROR_SERVICE_AREA" code="5123"/>
1998                         <enum name="DIAMETER_ERROR_INITIAL_PARAMETERS" code="5140"/>
1999                         <enum name="DIAMETER_ERROR_TRIGGER_EVENT" code="5141"/>
2000                         <enum name="DIAMETER_BEARER_EVENT" code="5142"/>
2001                         <enum name="DIAMETER_ERROR_BEARER_NOT_AUTHORIZED" code="5143"/>
2002                         <enum name="DIAMETER_ERROR_TRAFFIC_MAPPING_INFO_REJECTED" code="5144"/>
2003                         <enum name="DIAMETER_QOS_RULE_EVENT" code="5145"/>
2004                         <enum name="DIAMETER_ERROR_TRAFFIC_MAPPING_INFO_REJECTED" code="5146"/>
2005                         <enum name="DIAMETER_ERROR_CONFLICTING_REQUEST" code="5147"/>
2006                         <enum name="DIAMETER_ERROR_IMPI_UNKNOWN" code="5401"/>
2007                         <enum name="DIAMETER_ERROR_NOT_AUTHORIZED" code="5402"/>
2008                         <enum name="DIAMETER_ERROR_TRANSACTION_IDENTIFIER_INVALID" code="5403"/>
2009                         <enum name="DIAMETER_ERROR_UNKNOWN_EPS_SUBSCRIPTION" code="5420"/>
2010                         <enum name="DIAMETER_ERROR_RAT_NOT_ALLOWED" code="5421"/>
2011                         <enum name="DIAMETER_ERROR_EQUIPMENT_UNKNOWN" code="5422"/>
2012                         <enum name="DIAMETER_ERROR_UNKNOWN_SERVING_NODE" code="5423"/>
2013                         <!-- 5424-5449 Unassigned -->
2014                         <enum name="DIAMETER_ERROR_USER_NO_NON_3GPP_SUBSCRIPTION" code="5450"/>
2015                         <enum name="DIAMETER_ERROR_USER_NO_APN_SUBSCRIPTION" code="5451"/>
2016                         <enum name="DIAMETER_ERROR_RAT_TYPE_NOT_ALLOWED" code="5452"/>
2017                         <enum name="DIAMETER_ERROR_SUBSESSION" code="5470"/>
2018                         <enum name="DIAMETER_ERROR_UNAUTHORIZED_REQUESTING_NETWORK" code="5490"/>
2019                 </avp>
2020                 <!-- RFC3588 AVP -->
2021                 <avp name="Inband-Security-Id" code="299" mandatory="must" may-encrypt="no" protected="may" vendor-bit="mustnot">
2022                         <type type-name="Unsigned32"/>
2023                                 <enum name="NO_INBAND_SECURITY" code="0"/>
2024                                 <enum name="TLS" code="1"/>
2025                 </avp>
2026                 <avp name="E2E-Sequence" code="300" mandatory="must">
2027                         <grouped>
2028                                 <gavp name="foo"/>
2029                         </grouped>
2030                 </avp>
2031                 <!-- 301-317    Unallocated -->
2032                 <avp name="Unallocated" code="301" mandatory="may">
2033                         <type type-name="OctetString"/>
2034                 </avp>
2035                 <avp name="Unallocated" code="302" mandatory="may">
2036                         <type type-name="OctetString"/>
2037                 </avp>
2038                 <avp name="Unallocated" code="303" mandatory="may">
2039                         <type type-name="OctetString"/>
2040                 </avp>
2041                 <avp name="Unallocated" code="304" mandatory="may">
2042                         <type type-name="OctetString"/>
2043                 </avp>
2044                 <avp name="Unallocated" code="305" mandatory="may">
2045                         <type type-name="OctetString"/>
2046                 </avp>
2047                 <avp name="Unallocated" code="306" mandatory="may">
2048                         <type type-name="OctetString"/>
2049                 </avp>
2050                 <avp name="Unallocated" code="307" mandatory="may">
2051                         <type type-name="OctetString"/>
2052                 </avp>
2053                 <avp name="Unallocated" code="308" mandatory="may">
2054                         <type type-name="OctetString"/>
2055                 </avp>
2056                 <avp name="Unallocated" code="309" mandatory="may">
2057                         <type type-name="OctetString"/>
2058                 </avp>
2059                 <avp name="Unallocated" code="310" mandatory="may">
2060                         <type type-name="OctetString"/>
2061                 </avp>
2062                 <avp name="Unallocated" code="311" mandatory="may">
2063                         <type type-name="OctetString"/>
2064                 </avp>
2065                 <avp name="Unallocated" code="312" mandatory="may">
2066                         <type type-name="OctetString"/>
2067                 </avp>
2068                 <avp name="Unallocated" code="313" mandatory="may">
2069                         <type type-name="OctetString"/>
2070                 </avp>
2071                 <avp name="Unallocated" code="314" mandatory="may">
2072                         <type type-name="OctetString"/>
2073                 </avp>
2074                 <avp name="Unallocated" code="315" mandatory="may">
2075                         <type type-name="OctetString"/>
2076                 </avp>
2077                 <avp name="Unallocated" code="316" mandatory="may">
2078                         <type type-name="OctetString"/>
2079                 </avp>
2080                 <avp name="Unallocated" code="317" mandatory="may">
2081                         <type type-name="OctetString"/>
2082                 </avp>
2083
2084 <!-- AVP:s 318 - 348 Belongs to Diameter Mobile IPv4 Application and is defined in mobileipv4.xml
2085 318 MIP-FA-to-HA-SPI [RFC4004]
2086 319 MIP-FA-to-MN-SPI [RFC4004]
2087 320 MIP-Reg-Request [RFC4004]
2088 321 MIP-Reg-Reply [RFC4004]
2089 322 MIP-MN-AAA-Auth [RFC4004]
2090 323 MIP-HA-to-FA-SPI [RFC4004]
2091 324 Unassigned
2092 325 MIP-MN-to-FA-MSA [RFC4004]
2093 326 MIP-FA-to-MN-MSA [RFC4004]
2094 327 Unassigned
2095 328 MIP-FA-to-HA-MSA [RFC4004]
2096 329 MIP-HA-to-FA-MSA [RFC4004]
2097 331 MIP-MN-to-HA-MSA [RFC4004]
2098 332 MIP-HA-to-MN-MSA [RFC4004]
2099 333 MIP-Mobile-Node-Address [RFC4004]
2100 334 MIP-Home-Agent-Address [RFC4004]
2101 335 MIP-Nonce [RFC4004]
2102 336 MIP-Candidate-Home-Agent-Host [RFC4004]
2103 337 MIP-Feature-Vector [RFC4004]
2104 338 MIP-Auth-Input-Data-Length [RFC4004]
2105 339 MIP-Authenticator-Length [RFC4004]
2106 340 MIP-Authenticator-Offset [RFC4004]
2107 341 MIP-MN-AAA-SPI [RFC4004]
2108 342 MIP-Filter-Rule [RFC4004]
2109 343 MIP-Session-Key [RFC4004]
2110 344 MIP-FA-Challenge [RFC4004]
2111 345 MIP-Algorithm-Type [RFC4004]
2112 346 MIP-Replay-Mode [RFC4004]
2113 347 MIP-Originating-Foreign-AAA [RFC4004]
2114 348 MIP-Home-Agent-Host [RFC4004]
2115 -->
2116 <!-- AVP:s 349-362        Unassigned -->
2117                 <avp name="Unassigned" code="349" mandatory="may">
2118                         <type type-name="OctetString"/>
2119                 </avp>
2120                 <avp name="Unassigned" code="350" mandatory="may">
2121                         <type type-name="OctetString"/>
2122                 </avp>
2123                 <avp name="Unassigned" code="351" mandatory="may">
2124                         <type type-name="OctetString"/>
2125                 </avp>
2126                 <avp name="Unassigned" code="352" mandatory="may">
2127                         <type type-name="OctetString"/>
2128                 </avp>
2129                 <avp name="Unassigned" code="353" mandatory="may">
2130                         <type type-name="OctetString"/>
2131                 </avp>
2132                 <avp name="Unassigned" code="354" mandatory="may">
2133                         <type type-name="OctetString"/>
2134                 </avp>
2135                 <avp name="Unassigned" code="355" mandatory="may">
2136                         <type type-name="OctetString"/>
2137                 </avp>
2138                 <avp name="Unassigned" code="356" mandatory="may">
2139                         <type type-name="OctetString"/>
2140                 </avp>
2141                 <avp name="Unassigned" code="357" mandatory="may">
2142                         <type type-name="OctetString"/>
2143                 </avp>
2144                 <avp name="Unassigned" code="358" mandatory="may">
2145                         <type type-name="OctetString"/>
2146                 </avp>
2147                 <avp name="Unassigned" code="359" mandatory="may">
2148                         <type type-name="OctetString"/>
2149                 </avp>
2150                 <avp name="Unassigned" code="360" mandatory="may">
2151                         <type type-name="OctetString"/>
2152                 </avp>
2153                 <avp name="Unassigned" code="361" mandatory="may">
2154                         <type type-name="OctetString"/>
2155                 </avp>
2156                 <avp name="Unassigned" code="362" mandatory="may">
2157                         <type type-name="OctetString"/>
2158                 </avp>
2159
2160 <!-- AVP:s 368 - 393 is in sip.xml
2161 363 Accounting-Input-Octets [RFC4005][RFC4004]
2162 364 Accounting-Output-Octets [RFC4005][RFC4004]
2163 365 Accounting-Input-Packets [RFC4005][RFC4004]
2164 366 Accounting-Output-Packets [RFC4005][RFC4004]
2165 367 MIP-MSA-Lifetime [RFC4004]
2166 368 SIP-Accounting-Information [RFC4740]
2167 369 SIP-Accounting-Server-URI [RFC4740]
2168 370 SIP-Credit-Control-Server-URI [RFC4740]
2169 371 SIP-Server-URI [RFC4740]
2170 372 SIP-Server-Capabilities [RFC4740]
2171 373 SIP-Mandatory-Capability [RFC4740]
2172 374 SIP-Optional-Capability [RFC4740]
2173 375 SIP-Server-Assignment-Type [RFC4740]
2174 376 SIP-Auth-Data-Item [RFC4740]
2175 377 SIP-Authentication-Scheme [RFC4740]
2176 378 SIP-Item-Number [RFC4740]
2177 379 SIP-Authenticate [RFC4740]
2178 380 SIP-Authorization [RFC4740]
2179 381 SIP-Authentication-Info [RFC4740]
2180 382 SIP-Number-Auth-Items [RFC4740]
2181 383 SIP-Deregistration-Reason [RFC4740]
2182 384 SIP-Reason-Code [RFC4740]
2183 385 SIP-Reason-Info [RFC4740]
2184 386 SIP-Visited-Network-Id [RFC4740]
2185 387 SIP-User-Authorization-Type [RFC4740]
2186 388 SIP-Supported-User-Data-Type [RFC4740]
2187 389 SIP-User-Data [RFC4740]
2188 390 SIP-User-Data-Type [RFC4740]
2189 391 SIP-User-Data-Contents [RFC4740]
2190 392 SIP-User-Data-Already-Available [RFC4740]
2191 393 SIP-Method [RFC4740]
2192 -->
2193 <!-- 394-399 Unassigned  -->
2194                 <avp name="Unassigned" code="394" mandatory="may">
2195                         <type type-name="OctetString"/>
2196                 </avp>
2197                 <avp name="Unassigned" code="395" mandatory="may">
2198                         <type type-name="OctetString"/>
2199                 </avp>
2200                 <avp name="Unassigned" code="396" mandatory="may">
2201                         <type type-name="OctetString"/>
2202                 </avp>
2203                 <avp name="Unassigned" code="397" mandatory="may">
2204                         <type type-name="OctetString"/>
2205                 </avp>
2206                 <avp name="Unassigned" code="398" mandatory="may">
2207                         <type type-name="OctetString"/>
2208                 </avp>
2209                 <avp name="Unassigned" code="399" mandatory="may">
2210                         <type type-name="OctetString"/>
2211                 </avp>
2212
2213 <!-- 400 408 is defined in nasreq.xml
2214 400 NAS-Filter-Rule [RFC4005]
2215 401 Tunneling [RFC4005]
2216 402 CHAP-Auth [RFC4005]
2217 403 CHAP-Algorithm [RFC4005]
2218 404 CHAP-Ident [RFC4005]
2219 405 CHAP-Response [RFC4005]
2220 406 Acounting-Auth-Method [RFC4005]
2221 407 QoS-Filter-Rule [RFC4005]
2222 408 Origin-AAA-Protocol [RFC4005]
2223 -->
2224 <!-- 409-410 Unassigned -->
2225                 <avp name="Unassigned" code="409" mandatory="may">
2226                         <type type-name="OctetString"/>
2227                 </avp>
2228                 <avp name="Unassigned" code="410" mandatory="may">
2229                         <type type-name="OctetString"/>
2230                 </avp>
2231
2232 <!-- AVP:s 411 - 461 Belongs to Carge Control and is defined in chargecontrol.xml
2233 411 CC-Correlation-Id [RFC4006]
2234 412 CC-Input-Octets [RFC4006]
2235 413 CC-Money [RFC4006]
2236 414 CC-Output-Octets [RFC4006]
2237 415 CC-Request-Number [RFC4006]
2238 416 CC-Request-Type [RFC4006]
2239 417 CC-Service-Specific-Units [RFC4006]
2240 418 CC-Session-Failover [RFC4006]
2241 419 CC-Sub-Session-Id [RFC4006]
2242 420 CC-Time [RFC4006]
2243 421 CC-Total-Octets [RFC4006]
2244 422 Check-Balance-Result [RFC4006]
2245 423 Cost-Information [RFC4006]
2246 424 Cost-Unit [RFC4006]
2247 425 Currency-Code [RFC4006]
2248 426 Credit-Control [RFC4006]
2249 427 Credit-Control-Failure-Handling [RFC4006]
2250 428 Direct-Debiting-Failure-Handling [RFC4006]
2251 429 Exponent [RFC4006]
2252 430 Final-Unit-Indication [RFC4006]
2253 431 Granted-Service-Unit [RFC4006]
2254 432 Rating-Group [RFC4006]
2255 433 Redirect-Address-Type [RFC4006]
2256 434 Redirect-Server [RFC4006]
2257 435 Redirect-Server-Address [RFC4006]
2258 436 Requested-Action [RFC4006]
2259 437 Requested-Service-Unit [RFC4006]
2260 438 Restriction-Filter-Rule [RFC4006]
2261 439 Service-Identifier [RFC4006]
2262 440 Service-Parameter-Info [RFC4006]
2263 441 Service-Parameter-Type [RFC4006]
2264 442 Service-Parameter-Value [RFC4006]
2265 443 Subscription-Id [RFC4006]
2266 444 Subscription-Id-Data [RFC4006]
2267 445 Unit-Value [RFC4006]
2268 446 Used-Service-Unit [RFC4006]
2269 447 Value-Digits [RFC4006]
2270 448 Validity-Time [RFC4006]
2271 449 Final-Unit-Action [RFC4006]
2272 450 Subscription-Id-Type [RFC4006]
2273 451 Tariff-Time-Change [RFC4006]
2274 452 Tariff-Change-Usage [RFC4006]
2275 453 G-S-U-Pool-Identifier [RFC4006]
2276 454 CC-Unit-Type [RFC4006]
2277 455 Multiple-Services-Indicator [RFC4006]
2278 456 Multiple-Services-Credit-Control [RFC4006]
2279 457 G-S-U-Pool-Reference [RFC4006]
2280 458 User-Equipment-Info [RFC4006]
2281 459 User-Equipment-Info-Type [RFC4006]
2282 460 User-Equipment-Info-Value [RFC4006]
2283 461 Service-Context-Id [RFC4006]
2284 -->
2285 <!-- epa.xml
2286 462 EAP-Payload [RFC4072]
2287 463 EAP-Reissued-Payload [RFC4072]
2288 464 EAP-Master-Session-Key [RFC4072]
2289 465 Accounting-EAP-Auth-Method [RFC4072]
2290 -->
2291 <!-- 466-479    Unallocated -->
2292                 <avp name="Unassigned" code="466" mandatory="may">
2293                         <type type-name="OctetString"/>
2294                 </avp>
2295                 <avp name="Unassigned" code="467" mandatory="may">
2296                         <type type-name="OctetString"/>
2297                 </avp>
2298                 <avp name="Unassigned" code="468" mandatory="may">
2299                         <type type-name="OctetString"/>
2300                 </avp>
2301                 <avp name="Unassigned" code="469" mandatory="may">
2302                         <type type-name="OctetString"/>
2303                 </avp>
2304                 <avp name="Unassigned" code="470" mandatory="may">
2305                         <type type-name="OctetString"/>
2306                 </avp>
2307                 <avp name="Unassigned" code="471" mandatory="may">
2308                         <type type-name="OctetString"/>
2309                 </avp>
2310                 <avp name="Unassigned" code="472" mandatory="may">
2311                         <type type-name="OctetString"/>
2312                 </avp>
2313                 <avp name="Unassigned" code="473" mandatory="may">
2314                         <type type-name="OctetString"/>
2315                 </avp>
2316                 <avp name="Unassigned" code="474" mandatory="may">
2317                         <type type-name="OctetString"/>
2318                 </avp>
2319                 <avp name="Unassigned" code="475" mandatory="may">
2320                         <type type-name="OctetString"/>
2321                 </avp>
2322                 <avp name="Unassigned" code="476" mandatory="may">
2323                         <type type-name="OctetString"/>
2324                 </avp>
2325                 <avp name="Unassigned" code="477" mandatory="may">
2326                         <type type-name="OctetString"/>
2327                 </avp>
2328                 <avp name="Unassigned" code="478" mandatory="may">
2329                         <type type-name="OctetString"/>
2330                 </avp>
2331                 <avp name="Unassigned" code="479" mandatory="may">
2332                         <type type-name="OctetString"/>
2333                 </avp>
2334                 <avp name="Accounting-Record-Type" code="480" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
2335                         <type type-name="Enumerated"/>
2336                         <enum name="Event Record" code="1"/>
2337                         <enum name="Start Record" code="2"/>
2338                         <enum name="Interim Record" code="3"/>
2339                         <enum name="Stop Record" code="4"/>
2340                 </avp>
2341 <!-- 481-482    Unallocated http://www.iana.org/assignments/aaa-parameters/aaa-parameters.xhtml -->
2342                 <avp name="Unassigned" code="481" mandatory="may">
2343                         <type type-name="OctetString"/>
2344                 </avp>
2345                 <avp name="Unassigned" code="482" mandatory="may">
2346                         <type type-name="OctetString"/>
2347                 </avp>
2348                 <avp name="Accounting-Realtime-Required" code="483" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
2349                         <type type-name="Unsigned32"/>
2350                         <enum name="Reserved" code="0"/>
2351                         <enum name="DELIVER_AND_GRANT" code="1"/>
2352                         <enum name="GRANT_AND_STORE" code="2"/>
2353                         <enum name="GRANT_AND_LOSE" code="3"/>
2354                 </avp>
2355 <!-- 484    unallocated  -->
2356                 <avp name="Unassigned" code="484" mandatory="may">
2357                         <type type-name="OctetString"/>
2358                 </avp>
2359                 <avp name="Accounting-Record-Number" code="485" mandatory="must" may-encrypt="yes" vendor-bit="mustnot">
2360                         <type type-name="Unsigned32"/>
2361                 </avp>
2362 <!-- 486 - 494 in mobileipv6.xml -->
2363                 <avp name="TMOD-1" code="495" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
2364                         <grouped>
2365                                 <gavp name="Token-Rate"/>
2366                                 <gavp name="Bucket-Depth"/>
2367                                 <gavp name="Peak-Traffic-Rate"/>
2368                                 <gavp name="Minimum-Policed-Unit"/>
2369                                 <gavp name="Maximum-Packet-Size"/>
2370                         </grouped>
2371                 </avp>
2372                 <avp name="Token-Rate" code="496" mandatory="may">
2373                         <type type-name="Float32"/>
2374                 </avp>
2375                 <avp name="Bucket-Depth" code="497" mandatory="may">
2376                         <type type-name="Float32"/>
2377                 </avp>
2378                 <avp name="Peak-Traffic-Rate" code="498" mandatory="may">
2379                         <type type-name="Float32"/>
2380                 </avp>
2381                 <avp name="Minimum-Policed-Unit" code="499" mandatory="may">
2382                         <type type-name="Unsigned32"/>
2383                 </avp>
2384                 <avp name="Maximum-Packet-Size" code="500" mandatory="may">
2385                         <type type-name="Unsigned32"/>
2386                 </avp>
2387                 <avp name="TMOD-2" code="501" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot">
2388                         <grouped>
2389                                 <gavp name="Token-Rate"/>
2390                                 <gavp name="Bucket-Depth"/>
2391                                 <gavp name="Peak-Traffic-Rate"/>
2392                                 <gavp name="Minimum-Policed-Unit"/>
2393                                 <gavp name="Maximum-Packet-Size"/>
2394                         </grouped>
2395                 </avp>
2396                 <avp name="Bandwidth" code="502" mandatory="may">
2397                         <type type-name="Float32"/>
2398                 </avp>
2399                 <avp name="PHB-Class" code="503" mandatory="may">
2400                         <type type-name="Unsigned32"/>
2401                 </avp>
2402 <!-- 504 - 507 in mobileipv6.xml -->
2403 <!--
2404 508 QoS-Resources [RFC5777]
2405 509 Filter-Rule [RFC5777]
2406 510 Filter-Rule-Precedence [RFC5777]
2407 511 Classifier [RFC5777]
2408 512 Classifier-ID [RFC5777]
2409 513 Protocol [RFC5777]
2410 514 Direction [RFC5777]
2411 515 From-Spec [RFC5777]
2412 516 To-Spec [RFC5777]
2413 517 Negated [RFC5777]
2414 518 IP-Address [RFC5777]
2415 519 IP-Address-Range [RFC5777]
2416 520 IP-Address-Start [RFC5777]
2417 521 IP-Address-End [RFC5777]
2418 522 IP-Address-Mask [RFC5777]
2419 523 IP-Mask-Bit-Mask-Width [RFC5777]
2420 524 MAC-Address [RFC5777]
2421 525 MAC-Address-Mask [RFC5777]
2422 526 MAC-Address-Mask-Pattern [RFC5777]
2423 527 EUI64-Address [RFC5777]
2424 528 EUI64-Address-Mask [RFC5777]
2425 529 EUI64-Address-Mask-Pattern [RFC5777]
2426 530 Port [RFC5777]
2427 531 Port-Range [RFC5777]
2428 532 Port-Start [RFC5777]
2429 533 Port-End [RFC5777]
2430 534 Use-Assigned-Address [RFC5777]
2431 535 Diffserv-Code-Point [RFC5777]
2432 536 Fragmentation-Flag [RFC5777]
2433 537 IP-Option [RFC5777]
2434 538 IP-Option-Type [RFC5777]
2435 539 IP-Option-Value [RFC5777]
2436 540 TCP-Option [RFC5777]
2437 541 TCP-Option-Type [RFC5777]
2438 542 TCP-Option-Value [RFC5777]
2439 543 TCP-Flags [RFC5777]
2440 544 TCP-Flag-Type [RFC5777]
2441 545 ICMP-Type [RFC5777]
2442 546 ICMP-Type-Number [RFC5777]
2443 547 ICMP-Code [RFC5777]
2444 548 ETH-Option [RFC5777]
2445 549 ETH-Proto-Type [RFC5777]
2446 550 ETH-Ether-Type [RFC5777]
2447 551 ETH-SAP [RFC5777]
2448 552 VLAN-ID-Range [RFC5777]
2449 553 S-VID-Start [RFC5777]
2450 554 S-VID-End [RFC5777]
2451 555 C-VID-Start [RFC5777]
2452 556 C-VID-End [RFC5777]
2453 557 User-Priority-Range [RFC5777]
2454 558 Low-User-Priority [RFC5777]
2455 559 High-User-Priority [RFC5777]
2456 560 Time-Of-Day-Condition [RFC5777]
2457 561 Time-Of-Day-Start [RFC5777]
2458 562 Time-Of-Day-End [RFC5777]
2459 563 Day-Of-Week-Mask [RFC5777]
2460 564 Day-Of-Month-Mask [RFC5777]
2461 565 Month-Of-Year-Mask [RFC5777]
2462 566 Absolute-Start-Time [RFC5777]
2463 567 Absolute-Start-Fractional-Seconds [RFC5777]
2464 568 Absolute-End-Time [RFC5777]
2465 569 Absolute-End-Fractional-Seconds [RFC5777]
2466 570 Timezone-Flag [RFC5777]
2467 571 Timezone-Offset [RFC5777]
2468 572 Treatment-Action [RFC5777]
2469 573 QoS-Profile-Id [RFC5777]
2470 574 QoS-Profile-Template [RFC5777]
2471 575 QoS-Semantics [RFC5777]
2472 576 QoS-Parameters [RFC5777]
2473 577 Excess-Treatment [RFC5777]
2474 578 QoS-Capability [RFC5777]
2475 579 QoS-Authorization-Data [RFC-ietf-dime-diameter-qos-15]
2476 580 Bound-Auth-Session-Id [RFC-ietf-dime-diameter-qos-15]
2477 581-0xffffff Unassigned -->
2478
2479 <!-- ************************ END DIAMETER BASE PROTOCOL AVPS ******************* -->
2480
2481 <!--
2482 3GPP TS 29.230 version 8.7.0 Release 8  Table 7.1: 3GPP specific AVP codes
2483 100 3GPP-WLAN-APN-Id OctetString 29.234 [6]
2484 Note: The AVP codes from 1 to 255 are reserved for backwards compatibility with 3GPP RADIUS Vendor
2485 Specific Attributes (See TS 29.061 [13])
2486 Note: The AVP codes from 256 to 299 are reserved for future use.
2487 300 Authentication-Method Enumerated
2488 301 Authentication-Information-SIM OctetString
2489 302 Authorization -Information-SIM OctetString
2490 303 WLAN-User-Data Grouped
2491 304 Charging-Data Grouped
2492 305 WLAN-Access Enumerated
2493 306 WLAN- 3GPP-IP-Access Enumerated
2494 307 APN-Authorized Grouped
2495 308 APN-Id
2496 309 APN-Barring-Type Enumerated
2497 310 WLAN-Direct-IP-Access Enumerated
2498 311 Session-Request-Type Enumerated
2499 312 Routing-Policy IPFilterRule
2500 313 Max-Requested-Bandwidth OctetString
2501 314 Charging-Characteristics Integer
2502 315 Charging-Nodes Grouped
2503 316 Primary-OCS-Charging-Function-Name DiameterIdentity
2504 317 Secondary-OCS-Charging-Function-Name DiameterIdentity
2505 318 3GPP-AAA-Server-Name DiameterIdentity 29.234 [6]
2506 319 Maximum-Number-Accesses Unsigned32
2507 Note: The AVP codes from 320 to 399 are reserved for TS 29.234
2508 -->
2509                 <avp name="GBA-UserSecSettings" code="400" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2510                         <type type-name="OctetString"/>
2511                 </avp>
2512                 <avp name="Transaction-Identifier" code="401" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2513                         <type type-name="OctetString"/>
2514                 </avp>
2515                 <avp name="NAF-Hostname" code="402" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2516                         <type type-name="OctetString"/>
2517                 </avp>
2518                 <avp name="GAA-Service-Identifier" code="403" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2519                         <type type-name="OctetString"/>
2520                 </avp>
2521                 <avp name="Key-ExpiryTime" code="404" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2522                         <type type-name="Time"/>
2523                 </avp>
2524                 <avp name="ME-Key-Material" code="405" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2525                         <type type-name="OctetString"/>
2526                 </avp>
2527                 <avp name="UICC-Key-Material" code="406" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2528                         <type type-name="OctetString"/>
2529                 </avp>
2530                 <avp name="GBA_U-Awareness-Indicator" code="407" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2531                         <type type-name="Enumerated"/>
2532                         <enum name="NO" code="0"/>
2533                         <enum name="YES" code="1"/>
2534                 </avp>
2535                 <avp name="BootstrapInfoCreationTime" code="408" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2536                         <type type-name="Time"/>
2537                 </avp>
2538                 <avp name="GUSS-Timestamp" code="409" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2539                         <type type-name="Time"/>
2540                 </avp>
2541                 <avp name="GBA-Type" code="410" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2542                         <type type-name="Enumerated"/>
2543                         <enum name="3G GBA" code="0"/>
2544                         <enum name="2G GBA" code="1"/>
2545                 </avp>
2546                 <avp name="UE-Id" code="411" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2547                         <type type-name="OctetString"/>
2548                 </avp>
2549                 <avp name="UE-Id-Type" code="412" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2550                         <type type-name="Enumerated"/>
2551                         <enum name="Private user identity" code="0"/>
2552                         <enum name="Public user identity" code="1"/>
2553                 </avp>
2554                 <avp name="UICC-App-Label" code="413" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2555                         <type type-name="OctetString"/>
2556                 </avp>
2557                 <avp name="UICC-ME" code="414" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2558                         <type type-name="Enumerated"/>
2559                         <enum name="GBA_ME" code="0"/>
2560                         <enum name="GBA_U" code="1"/>
2561                 </avp>
2562                 <avp name="Requested-Key-Lifetime" code="415" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2563                         <type type-name="Time"/>
2564                 </avp>
2565                 <avp name="Private-Identity-Request" code="416" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2566                         <type type-name="Enumerated"/>
2567                         <enum name="Private identity requested" code="0"/>
2568                         <enum name="Private identity not requested" code="1"/>
2569                 </avp>
2570                 <avp name="GBA-Push-Info" code="417" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2571                         <type type-name="OctectString"/>
2572                 </avp>
2573                 <avp name="NAF-SA-Identifier" code="418" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2574                         <type type-name="OctectString"/>
2575                 </avp>
2576                 <avp name="Security-Feature-Request" code="419" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2577                         <type type-name="OctectString"/>
2578                 </avp>
2579                 <avp name="Security-Feature-Response" code="420" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2580                         <type type-name="OctectString"/>
2581                 </avp>
2582 <!-- Note: The AVP codes from 421 to 499 are reserved for TS 29.109
2583
2584                 <avp name="Reserved for TS 29.109" code="421" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2585                         <type type-name="OctectString"/>
2586                 </avp>
2587                 <avp name="Reserved for TS 29.109" code="422" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2588                         <type type-name="OctectString"/>
2589                 </avp>
2590                 <avp name="Reserved for TS 29.109" code="423" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2591                         <type type-name="OctectString"/>
2592                 </avp>
2593                 <avp name="Reserved for TS 29.109" code="424" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2594                         <type type-name="OctectString"/>
2595                 </avp>
2596                 <avp name="Reserved for TS 29.109" code="425" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2597                         <type type-name="OctectString"/>
2598                 </avp>
2599                 <avp name="Reserved for TS 29.109" code="426" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2600                         <type type-name="OctectString"/>
2601                 </avp>
2602                 <avp name="Reserved for TS 29.109" code="427" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2603                         <type type-name="OctectString"/>
2604                 </avp>
2605                 <avp name="Reserved for TS 29.109" code="428" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2606                         <type type-name="OctectString"/>
2607                 </avp>
2608                 <avp name="Reserved for TS 29.109" code="429" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2609                         <type type-name="OctectString"/>
2610                 </avp>
2611                 <avp name="Reserved for TS 29.109" code="430" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2612                         <type type-name="OctectString"/>
2613                 </avp>
2614                 <avp name="Reserved for TS 29.109" code="431" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2615                         <type type-name="OctectString"/>
2616                 </avp>
2617                 <avp name="Reserved for TS 29.109" code="432" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2618                         <type type-name="OctectString"/>
2619                 </avp>
2620                 <avp name="Reserved for TS 29.109" code="433" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2621                         <type type-name="OctectString"/>
2622                 </avp>
2623                 <avp name="Reserved for TS 29.109" code="434" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2624                         <type type-name="OctectString"/>
2625                 </avp>
2626                 <avp name="Reserved for TS 29.109" code="435" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2627                         <type type-name="OctectString"/>
2628                 </avp>
2629                 <avp name="Reserved for TS 29.109" code="436" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2630                         <type type-name="OctectString"/>
2631                 </avp>
2632                 <avp name="Reserved for TS 29.109" code="437" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2633                         <type type-name="OctectString"/>
2634                 </avp>
2635                 <avp name="Reserved for TS 29.109" code="438" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2636                         <type type-name="OctectString"/>
2637                 </avp>
2638                 <avp name="Reserved for TS 29.109" code="439" vendor-bit="must" may-encrypt="no" vendor-id="TGPP">
2639                         <type type-name="OctectString"/>
2640                 </avp>
2641 29.109 [7]
2642 Note: The AVP codes from 421 to 499 are reserved for TS 29.109
2643 -->
2644 <!-- Ref 3GPP TS 29.209 version 6.7.0 Release 6
2645  NOTE AVP 500 - 523 is in gqpolicy.xml
2646       AVP 524 - 527 is in TGPPRx.xml (3GPP TS 29.214)
2647 Note: The AVP codes from 524 to 599 are reserved for TS 29.209 and TS 29.211
2648  NOTE AVP 600 - 650 is in imscxdx.xml
2649
2650 Note: The AVP codes from 651 to 699 are reserved for TS 29.229.
2651  ************************** 3GPP Sh AVPS        **************************
2652  ************************** NOTE see TGPPSh.xml **************************
2653  ************************** 3GPP TS 29.329      **************************
2654  **************************   700 - 716         **************************
2655 Note: The AVP codes from 717 to799 are reserved for TS 29.329.
2656 Note: The AVP codes from 800 to 822 are reserved for TS 32.299.
2657 -->
2658 <!-- 3GPP Diameter charging applications (3GPP TS 32.299 version 7.0.0 Release 7)-->
2659 <!-- Note: The AVP codes from 800 to 822 are reserved for TS 32.299. -->
2660                 <avp name="Event-Type" code="823" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="mustnot" vendor-id="TGPP">
2661                         <grouped>
2662                                 <gavp name="SIP-Method"/>
2663                                 <gavp name="Event"/>
2664                                 <gavp name="Content-Type"/>
2665                                 <gavp name="Content-Length"/>
2666                                 <gavp name="Content-Disposition"/>
2667                         </grouped>
2668                 </avp>
2669                 <avp name="SIP-Method" code="824" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2670                         <type type-name="UTF8String"/>
2671                 </avp>
2672                 <avp name="Event" code="825" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2673                         <type type-name="UTF8String"/>
2674                 </avp>
2675                 <avp name="Content-Type" code="826" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2676                         <type type-name="UTF8String"/>
2677                 </avp>
2678                 <!--
2679                      In 3GPP TS 32.299 version 6.5.0 Release 6 (2005-12)
2680                      type type-name="UTF8String"
2681                      but according to 3GPP TS 32.299 version 7.4.0 Release 7(2006-12) it should be:
2682                 -->
2683                 <avp name="Content-Length" code="827" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2684                         <type type-name="Unsigned32"/>
2685                 </avp>
2686                 <avp name="Content-Disposition" code="828" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2687                         <type type-name="UTF8String"/>
2688                 </avp>
2689                 <avp name="Role-Of-Node" code="829" mandatory="must" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2690                         <type type-name="Enumerated"/>
2691                         <enum name="ORIGINATING_ROLE" code="0"/>
2692                         <enum name="TERMINATING_ROLE" code="1"/>
2693                         <enum name="PROXY_ROLE" code="2"/>
2694                         <enum name="B2BUA_ROLE" code="3"/>
2695                 </avp>
2696                 <avp name="User-Session-Id" code="830" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2697                         <type type-name="UTF8String"/>
2698                 </avp>
2699                 <avp name="Calling-Party-Address" code="831" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2700                         <type type-name="UTF8String"/>
2701                 </avp>
2702                 <avp name="Called-Party-Address" code="832" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2703                         <type type-name="UTF8String"/>
2704                 </avp>
2705                 <avp name="Time-Stamps" code="833" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2706                         <grouped>
2707                                 <gavp name="SIP-Request-Timestamp"/>
2708                                 <gavp name="SIP-Response-Timestamp"/>
2709                         </grouped>
2710                 </avp>
2711                 <avp name="SIP-Request-Timestamp" code="834" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2712                         <type type-name="Time"/>
2713                 </avp>
2714                 <avp name="SIP-Response-Timestamp" code="835" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2715                         <type type-name="Time"/>
2716                 </avp>
2717                 <avp name="Application-Server" code="836" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2718                         <type type-name="UTF8String"/>
2719                 </avp>
2720                 <avp name="Application-provided-Called-Party-Address" code="837" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2721                         <type type-name="UTF8String"/>
2722                 </avp>
2723                 <avp name="Inter-Operator-Identifier" code="838" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2724                         <grouped>
2725                                 <gavp name="Originating-IOI"/>
2726                                 <gavp name="Terminating-IOI"/>
2727                         </grouped>
2728                 </avp>
2729                 <avp name="Originating-IOI" code="839" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2730                         <type type-name="UTF8String"/>
2731                 </avp>
2732                 <avp name="Terminating-IOI" code="840" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2733                         <type type-name="UTF8String"/>
2734                 </avp>
2735                 <avp name="IMS-Charging-Identifier" code="841" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2736                         <type type-name="UTF8String"/>
2737                 </avp>
2738                 <avp name="SDP-Session-Description" code="842" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2739                         <type type-name="UTF8String"/>
2740                 </avp>
2741                 <avp name="SDP-Media-components" code="843" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2742                         <grouped>
2743                                 <gavp name="SDP-Media-Name"/>
2744                                 <gavp name="SDP-Media-Description"/>
2745                         </grouped>
2746                 </avp>
2747                 <avp name="SDP-Media-Name" code="844" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2748                         <type type-name="UTF8String"/>
2749                 </avp>
2750                 <avp name="SDP-Media-Description" code="845" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2751                         <type type-name="UTF8String"/>
2752                 </avp>
2753                 <avp name="GPRS-Charging-ID" code="846" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2754                         <type type-name="UTF8String"/>
2755                 </avp>
2756                 <!-- ETSI TS 132 299 V7.6.0 (2007-06) -->
2757                 <avp name="GGSN-Address" code="847" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2758                         <type type-name="IPAddress"/>
2759                 </avp>
2760                 <avp name="Served-Party-IP-Address" code="848" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2761                         <type type-name="IPAddress"/>
2762                 </avp>
2763                 <avp name="Authorised-QoS" code="849" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2764                         <type type-name="UTF8String"/>
2765                 </avp>
2766                 <avp name="Application-Server-Information" code="850" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2767                         <grouped>
2768                                 <gavp name="Application-Server"/>
2769                                 <gavp name="Application-Provided-Called-Party-Address"/>
2770                         </grouped>
2771                 </avp>
2772                 <avp name="Trunk-Group-ID" code="851" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2773                         <grouped>
2774                                 <gavp name="Incoming-Trunk-Group-ID"/>
2775                                 <gavp name="Outgoing-Trunk-Group-ID"/>
2776                         </grouped>
2777                 </avp>
2778                 <avp name="Incoming-Trunk-Group-ID" code="852" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2779                         <type type-name="UTF8String"/>
2780                 </avp>
2781                 <avp name="Outgoing-Trunk-Group-ID" code="853" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2782                         <type type-name="UTF8String"/>
2783                 </avp>
2784                 <avp name="Bearer-Service" code="854" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2785                         <type type-name="OctetString"/>
2786                 </avp>
2787                 <avp name="Service-ID" code="855" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2788                         <type type-name="UTF8String"/>
2789                 </avp>
2790                 <avp name="PoC-Controlling-Address" code="858" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2791                         <type type-name="UTF8String"/>
2792                 </avp>
2793                 <avp name="PoC-Group-Name" code="859" mandatory="must" may-encrypt="yes" protected="may" vendor-bit="must" vendor-id="TGPP">
2794                         <type type-name="UTF8String"/>
2795                 </avp>
2796                 <avp name="Cause" code="860" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2797                         <grouped>
2798                                 <gavp name="Cause-Code"/>
2799                                 <gavp name="Node-Functionality"/>
2800                         </grouped>
2801                 </avp>
2802                 <avp name="Cause-Code" code="861" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2803                         <type type-name="Enumerated"/>
2804                         <enum name="End of REGISTER dialog" code="-3"/>
2805                         <enum name="End of SUBSCRIBE dialog" code="-2"/>
2806                         <enum name="Successful transaction" code="-1"/>
2807                         <enum name="Normal end of session" code="0"/>
2808                         <enum name="Unspecified error" code="1"/>
2809                         <enum name="Unsuccessful session setup" code="2"/>
2810                         <enum name="Internal error" code="3"/>
2811                         <enum name="Multiple Choices" code="300"/>
2812                         <enum name="Moved Permanently" code="301"/>
2813                         <enum name="Moved Temporarily" code="302"/>
2814                         <enum name="Use Proxy" code="305"/>
2815                         <enum name="Alternative Service" code="380"/>
2816                         <enum name="Bad Request" code="400"/>
2817                         <enum name="Unauthorized" code="401"/>
2818                         <enum name="Payment Required" code="402"/>
2819                         <enum name="Forbidden" code="403"/>
2820                         <enum name="Not Found" code="404"/>
2821                         <enum name="Method Not Allowed" code="405"/>
2822                         <enum name="Not Acceptable" code="406"/>
2823                         <enum name="Proxy Authentication Required" code="407"/>
2824                         <enum name="Request Timeout" code="408"/>
2825                         <enum name="Gone" code="410"/>
2826                         <enum name="Conditional Request Failed" code="412"/>
2827                         <enum name="Request Entity Too Large" code="413"/>
2828                         <enum name="Request-URI Too Long" code="414"/>
2829                         <enum name="Unsupported Media Type" code="415"/>
2830                         <enum name="Unsupported URI Scheme" code="416"/>
2831                         <enum name="Unknown Resource-Priority" code="417"/>
2832                         <enum name="Bad Extension" code="420"/>
2833                         <enum name="Extension Required" code="421"/>
2834                         <enum name="Session Interval Too Small" code="422"/>
2835                         <enum name="Interval Too Brief" code="423"/>
2836                         <enum name="Use Identity Header" code="428"/>
2837                         <enum name="Provide Referrer Identity" code="429"/>
2838                         <enum name="Bad Identity-Info" code="436"/>
2839                         <enum name="Unsupported Certificate" code="437"/>
2840                         <enum name="Invalid Identity Header" code="438"/>
2841                         <enum name="Temporarily Unavailable" code="480"/>
2842                         <enum name="Call/Transaction Does Not Exist" code="481"/>
2843                         <enum name="Loop Detected" code="482"/>
2844                         <enum name="Too Many Hops" code="483"/>
2845                         <enum name="Address Incomplete" code="484"/>
2846                         <enum name="Ambiguous" code="485"/>
2847                         <enum name="Busy Here" code="486"/>
2848                         <enum name="Request Terminated" code="487"/>
2849                         <enum name="Not Acceptable Here" code="488"/>
2850                         <enum name="Bad Event" code="489"/>
2851                         <enum name="Request Pending" code="491"/>
2852                         <enum name="Undecipherable" code="493"/>
2853                         <enum name="Security Agreement Required" code="494"/>
2854                         <enum name="Server Internal Error" code="500"/>
2855                         <enum name="Not Implemented" code="501"/>
2856                         <enum name="Bad Gateway" code="502"/>
2857                         <enum name="Service Unavailable" code="503"/>
2858                         <enum name="Server Time-out" code="504"/>
2859                         <enum name="Version Not Supported" code="505"/>
2860                         <enum name="Message Too Large" code="513"/>
2861                         <enum name="Precondition Failure" code="580"/>
2862                         <enum name="Busy Everywhere" code="600"/>
2863                         <enum name="Decline" code="603"/>
2864                         <enum name="Does Not Exist Anywhere" code="604"/>
2865                         <enum name="Not Acceptable" code="606"/>
2866                 </avp>
2867                 <avp name="Node-Functionality" code="862" mandatory="must" may-encrypt="no" protected="mustnot" vendor-bit="must" vendor-id="TGPP">
2868                         <type type-name="Unsigned32"/>
2869                         <enum name="S-CSCF" code="0"/>
2870                         <enum name="P-CSCF" code="1"/>
2871                         <enum name="I-CSCF" code="2"/>
2872                         <enum name="MRFC" code="3"/>
2873                         <enum name="MGCF" code="4"/>
2874                         <enum name="BGCF" code="5"/>