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