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