add new RADIUS client library
[radsecproxy.git] / lib / radius / dictionaries.c
1 const DICT_VENDOR nr_dict_vendors[] = {
2   { 
3     .name = "Microsoft", 
4     .vendor = 311, 
5     .type = 1,
6     .length = 1,
7   },
8   { 
9     .name = "example", 
10     .vendor = 65535, 
11     .type = 1,
12     .length = 1,
13   },
14
15   { .name = NULL, }
16 };
17
18 const DICT_ATTR nr_dict_attrs[] = {
19   { /* 0 */ 
20     .name = NULL, 
21   },
22   { /* 1 */ 
23     .name = "User-Name", 
24     .attr = 1, 
25     .type = NR_TYPE_STRING, 
26   },
27   { /* 2 */ 
28     .name = "User-Password", 
29     .attr = 2, 
30     .type = NR_TYPE_STRING, 
31     .flags = {
32       .encrypt = FLAG_ENCRYPT_USER_PASSWORD,
33     },
34   },
35   { /* 3 */ 
36     .name = "CHAP-Password", 
37     .attr = 3, 
38     .type = NR_TYPE_OCTETS, 
39   },
40   { /* 4 */ 
41     .name = "NAS-IP-Address", 
42     .attr = 4, 
43     .type = NR_TYPE_IPADDR, 
44     .flags = {
45       .length = 4,
46     },
47   },
48   { /* 5 */ 
49     .name = "NAS-Port", 
50     .attr = 5, 
51     .type = NR_TYPE_INTEGER, 
52     .flags = {
53       .length = 4,
54     },
55   },
56   { /* 6 */ 
57     .name = "Service-Type", 
58     .attr = 6, 
59     .type = NR_TYPE_INTEGER, 
60     .flags = {
61       .length = 4,
62     },
63   },
64   { /* 7 */ 
65     .name = "Framed-Protocol", 
66     .attr = 7, 
67     .type = NR_TYPE_INTEGER, 
68     .flags = {
69       .length = 4,
70     },
71   },
72   { /* 8 */ 
73     .name = "Framed-IP-Address", 
74     .attr = 8, 
75     .type = NR_TYPE_IPADDR, 
76     .flags = {
77       .length = 4,
78     },
79   },
80   { /* 9 */ 
81     .name = "Framed-IP-Netmask", 
82     .attr = 9, 
83     .type = NR_TYPE_IPADDR, 
84     .flags = {
85       .length = 4,
86     },
87   },
88   { /* 10 */ 
89     .name = "Framed-Routing", 
90     .attr = 10, 
91     .type = NR_TYPE_INTEGER, 
92     .flags = {
93       .length = 4,
94     },
95   },
96   { /* 11 */ 
97     .name = "Filter-Id", 
98     .attr = 11, 
99     .type = NR_TYPE_STRING, 
100   },
101   { /* 12 */ 
102     .name = "Framed-MTU", 
103     .attr = 12, 
104     .type = NR_TYPE_INTEGER, 
105     .flags = {
106       .length = 4,
107     },
108   },
109   { /* 13 */ 
110     .name = "Framed-Compression", 
111     .attr = 13, 
112     .type = NR_TYPE_INTEGER, 
113     .flags = {
114       .length = 4,
115     },
116   },
117   { /* 14 */ 
118     .name = "Login-IP-Host", 
119     .attr = 14, 
120     .type = NR_TYPE_IPADDR, 
121     .flags = {
122       .length = 4,
123     },
124   },
125   { /* 15 */ 
126     .name = "Login-Service", 
127     .attr = 15, 
128     .type = NR_TYPE_INTEGER, 
129     .flags = {
130       .length = 4,
131     },
132   },
133   { /* 16 */ 
134     .name = "Login-TCP-Port", 
135     .attr = 16, 
136     .type = NR_TYPE_INTEGER, 
137     .flags = {
138       .length = 4,
139     },
140   },
141   { /* 17 */ 
142     .name = NULL, 
143   },
144   { /* 18 */ 
145     .name = "Reply-Message", 
146     .attr = 18, 
147     .type = NR_TYPE_STRING, 
148   },
149   { /* 19 */ 
150     .name = "Callback-Number", 
151     .attr = 19, 
152     .type = NR_TYPE_STRING, 
153   },
154   { /* 20 */ 
155     .name = "Callback-Id", 
156     .attr = 20, 
157     .type = NR_TYPE_STRING, 
158   },
159   { /* 21 */ 
160     .name = NULL, 
161   },
162   { /* 22 */ 
163     .name = "Framed-Route", 
164     .attr = 22, 
165     .type = NR_TYPE_STRING, 
166   },
167   { /* 23 */ 
168     .name = "Framed-IPX-Network", 
169     .attr = 23, 
170     .type = NR_TYPE_IPADDR, 
171     .flags = {
172       .length = 4,
173     },
174   },
175   { /* 24 */ 
176     .name = "State", 
177     .attr = 24, 
178     .type = NR_TYPE_OCTETS, 
179   },
180   { /* 25 */ 
181     .name = "Class", 
182     .attr = 25, 
183     .type = NR_TYPE_OCTETS, 
184   },
185   { /* 26 */ 
186     .name = "Vendor-Specific", 
187     .attr = 26, 
188     .type = NR_TYPE_OCTETS, 
189   },
190   { /* 27 */ 
191     .name = "Session-Timeout", 
192     .attr = 27, 
193     .type = NR_TYPE_INTEGER, 
194     .flags = {
195       .length = 4,
196     },
197   },
198   { /* 28 */ 
199     .name = "Idle-Timeout", 
200     .attr = 28, 
201     .type = NR_TYPE_INTEGER, 
202     .flags = {
203       .length = 4,
204     },
205   },
206   { /* 29 */ 
207     .name = "Termination-Action", 
208     .attr = 29, 
209     .type = NR_TYPE_INTEGER, 
210     .flags = {
211       .length = 4,
212     },
213   },
214   { /* 30 */ 
215     .name = "Called-Station-Id", 
216     .attr = 30, 
217     .type = NR_TYPE_STRING, 
218   },
219   { /* 31 */ 
220     .name = "Calling-Station-Id", 
221     .attr = 31, 
222     .type = NR_TYPE_STRING, 
223   },
224   { /* 32 */ 
225     .name = "NAS-Identifier", 
226     .attr = 32, 
227     .type = NR_TYPE_STRING, 
228   },
229   { /* 33 */ 
230     .name = "Proxy-State", 
231     .attr = 33, 
232     .type = NR_TYPE_OCTETS, 
233   },
234   { /* 34 */ 
235     .name = "Login-LAT-Service", 
236     .attr = 34, 
237     .type = NR_TYPE_STRING, 
238   },
239   { /* 35 */ 
240     .name = "Login-LAT-Node", 
241     .attr = 35, 
242     .type = NR_TYPE_STRING, 
243   },
244   { /* 36 */ 
245     .name = "Login-LAT-Group", 
246     .attr = 36, 
247     .type = NR_TYPE_OCTETS, 
248   },
249   { /* 37 */ 
250     .name = "Framed-AppleTalk-Link", 
251     .attr = 37, 
252     .type = NR_TYPE_INTEGER, 
253     .flags = {
254       .length = 4,
255     },
256   },
257   { /* 38 */ 
258     .name = "Framed-AppleTalk-Network", 
259     .attr = 38, 
260     .type = NR_TYPE_INTEGER, 
261     .flags = {
262       .length = 4,
263     },
264   },
265   { /* 39 */ 
266     .name = "Framed-AppleTalk-Zone", 
267     .attr = 39, 
268     .type = NR_TYPE_STRING, 
269   },
270   { /* 40 */ 
271     .name = "Acct-Status-Type", 
272     .attr = 40, 
273     .type = NR_TYPE_INTEGER, 
274     .flags = {
275       .length = 4,
276     },
277   },
278   { /* 41 */ 
279     .name = "Acct-Delay-Time", 
280     .attr = 41, 
281     .type = NR_TYPE_INTEGER, 
282     .flags = {
283       .length = 4,
284     },
285   },
286   { /* 42 */ 
287     .name = "Acct-Input-Octets", 
288     .attr = 42, 
289     .type = NR_TYPE_INTEGER, 
290     .flags = {
291       .length = 4,
292     },
293   },
294   { /* 43 */ 
295     .name = "Acct-Output-Octets", 
296     .attr = 43, 
297     .type = NR_TYPE_INTEGER, 
298     .flags = {
299       .length = 4,
300     },
301   },
302   { /* 44 */ 
303     .name = "Acct-Session-Id", 
304     .attr = 44, 
305     .type = NR_TYPE_STRING, 
306   },
307   { /* 45 */ 
308     .name = "Acct-Authentic", 
309     .attr = 45, 
310     .type = NR_TYPE_INTEGER, 
311     .flags = {
312       .length = 4,
313     },
314   },
315   { /* 46 */ 
316     .name = "Acct-Session-Time", 
317     .attr = 46, 
318     .type = NR_TYPE_INTEGER, 
319     .flags = {
320       .length = 4,
321     },
322   },
323   { /* 47 */ 
324     .name = "Acct-Input-Packets", 
325     .attr = 47, 
326     .type = NR_TYPE_INTEGER, 
327     .flags = {
328       .length = 4,
329     },
330   },
331   { /* 48 */ 
332     .name = "Acct-Output-Packets", 
333     .attr = 48, 
334     .type = NR_TYPE_INTEGER, 
335     .flags = {
336       .length = 4,
337     },
338   },
339   { /* 49 */ 
340     .name = "Acct-Terminate-Cause", 
341     .attr = 49, 
342     .type = NR_TYPE_INTEGER, 
343     .flags = {
344       .length = 4,
345     },
346   },
347   { /* 50 */ 
348     .name = "Acct-Multi-Session-Id", 
349     .attr = 50, 
350     .type = NR_TYPE_STRING, 
351   },
352   { /* 51 */ 
353     .name = "Acct-Link-Count", 
354     .attr = 51, 
355     .type = NR_TYPE_INTEGER, 
356     .flags = {
357       .length = 4,
358     },
359   },
360   { /* 52 */ 
361     .name = "Acct-Input-Gigawords", 
362     .attr = 52, 
363     .type = NR_TYPE_INTEGER, 
364     .flags = {
365       .length = 4,
366     },
367   },
368   { /* 53 */ 
369     .name = "Acct-Output-Gigawords", 
370     .attr = 53, 
371     .type = NR_TYPE_INTEGER, 
372     .flags = {
373       .length = 4,
374     },
375   },
376   { /* 54 */ 
377     .name = NULL, 
378   },
379   { /* 55 */ 
380     .name = "Event-Timestamp", 
381     .attr = 55, 
382     .type = NR_TYPE_DATE, 
383     .flags = {
384       .length = 4,
385     },
386   },
387   { /* 56 */ 
388     .name = "Egress-VLANID", 
389     .attr = 56, 
390     .type = NR_TYPE_INTEGER, 
391     .flags = {
392       .length = 4,
393     },
394   },
395   { /* 57 */ 
396     .name = "Ingress-Filters", 
397     .attr = 57, 
398     .type = NR_TYPE_INTEGER, 
399     .flags = {
400       .length = 4,
401     },
402   },
403   { /* 58 */ 
404     .name = "Egress-VLAN-Name", 
405     .attr = 58, 
406     .type = NR_TYPE_STRING, 
407   },
408   { /* 59 */ 
409     .name = "User-Priority-Table", 
410     .attr = 59, 
411     .type = NR_TYPE_OCTETS, 
412   },
413   { /* 60 */ 
414     .name = "CHAP-Challenge", 
415     .attr = 60, 
416     .type = NR_TYPE_OCTETS, 
417   },
418   { /* 61 */ 
419     .name = "NAS-Port-Type", 
420     .attr = 61, 
421     .type = NR_TYPE_INTEGER, 
422     .flags = {
423       .length = 4,
424     },
425   },
426   { /* 62 */ 
427     .name = "Port-Limit", 
428     .attr = 62, 
429     .type = NR_TYPE_INTEGER, 
430     .flags = {
431       .length = 4,
432     },
433   },
434   { /* 63 */ 
435     .name = "Login-LAT-Port", 
436     .attr = 63, 
437     .type = NR_TYPE_STRING, 
438   },
439   { /* 64 */ 
440     .name = "Tunnel-Type", 
441     .attr = 64, 
442     .type = NR_TYPE_INTEGER, 
443     .flags = {
444       .length = 4,
445       .has_tag = 1,
446     },
447   },
448   { /* 65 */ 
449     .name = "Tunnel-Medium-Type", 
450     .attr = 65, 
451     .type = NR_TYPE_INTEGER, 
452     .flags = {
453       .length = 4,
454       .has_tag = 1,
455     },
456   },
457   { /* 66 */ 
458     .name = "Tunnel-Client-Endpoint", 
459     .attr = 66, 
460     .type = NR_TYPE_STRING, 
461     .flags = {
462       .has_tag = 1,
463     },
464   },
465   { /* 67 */ 
466     .name = "Tunnel-Server-Endpoint", 
467     .attr = 67, 
468     .type = NR_TYPE_STRING, 
469     .flags = {
470       .has_tag = 1,
471     },
472   },
473   { /* 68 */ 
474     .name = "Acct-Tunnel-Connection", 
475     .attr = 68, 
476     .type = NR_TYPE_STRING, 
477   },
478   { /* 69 */ 
479     .name = "Tunnel-Password", 
480     .attr = 69, 
481     .type = NR_TYPE_STRING, 
482     .flags = {
483       .encrypt = FLAG_ENCRYPT_TUNNEL_PASSWORD,
484       .has_tag = 1,
485     },
486   },
487   { /* 70 */ 
488     .name = "ARAP-Password", 
489     .attr = 70, 
490     .type = NR_TYPE_OCTETS, 
491     .flags = {
492       .length = 16,
493     },
494   },
495   { /* 71 */ 
496     .name = "ARAP-Features", 
497     .attr = 71, 
498     .type = NR_TYPE_OCTETS, 
499     .flags = {
500       .length = 14,
501     },
502   },
503   { /* 72 */ 
504     .name = "ARAP-Zone-Access", 
505     .attr = 72, 
506     .type = NR_TYPE_INTEGER, 
507     .flags = {
508       .length = 4,
509     },
510   },
511   { /* 73 */ 
512     .name = "ARAP-Security", 
513     .attr = 73, 
514     .type = NR_TYPE_INTEGER, 
515     .flags = {
516       .length = 4,
517     },
518   },
519   { /* 74 */ 
520     .name = "ARAP-Security-Data", 
521     .attr = 74, 
522     .type = NR_TYPE_STRING, 
523   },
524   { /* 75 */ 
525     .name = "Password-Retry", 
526     .attr = 75, 
527     .type = NR_TYPE_INTEGER, 
528     .flags = {
529       .length = 4,
530     },
531   },
532   { /* 76 */ 
533     .name = "Prompt", 
534     .attr = 76, 
535     .type = NR_TYPE_INTEGER, 
536     .flags = {
537       .length = 4,
538     },
539   },
540   { /* 77 */ 
541     .name = "Connect-Info", 
542     .attr = 77, 
543     .type = NR_TYPE_STRING, 
544   },
545   { /* 78 */ 
546     .name = "Configuration-Token", 
547     .attr = 78, 
548     .type = NR_TYPE_STRING, 
549   },
550   { /* 79 */ 
551     .name = "EAP-Message", 
552     .attr = 79, 
553     .type = NR_TYPE_OCTETS, 
554   },
555   { /* 80 */ 
556     .name = "Message-Authenticator", 
557     .attr = 80, 
558     .type = NR_TYPE_OCTETS, 
559   },
560   { /* 81 */ 
561     .name = "Tunnel-Private-Group-Id", 
562     .attr = 81, 
563     .type = NR_TYPE_STRING, 
564     .flags = {
565       .has_tag = 1,
566     },
567   },
568   { /* 82 */ 
569     .name = "Tunnel-Assignment-Id", 
570     .attr = 82, 
571     .type = NR_TYPE_STRING, 
572     .flags = {
573       .has_tag = 1,
574     },
575   },
576   { /* 83 */ 
577     .name = "Tunnel-Preference", 
578     .attr = 83, 
579     .type = NR_TYPE_INTEGER, 
580     .flags = {
581       .length = 4,
582       .has_tag = 1,
583     },
584   },
585   { /* 84 */ 
586     .name = "ARAP-Challenge-Response", 
587     .attr = 84, 
588     .type = NR_TYPE_OCTETS, 
589     .flags = {
590       .length = 8,
591     },
592   },
593   { /* 85 */ 
594     .name = "Acct-Interim-Interval", 
595     .attr = 85, 
596     .type = NR_TYPE_INTEGER, 
597     .flags = {
598       .length = 4,
599     },
600   },
601   { /* 86 */ 
602     .name = "Acct-Tunnel-Packets-Lost", 
603     .attr = 86, 
604     .type = NR_TYPE_INTEGER, 
605     .flags = {
606       .length = 4,
607     },
608   },
609   { /* 87 */ 
610     .name = "NAS-Port-Id", 
611     .attr = 87, 
612     .type = NR_TYPE_STRING, 
613   },
614   { /* 88 */ 
615     .name = "Framed-Pool", 
616     .attr = 88, 
617     .type = NR_TYPE_STRING, 
618   },
619   { /* 89 */ 
620     .name = "Chargeable-User-Identity", 
621     .attr = 89, 
622     .type = NR_TYPE_STRING, 
623   },
624   { /* 90 */ 
625     .name = "Tunnel-Client-Auth-Id", 
626     .attr = 90, 
627     .type = NR_TYPE_STRING, 
628     .flags = {
629       .has_tag = 1,
630     },
631   },
632   { /* 91 */ 
633     .name = "Tunnel-Server-Auth-Id", 
634     .attr = 91, 
635     .type = NR_TYPE_STRING, 
636     .flags = {
637       .has_tag = 1,
638     },
639   },
640   { /* 92 */ 
641     .name = "NAS-Filter-Rule", 
642     .attr = 92, 
643     .type = NR_TYPE_STRING, 
644   },
645   { /* 93 */ 
646     .name = NULL, 
647   },
648   { /* 94 */ 
649     .name = NULL, 
650   },
651   { /* 95 */ 
652     .name = "NAS-IPv6-Address", 
653     .attr = 95, 
654     .type = NR_TYPE_IPV6ADDR, 
655     .flags = {
656       .length = 16,
657     },
658   },
659   { /* 96 */ 
660     .name = "Framed-Interface-Id", 
661     .attr = 96, 
662     .type = NR_TYPE_IFID, 
663     .flags = {
664       .length = 8,
665     },
666   },
667   { /* 97 */ 
668     .name = "Framed-IPv6-Prefix", 
669     .attr = 97, 
670     .type = NR_TYPE_IPV6PREFIX, 
671   },
672   { /* 98 */ 
673     .name = "Login-IPv6-Host", 
674     .attr = 98, 
675     .type = NR_TYPE_IPV6ADDR, 
676     .flags = {
677       .length = 16,
678     },
679   },
680   { /* 99 */ 
681     .name = "Framed-IPv6-Route", 
682     .attr = 99, 
683     .type = NR_TYPE_STRING, 
684   },
685   { /* 100 */ 
686     .name = "Framed-IPv6-Pool", 
687     .attr = 100, 
688     .type = NR_TYPE_STRING, 
689   },
690   { /* 101 */ 
691     .name = "Error-Cause", 
692     .attr = 101, 
693     .type = NR_TYPE_INTEGER, 
694     .flags = {
695       .length = 4,
696     },
697   },
698   { /* 102 */ 
699     .name = "EAP-Key-Name", 
700     .attr = 102, 
701     .type = NR_TYPE_STRING, 
702   },
703   { /* 103 */ 
704     .name = "Digest-Response", 
705     .attr = 103, 
706     .type = NR_TYPE_STRING, 
707   },
708   { /* 104 */ 
709     .name = "Digest-Realm", 
710     .attr = 104, 
711     .type = NR_TYPE_STRING, 
712   },
713   { /* 105 */ 
714     .name = "Digest-Nonce", 
715     .attr = 105, 
716     .type = NR_TYPE_STRING, 
717   },
718   { /* 106 */ 
719     .name = "Digest-Response-Auth", 
720     .attr = 106, 
721     .type = NR_TYPE_STRING, 
722   },
723   { /* 107 */ 
724     .name = "Digest-Nextnonce", 
725     .attr = 107, 
726     .type = NR_TYPE_STRING, 
727   },
728   { /* 108 */ 
729     .name = "Digest-Method", 
730     .attr = 108, 
731     .type = NR_TYPE_STRING, 
732   },
733   { /* 109 */ 
734     .name = "Digest-URI", 
735     .attr = 109, 
736     .type = NR_TYPE_STRING, 
737   },
738   { /* 110 */ 
739     .name = "Digest-Qop", 
740     .attr = 110, 
741     .type = NR_TYPE_STRING, 
742   },
743   { /* 111 */ 
744     .name = "Digest-Algorithm", 
745     .attr = 111, 
746     .type = NR_TYPE_STRING, 
747   },
748   { /* 112 */ 
749     .name = "Digest-Entity-Body-Hash", 
750     .attr = 112, 
751     .type = NR_TYPE_STRING, 
752   },
753   { /* 113 */ 
754     .name = "Digest-CNonce", 
755     .attr = 113, 
756     .type = NR_TYPE_STRING, 
757   },
758   { /* 114 */ 
759     .name = "Digest-Nonce-Count", 
760     .attr = 114, 
761     .type = NR_TYPE_STRING, 
762   },
763   { /* 115 */ 
764     .name = "Digest-Username", 
765     .attr = 115, 
766     .type = NR_TYPE_STRING, 
767   },
768   { /* 116 */ 
769     .name = "Digest-Opaque", 
770     .attr = 116, 
771     .type = NR_TYPE_STRING, 
772   },
773   { /* 117 */ 
774     .name = "Digest-Auth-Param", 
775     .attr = 117, 
776     .type = NR_TYPE_STRING, 
777   },
778   { /* 118 */ 
779     .name = "Digest-AKA-Auts", 
780     .attr = 118, 
781     .type = NR_TYPE_STRING, 
782   },
783   { /* 119 */ 
784     .name = "Digest-Domain", 
785     .attr = 119, 
786     .type = NR_TYPE_STRING, 
787   },
788   { /* 120 */ 
789     .name = "Digest-Stale", 
790     .attr = 120, 
791     .type = NR_TYPE_STRING, 
792   },
793   { /* 121 */ 
794     .name = "Digest-HA1", 
795     .attr = 121, 
796     .type = NR_TYPE_STRING, 
797   },
798   { /* 122 */ 
799     .name = "SIP-AOR", 
800     .attr = 122, 
801     .type = NR_TYPE_STRING, 
802   },
803   { /* 123 */ 
804     .name = "Delegated-IPv6-Prefix", 
805     .attr = 123, 
806     .type = NR_TYPE_IPV6PREFIX, 
807   },
808   { /* 124 */ 
809     .name = NULL, 
810   },
811   { /* 125 */ 
812     .name = NULL, 
813   },
814   { /* 126 */ 
815     .name = "Operator-Name", 
816     .attr = 126, 
817     .type = NR_TYPE_STRING, 
818   },
819   { /* 127 */ 
820     .name = "Location-Information", 
821     .attr = 127, 
822     .type = NR_TYPE_OCTETS, 
823   },
824   { /* 128 */ 
825     .name = "Location-Data", 
826     .attr = 128, 
827     .type = NR_TYPE_OCTETS, 
828   },
829   { /* 129 */ 
830     .name = "Basic-Location-Policy-Rules", 
831     .attr = 129, 
832     .type = NR_TYPE_OCTETS, 
833   },
834   { /* 130 */ 
835     .name = "Extended-Location-Policy-Rules", 
836     .attr = 130, 
837     .type = NR_TYPE_OCTETS, 
838   },
839   { /* 131 */ 
840     .name = "Location-Capable", 
841     .attr = 131, 
842     .type = NR_TYPE_INTEGER, 
843     .flags = {
844       .length = 4,
845     },
846   },
847   { /* 132 */ 
848     .name = "Requested-Location-Info", 
849     .attr = 132, 
850     .type = NR_TYPE_INTEGER, 
851     .flags = {
852       .length = 4,
853     },
854   },
855   { /* 133 */ 
856     .name = "Framed-Management", 
857     .attr = 133, 
858     .type = NR_TYPE_INTEGER, 
859     .flags = {
860       .length = 4,
861     },
862   },
863   { /* 134 */ 
864     .name = "Management-Transport-Protection", 
865     .attr = 134, 
866     .type = NR_TYPE_INTEGER, 
867     .flags = {
868       .length = 4,
869     },
870   },
871   { /* 135 */ 
872     .name = "Management-Policy-Id", 
873     .attr = 135, 
874     .type = NR_TYPE_STRING, 
875   },
876   { /* 136 */ 
877     .name = "Management-Privilege-Level", 
878     .attr = 136, 
879     .type = NR_TYPE_INTEGER, 
880     .flags = {
881       .length = 4,
882     },
883   },
884   { /* 137 */ 
885     .name = "PKM-SS-Cert", 
886     .attr = 137, 
887     .type = NR_TYPE_OCTETS, 
888   },
889   { /* 138 */ 
890     .name = "PKM-CA-Cert", 
891     .attr = 138, 
892     .type = NR_TYPE_OCTETS, 
893   },
894   { /* 139 */ 
895     .name = "PKM-Config-Settings", 
896     .attr = 139, 
897     .type = NR_TYPE_OCTETS, 
898   },
899   { /* 140 */ 
900     .name = "PKM-Cryptosuite-List", 
901     .attr = 140, 
902     .type = NR_TYPE_OCTETS, 
903   },
904   { /* 141 */ 
905     .name = "PKM-SAID", 
906     .attr = 141, 
907     .type = NR_TYPE_SHORT, 
908     .flags = {
909       .length = 2,
910     },
911   },
912   { /* 142 */ 
913     .name = "PKM-SA-Descriptor", 
914     .attr = 142, 
915     .type = NR_TYPE_OCTETS, 
916   },
917   { /* 143 */ 
918     .name = "PKM-Auth-Key", 
919     .attr = 143, 
920     .type = NR_TYPE_OCTETS, 
921   },
922   { /* 144 */ 
923     .name = NULL, 
924   },
925   { /* 145 */ 
926     .name = NULL, 
927   },
928   { /* 146 */ 
929     .name = NULL, 
930   },
931   { /* 147 */ 
932     .name = NULL, 
933   },
934   { /* 148 */ 
935     .name = NULL, 
936   },
937   { /* 149 */ 
938     .name = NULL, 
939   },
940   { /* 150 */ 
941     .name = NULL, 
942   },
943   { /* 151 */ 
944     .name = NULL, 
945   },
946   { /* 152 */ 
947     .name = NULL, 
948   },
949   { /* 153 */ 
950     .name = NULL, 
951   },
952   { /* 154 */ 
953     .name = NULL, 
954   },
955   { /* 155 */ 
956     .name = NULL, 
957   },
958   { /* 156 */ 
959     .name = NULL, 
960   },
961   { /* 157 */ 
962     .name = NULL, 
963   },
964   { /* 158 */ 
965     .name = NULL, 
966   },
967   { /* 159 */ 
968     .name = NULL, 
969   },
970   { /* 160 */ 
971     .name = NULL, 
972   },
973   { /* 161 */ 
974     .name = NULL, 
975   },
976   { /* 162 */ 
977     .name = NULL, 
978   },
979   { /* 163 */ 
980     .name = NULL, 
981   },
982   { /* 164 */ 
983     .name = NULL, 
984   },
985   { /* 165 */ 
986     .name = NULL, 
987   },
988   { /* 166 */ 
989     .name = NULL, 
990   },
991   { /* 167 */ 
992     .name = NULL, 
993   },
994   { /* 168 */ 
995     .name = NULL, 
996   },
997   { /* 169 */ 
998     .name = NULL, 
999   },
1000   { /* 170 */ 
1001     .name = NULL, 
1002   },
1003   { /* 171 */ 
1004     .name = NULL, 
1005   },
1006   { /* 172 */ 
1007     .name = NULL, 
1008   },
1009   { /* 173 */ 
1010     .name = NULL, 
1011   },
1012   { /* 174 */ 
1013     .name = NULL, 
1014   },
1015   { /* 175 */ 
1016     .name = NULL, 
1017   },
1018   { /* 176 */ 
1019     .name = NULL, 
1020   },
1021   { /* 177 */ 
1022     .name = NULL, 
1023   },
1024   { /* 178 */ 
1025     .name = NULL, 
1026   },
1027   { /* 179 */ 
1028     .name = NULL, 
1029   },
1030   { /* 180 */ 
1031     .name = NULL, 
1032   },
1033   { /* 181 */ 
1034     .name = NULL, 
1035   },
1036   { /* 182 */ 
1037     .name = NULL, 
1038   },
1039   { /* 183 */ 
1040     .name = NULL, 
1041   },
1042   { /* 184 */ 
1043     .name = NULL, 
1044   },
1045   { /* 185 */ 
1046     .name = NULL, 
1047   },
1048   { /* 186 */ 
1049     .name = NULL, 
1050   },
1051   { /* 187 */ 
1052     .name = NULL, 
1053   },
1054   { /* 188 */ 
1055     .name = NULL, 
1056   },
1057   { /* 189 */ 
1058     .name = NULL, 
1059   },
1060   { /* 190 */ 
1061     .name = NULL, 
1062   },
1063   { /* 191 */ 
1064     .name = NULL, 
1065   },
1066   { /* 192 */ 
1067     .name = NULL, 
1068   },
1069   { /* 193 */ 
1070     .name = NULL, 
1071   },
1072   { /* 194 */ 
1073     .name = NULL, 
1074   },
1075   { /* 195 */ 
1076     .name = NULL, 
1077   },
1078   { /* 196 */ 
1079     .name = NULL, 
1080   },
1081   { /* 197 */ 
1082     .name = NULL, 
1083   },
1084   { /* 198 */ 
1085     .name = NULL, 
1086   },
1087   { /* 199 */ 
1088     .name = NULL, 
1089   },
1090   { /* 200 */ 
1091     .name = NULL, 
1092   },
1093   { /* 201 */ 
1094     .name = NULL, 
1095   },
1096   { /* 202 */ 
1097     .name = NULL, 
1098   },
1099   { /* 203 */ 
1100     .name = NULL, 
1101   },
1102   { /* 204 */ 
1103     .name = NULL, 
1104   },
1105   { /* 205 */ 
1106     .name = NULL, 
1107   },
1108   { /* 206 */ 
1109     .name = NULL, 
1110   },
1111   { /* 207 */ 
1112     .name = NULL, 
1113   },
1114   { /* 208 */ 
1115     .name = NULL, 
1116   },
1117   { /* 209 */ 
1118     .name = NULL, 
1119   },
1120   { /* 210 */ 
1121     .name = NULL, 
1122   },
1123   { /* 211 */ 
1124     .name = NULL, 
1125   },
1126   { /* 212 */ 
1127     .name = NULL, 
1128   },
1129   { /* 213 */ 
1130     .name = NULL, 
1131   },
1132   { /* 214 */ 
1133     .name = NULL, 
1134   },
1135   { /* 215 */ 
1136     .name = NULL, 
1137   },
1138   { /* 216 */ 
1139     .name = NULL, 
1140   },
1141   { /* 217 */ 
1142     .name = NULL, 
1143   },
1144   { /* 218 */ 
1145     .name = NULL, 
1146   },
1147   { /* 219 */ 
1148     .name = NULL, 
1149   },
1150   { /* 220 */ 
1151     .name = NULL, 
1152   },
1153   { /* 221 */ 
1154     .name = NULL, 
1155   },
1156   { /* 222 */ 
1157     .name = NULL, 
1158   },
1159   { /* 223 */ 
1160     .name = NULL, 
1161   },
1162   { /* 224 */ 
1163     .name = NULL, 
1164   },
1165   { /* 225 */ 
1166     .name = NULL, 
1167   },
1168   { /* 226 */ 
1169     .name = NULL, 
1170   },
1171   { /* 227 */ 
1172     .name = NULL, 
1173   },
1174   { /* 228 */ 
1175     .name = NULL, 
1176   },
1177   { /* 229 */ 
1178     .name = NULL, 
1179   },
1180   { /* 230 */ 
1181     .name = NULL, 
1182   },
1183   { /* 231 */ 
1184     .name = NULL, 
1185   },
1186   { /* 232 */ 
1187     .name = NULL, 
1188   },
1189   { /* 233 */ 
1190     .name = NULL, 
1191   },
1192   { /* 234 */ 
1193     .name = NULL, 
1194   },
1195   { /* 235 */ 
1196     .name = NULL, 
1197   },
1198   { /* 236 */ 
1199     .name = NULL, 
1200   },
1201   { /* 237 */ 
1202     .name = NULL, 
1203   },
1204   { /* 238 */ 
1205     .name = NULL, 
1206   },
1207   { /* 239 */ 
1208     .name = NULL, 
1209   },
1210   { /* 240 */ 
1211     .name = NULL, 
1212   },
1213   { /* 241 */ 
1214     .name = NULL, 
1215   },
1216   { /* 242 */ 
1217     .name = NULL, 
1218   },
1219   { /* 243 */ 
1220     .name = NULL, 
1221   },
1222   { /* 244 */ 
1223     .name = NULL, 
1224   },
1225   { /* 245 */ 
1226     .name = NULL, 
1227   },
1228   { /* 246 */ 
1229     .name = NULL, 
1230   },
1231   { /* 247 */ 
1232     .name = NULL, 
1233   },
1234   { /* 248 */ 
1235     .name = NULL, 
1236   },
1237   { /* 249 */ 
1238     .name = NULL, 
1239   },
1240   { /* 250 */ 
1241     .name = NULL, 
1242   },
1243   { /* 251 */ 
1244     .name = NULL, 
1245   },
1246   { /* 252 */ 
1247     .name = NULL, 
1248   },
1249   { /* 253 */ 
1250     .name = NULL, 
1251   },
1252   { /* 254 */ 
1253     .name = NULL, 
1254   },
1255   { /* 255 */ 
1256     .name = NULL, 
1257   },
1258   { /* 256 */ 
1259     .name = "MS-CHAP-Response", 
1260     .vendor = 311, 
1261     .attr = 1, 
1262     .type = NR_TYPE_OCTETS, 
1263   },
1264   { /* 257 */ 
1265     .name = "MS-CHAP-Error", 
1266     .vendor = 311, 
1267     .attr = 2, 
1268     .type = NR_TYPE_STRING, 
1269   },
1270   { /* 258 */ 
1271     .name = "MS-MPPE-Encryption-Policy", 
1272     .vendor = 311, 
1273     .attr = 7, 
1274     .type = NR_TYPE_OCTETS, 
1275   },
1276   { /* 259 */ 
1277     .name = "MS-MPPE-Encryption-Types", 
1278     .vendor = 311, 
1279     .attr = 8, 
1280     .type = NR_TYPE_OCTETS, 
1281   },
1282   { /* 260 */ 
1283     .name = "MS-CHAP-Domain", 
1284     .vendor = 311, 
1285     .attr = 10, 
1286     .type = NR_TYPE_STRING, 
1287   },
1288   { /* 261 */ 
1289     .name = "MS-CHAP-Challenge", 
1290     .vendor = 311, 
1291     .attr = 11, 
1292     .type = NR_TYPE_OCTETS, 
1293   },
1294   { /* 262 */ 
1295     .name = "MS-CHAP-MPPE-Keys", 
1296     .vendor = 311, 
1297     .attr = 12, 
1298     .type = NR_TYPE_OCTETS, 
1299     .flags = {
1300       .encrypt = FLAG_ENCRYPT_USER_PASSWORD,
1301     },
1302   },
1303   { /* 263 */ 
1304     .name = "MS-MPPE-Send-Key", 
1305     .vendor = 311, 
1306     .attr = 16, 
1307     .type = NR_TYPE_OCTETS, 
1308     .flags = {
1309       .encrypt = FLAG_ENCRYPT_TUNNEL_PASSWORD,
1310     },
1311   },
1312   { /* 264 */ 
1313     .name = "MS-MPPE-Recv-Key", 
1314     .vendor = 311, 
1315     .attr = 17, 
1316     .type = NR_TYPE_OCTETS, 
1317     .flags = {
1318       .encrypt = FLAG_ENCRYPT_TUNNEL_PASSWORD,
1319     },
1320   },
1321   { /* 265 */ 
1322     .name = "MS-CHAP2-Response", 
1323     .vendor = 311, 
1324     .attr = 25, 
1325     .type = NR_TYPE_OCTETS, 
1326   },
1327   { /* 266 */ 
1328     .name = "MS-CHAP2-Success", 
1329     .vendor = 311, 
1330     .attr = 26, 
1331     .type = NR_TYPE_OCTETS, 
1332   },
1333   { /* 267 */ 
1334     .name = "Example-Integer", 
1335     .vendor = 65535, 
1336     .attr = 1, 
1337     .type = NR_TYPE_INTEGER, 
1338     .flags = {
1339       .length = 4,
1340     },
1341   },
1342   { /* 268 */ 
1343     .name = "Example-String", 
1344     .vendor = 65535, 
1345     .attr = 2, 
1346     .type = NR_TYPE_STRING, 
1347   },
1348   { /* 269 */ 
1349     .name = "Example-IP-Address", 
1350     .vendor = 65535, 
1351     .attr = 3, 
1352     .type = NR_TYPE_IPADDR, 
1353     .flags = {
1354       .length = 4,
1355     },
1356   },
1357 };
1358
1359 const int nr_dict_num_attrs = 269;
1360
1361 const int nr_dict_num_names = 149;
1362
1363 const DICT_ATTR *nr_dict_attr_names[] = {
1364     &nr_dict_attrs[45], /* Acct-Authentic */
1365     &nr_dict_attrs[41], /* Acct-Delay-Time */
1366     &nr_dict_attrs[52], /* Acct-Input-Gigawords */
1367     &nr_dict_attrs[42], /* Acct-Input-Octets */
1368     &nr_dict_attrs[47], /* Acct-Input-Packets */
1369     &nr_dict_attrs[85], /* Acct-Interim-Interval */
1370     &nr_dict_attrs[51], /* Acct-Link-Count */
1371     &nr_dict_attrs[50], /* Acct-Multi-Session-Id */
1372     &nr_dict_attrs[53], /* Acct-Output-Gigawords */
1373     &nr_dict_attrs[43], /* Acct-Output-Octets */
1374     &nr_dict_attrs[48], /* Acct-Output-Packets */
1375     &nr_dict_attrs[44], /* Acct-Session-Id */
1376     &nr_dict_attrs[46], /* Acct-Session-Time */
1377     &nr_dict_attrs[40], /* Acct-Status-Type */
1378     &nr_dict_attrs[49], /* Acct-Terminate-Cause */
1379     &nr_dict_attrs[68], /* Acct-Tunnel-Connection */
1380     &nr_dict_attrs[86], /* Acct-Tunnel-Packets-Lost */
1381     &nr_dict_attrs[84], /* ARAP-Challenge-Response */
1382     &nr_dict_attrs[71], /* ARAP-Features */
1383     &nr_dict_attrs[70], /* ARAP-Password */
1384     &nr_dict_attrs[73], /* ARAP-Security */
1385     &nr_dict_attrs[74], /* ARAP-Security-Data */
1386     &nr_dict_attrs[72], /* ARAP-Zone-Access */
1387     &nr_dict_attrs[129], /* Basic-Location-Policy-Rules */
1388     &nr_dict_attrs[20], /* Callback-Id */
1389     &nr_dict_attrs[19], /* Callback-Number */
1390     &nr_dict_attrs[30], /* Called-Station-Id */
1391     &nr_dict_attrs[31], /* Calling-Station-Id */
1392     &nr_dict_attrs[60], /* CHAP-Challenge */
1393     &nr_dict_attrs[3], /* CHAP-Password */
1394     &nr_dict_attrs[89], /* Chargeable-User-Identity */
1395     &nr_dict_attrs[25], /* Class */
1396     &nr_dict_attrs[78], /* Configuration-Token */
1397     &nr_dict_attrs[77], /* Connect-Info */
1398     &nr_dict_attrs[123], /* Delegated-IPv6-Prefix */
1399     &nr_dict_attrs[118], /* Digest-AKA-Auts */
1400     &nr_dict_attrs[111], /* Digest-Algorithm */
1401     &nr_dict_attrs[117], /* Digest-Auth-Param */
1402     &nr_dict_attrs[113], /* Digest-CNonce */
1403     &nr_dict_attrs[119], /* Digest-Domain */
1404     &nr_dict_attrs[112], /* Digest-Entity-Body-Hash */
1405     &nr_dict_attrs[121], /* Digest-HA1 */
1406     &nr_dict_attrs[108], /* Digest-Method */
1407     &nr_dict_attrs[107], /* Digest-Nextnonce */
1408     &nr_dict_attrs[105], /* Digest-Nonce */
1409     &nr_dict_attrs[114], /* Digest-Nonce-Count */
1410     &nr_dict_attrs[116], /* Digest-Opaque */
1411     &nr_dict_attrs[110], /* Digest-Qop */
1412     &nr_dict_attrs[104], /* Digest-Realm */
1413     &nr_dict_attrs[103], /* Digest-Response */
1414     &nr_dict_attrs[106], /* Digest-Response-Auth */
1415     &nr_dict_attrs[120], /* Digest-Stale */
1416     &nr_dict_attrs[109], /* Digest-URI */
1417     &nr_dict_attrs[115], /* Digest-Username */
1418     &nr_dict_attrs[102], /* EAP-Key-Name */
1419     &nr_dict_attrs[79], /* EAP-Message */
1420     &nr_dict_attrs[58], /* Egress-VLAN-Name */
1421     &nr_dict_attrs[56], /* Egress-VLANID */
1422     &nr_dict_attrs[101], /* Error-Cause */
1423     &nr_dict_attrs[55], /* Event-Timestamp */
1424     &nr_dict_attrs[267], /* Example-Integer */
1425     &nr_dict_attrs[269], /* Example-IP-Address */
1426     &nr_dict_attrs[268], /* Example-String */
1427     &nr_dict_attrs[130], /* Extended-Location-Policy-Rules */
1428     &nr_dict_attrs[11], /* Filter-Id */
1429     &nr_dict_attrs[37], /* Framed-AppleTalk-Link */
1430     &nr_dict_attrs[38], /* Framed-AppleTalk-Network */
1431     &nr_dict_attrs[39], /* Framed-AppleTalk-Zone */
1432     &nr_dict_attrs[13], /* Framed-Compression */
1433     &nr_dict_attrs[96], /* Framed-Interface-Id */
1434     &nr_dict_attrs[8], /* Framed-IP-Address */
1435     &nr_dict_attrs[9], /* Framed-IP-Netmask */
1436     &nr_dict_attrs[100], /* Framed-IPv6-Pool */
1437     &nr_dict_attrs[97], /* Framed-IPv6-Prefix */
1438     &nr_dict_attrs[99], /* Framed-IPv6-Route */
1439     &nr_dict_attrs[23], /* Framed-IPX-Network */
1440     &nr_dict_attrs[133], /* Framed-Management */
1441     &nr_dict_attrs[12], /* Framed-MTU */
1442     &nr_dict_attrs[88], /* Framed-Pool */
1443     &nr_dict_attrs[7], /* Framed-Protocol */
1444     &nr_dict_attrs[22], /* Framed-Route */
1445     &nr_dict_attrs[10], /* Framed-Routing */
1446     &nr_dict_attrs[28], /* Idle-Timeout */
1447     &nr_dict_attrs[57], /* Ingress-Filters */
1448     &nr_dict_attrs[131], /* Location-Capable */
1449     &nr_dict_attrs[128], /* Location-Data */
1450     &nr_dict_attrs[127], /* Location-Information */
1451     &nr_dict_attrs[14], /* Login-IP-Host */
1452     &nr_dict_attrs[98], /* Login-IPv6-Host */
1453     &nr_dict_attrs[36], /* Login-LAT-Group */
1454     &nr_dict_attrs[35], /* Login-LAT-Node */
1455     &nr_dict_attrs[63], /* Login-LAT-Port */
1456     &nr_dict_attrs[34], /* Login-LAT-Service */
1457     &nr_dict_attrs[15], /* Login-Service */
1458     &nr_dict_attrs[16], /* Login-TCP-Port */
1459     &nr_dict_attrs[135], /* Management-Policy-Id */
1460     &nr_dict_attrs[136], /* Management-Privilege-Level */
1461     &nr_dict_attrs[134], /* Management-Transport-Protection */
1462     &nr_dict_attrs[80], /* Message-Authenticator */
1463     &nr_dict_attrs[261], /* MS-CHAP-Challenge */
1464     &nr_dict_attrs[260], /* MS-CHAP-Domain */
1465     &nr_dict_attrs[257], /* MS-CHAP-Error */
1466     &nr_dict_attrs[262], /* MS-CHAP-MPPE-Keys */
1467     &nr_dict_attrs[256], /* MS-CHAP-Response */
1468     &nr_dict_attrs[265], /* MS-CHAP2-Response */
1469     &nr_dict_attrs[266], /* MS-CHAP2-Success */
1470     &nr_dict_attrs[258], /* MS-MPPE-Encryption-Policy */
1471     &nr_dict_attrs[259], /* MS-MPPE-Encryption-Types */
1472     &nr_dict_attrs[264], /* MS-MPPE-Recv-Key */
1473     &nr_dict_attrs[263], /* MS-MPPE-Send-Key */
1474     &nr_dict_attrs[92], /* NAS-Filter-Rule */
1475     &nr_dict_attrs[32], /* NAS-Identifier */
1476     &nr_dict_attrs[4], /* NAS-IP-Address */
1477     &nr_dict_attrs[95], /* NAS-IPv6-Address */
1478     &nr_dict_attrs[5], /* NAS-Port */
1479     &nr_dict_attrs[87], /* NAS-Port-Id */
1480     &nr_dict_attrs[61], /* NAS-Port-Type */
1481     &nr_dict_attrs[126], /* Operator-Name */
1482     &nr_dict_attrs[75], /* Password-Retry */
1483     &nr_dict_attrs[143], /* PKM-Auth-Key */
1484     &nr_dict_attrs[138], /* PKM-CA-Cert */
1485     &nr_dict_attrs[139], /* PKM-Config-Settings */
1486     &nr_dict_attrs[140], /* PKM-Cryptosuite-List */
1487     &nr_dict_attrs[142], /* PKM-SA-Descriptor */
1488     &nr_dict_attrs[141], /* PKM-SAID */
1489     &nr_dict_attrs[137], /* PKM-SS-Cert */
1490     &nr_dict_attrs[62], /* Port-Limit */
1491     &nr_dict_attrs[76], /* Prompt */
1492     &nr_dict_attrs[33], /* Proxy-State */
1493     &nr_dict_attrs[18], /* Reply-Message */
1494     &nr_dict_attrs[132], /* Requested-Location-Info */
1495     &nr_dict_attrs[6], /* Service-Type */
1496     &nr_dict_attrs[27], /* Session-Timeout */
1497     &nr_dict_attrs[122], /* SIP-AOR */
1498     &nr_dict_attrs[24], /* State */
1499     &nr_dict_attrs[29], /* Termination-Action */
1500     &nr_dict_attrs[82], /* Tunnel-Assignment-Id */
1501     &nr_dict_attrs[90], /* Tunnel-Client-Auth-Id */
1502     &nr_dict_attrs[66], /* Tunnel-Client-Endpoint */
1503     &nr_dict_attrs[65], /* Tunnel-Medium-Type */
1504     &nr_dict_attrs[69], /* Tunnel-Password */
1505     &nr_dict_attrs[83], /* Tunnel-Preference */
1506     &nr_dict_attrs[81], /* Tunnel-Private-Group-Id */
1507     &nr_dict_attrs[91], /* Tunnel-Server-Auth-Id */
1508     &nr_dict_attrs[67], /* Tunnel-Server-Endpoint */
1509     &nr_dict_attrs[64], /* Tunnel-Type */
1510     &nr_dict_attrs[1], /* User-Name */
1511     &nr_dict_attrs[2], /* User-Password */
1512     &nr_dict_attrs[59], /* User-Priority-Table */
1513     &nr_dict_attrs[26], /* Vendor-Specific */
1514 };
1515