/
tlv_types_generated.go
1013 lines (608 loc) · 13.3 KB
/
tlv_types_generated.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by tlv/internal/gen; DO NOT EDIT.
package tlv
type tlvType0 struct{}
func (t *tlvType0) TypeVal() Type {
return 0
}
func (t *tlvType0) tlv() {}
type TlvType0 = *tlvType0
type tlvType1 struct{}
func (t *tlvType1) TypeVal() Type {
return 1
}
func (t *tlvType1) tlv() {}
type TlvType1 = *tlvType1
type tlvType2 struct{}
func (t *tlvType2) TypeVal() Type {
return 2
}
func (t *tlvType2) tlv() {}
type TlvType2 = *tlvType2
type tlvType3 struct{}
func (t *tlvType3) TypeVal() Type {
return 3
}
func (t *tlvType3) tlv() {}
type TlvType3 = *tlvType3
type tlvType4 struct{}
func (t *tlvType4) TypeVal() Type {
return 4
}
func (t *tlvType4) tlv() {}
type TlvType4 = *tlvType4
type tlvType5 struct{}
func (t *tlvType5) TypeVal() Type {
return 5
}
func (t *tlvType5) tlv() {}
type TlvType5 = *tlvType5
type tlvType6 struct{}
func (t *tlvType6) TypeVal() Type {
return 6
}
func (t *tlvType6) tlv() {}
type TlvType6 = *tlvType6
type tlvType7 struct{}
func (t *tlvType7) TypeVal() Type {
return 7
}
func (t *tlvType7) tlv() {}
type TlvType7 = *tlvType7
type tlvType8 struct{}
func (t *tlvType8) TypeVal() Type {
return 8
}
func (t *tlvType8) tlv() {}
type TlvType8 = *tlvType8
type tlvType9 struct{}
func (t *tlvType9) TypeVal() Type {
return 9
}
func (t *tlvType9) tlv() {}
type TlvType9 = *tlvType9
type tlvType10 struct{}
func (t *tlvType10) TypeVal() Type {
return 10
}
func (t *tlvType10) tlv() {}
type TlvType10 = *tlvType10
type tlvType11 struct{}
func (t *tlvType11) TypeVal() Type {
return 11
}
func (t *tlvType11) tlv() {}
type TlvType11 = *tlvType11
type tlvType12 struct{}
func (t *tlvType12) TypeVal() Type {
return 12
}
func (t *tlvType12) tlv() {}
type TlvType12 = *tlvType12
type tlvType13 struct{}
func (t *tlvType13) TypeVal() Type {
return 13
}
func (t *tlvType13) tlv() {}
type TlvType13 = *tlvType13
type tlvType14 struct{}
func (t *tlvType14) TypeVal() Type {
return 14
}
func (t *tlvType14) tlv() {}
type TlvType14 = *tlvType14
type tlvType15 struct{}
func (t *tlvType15) TypeVal() Type {
return 15
}
func (t *tlvType15) tlv() {}
type TlvType15 = *tlvType15
type tlvType16 struct{}
func (t *tlvType16) TypeVal() Type {
return 16
}
func (t *tlvType16) tlv() {}
type TlvType16 = *tlvType16
type tlvType17 struct{}
func (t *tlvType17) TypeVal() Type {
return 17
}
func (t *tlvType17) tlv() {}
type TlvType17 = *tlvType17
type tlvType18 struct{}
func (t *tlvType18) TypeVal() Type {
return 18
}
func (t *tlvType18) tlv() {}
type TlvType18 = *tlvType18
type tlvType19 struct{}
func (t *tlvType19) TypeVal() Type {
return 19
}
func (t *tlvType19) tlv() {}
type TlvType19 = *tlvType19
type tlvType20 struct{}
func (t *tlvType20) TypeVal() Type {
return 20
}
func (t *tlvType20) tlv() {}
type TlvType20 = *tlvType20
type tlvType21 struct{}
func (t *tlvType21) TypeVal() Type {
return 21
}
func (t *tlvType21) tlv() {}
type TlvType21 = *tlvType21
type tlvType22 struct{}
func (t *tlvType22) TypeVal() Type {
return 22
}
func (t *tlvType22) tlv() {}
type TlvType22 = *tlvType22
type tlvType23 struct{}
func (t *tlvType23) TypeVal() Type {
return 23
}
func (t *tlvType23) tlv() {}
type TlvType23 = *tlvType23
type tlvType24 struct{}
func (t *tlvType24) TypeVal() Type {
return 24
}
func (t *tlvType24) tlv() {}
type TlvType24 = *tlvType24
type tlvType25 struct{}
func (t *tlvType25) TypeVal() Type {
return 25
}
func (t *tlvType25) tlv() {}
type TlvType25 = *tlvType25
type tlvType26 struct{}
func (t *tlvType26) TypeVal() Type {
return 26
}
func (t *tlvType26) tlv() {}
type TlvType26 = *tlvType26
type tlvType27 struct{}
func (t *tlvType27) TypeVal() Type {
return 27
}
func (t *tlvType27) tlv() {}
type TlvType27 = *tlvType27
type tlvType28 struct{}
func (t *tlvType28) TypeVal() Type {
return 28
}
func (t *tlvType28) tlv() {}
type TlvType28 = *tlvType28
type tlvType29 struct{}
func (t *tlvType29) TypeVal() Type {
return 29
}
func (t *tlvType29) tlv() {}
type TlvType29 = *tlvType29
type tlvType30 struct{}
func (t *tlvType30) TypeVal() Type {
return 30
}
func (t *tlvType30) tlv() {}
type TlvType30 = *tlvType30
type tlvType31 struct{}
func (t *tlvType31) TypeVal() Type {
return 31
}
func (t *tlvType31) tlv() {}
type TlvType31 = *tlvType31
type tlvType32 struct{}
func (t *tlvType32) TypeVal() Type {
return 32
}
func (t *tlvType32) tlv() {}
type TlvType32 = *tlvType32
type tlvType33 struct{}
func (t *tlvType33) TypeVal() Type {
return 33
}
func (t *tlvType33) tlv() {}
type TlvType33 = *tlvType33
type tlvType34 struct{}
func (t *tlvType34) TypeVal() Type {
return 34
}
func (t *tlvType34) tlv() {}
type TlvType34 = *tlvType34
type tlvType35 struct{}
func (t *tlvType35) TypeVal() Type {
return 35
}
func (t *tlvType35) tlv() {}
type TlvType35 = *tlvType35
type tlvType36 struct{}
func (t *tlvType36) TypeVal() Type {
return 36
}
func (t *tlvType36) tlv() {}
type TlvType36 = *tlvType36
type tlvType37 struct{}
func (t *tlvType37) TypeVal() Type {
return 37
}
func (t *tlvType37) tlv() {}
type TlvType37 = *tlvType37
type tlvType38 struct{}
func (t *tlvType38) TypeVal() Type {
return 38
}
func (t *tlvType38) tlv() {}
type TlvType38 = *tlvType38
type tlvType39 struct{}
func (t *tlvType39) TypeVal() Type {
return 39
}
func (t *tlvType39) tlv() {}
type TlvType39 = *tlvType39
type tlvType40 struct{}
func (t *tlvType40) TypeVal() Type {
return 40
}
func (t *tlvType40) tlv() {}
type TlvType40 = *tlvType40
type tlvType41 struct{}
func (t *tlvType41) TypeVal() Type {
return 41
}
func (t *tlvType41) tlv() {}
type TlvType41 = *tlvType41
type tlvType42 struct{}
func (t *tlvType42) TypeVal() Type {
return 42
}
func (t *tlvType42) tlv() {}
type TlvType42 = *tlvType42
type tlvType43 struct{}
func (t *tlvType43) TypeVal() Type {
return 43
}
func (t *tlvType43) tlv() {}
type TlvType43 = *tlvType43
type tlvType44 struct{}
func (t *tlvType44) TypeVal() Type {
return 44
}
func (t *tlvType44) tlv() {}
type TlvType44 = *tlvType44
type tlvType45 struct{}
func (t *tlvType45) TypeVal() Type {
return 45
}
func (t *tlvType45) tlv() {}
type TlvType45 = *tlvType45
type tlvType46 struct{}
func (t *tlvType46) TypeVal() Type {
return 46
}
func (t *tlvType46) tlv() {}
type TlvType46 = *tlvType46
type tlvType47 struct{}
func (t *tlvType47) TypeVal() Type {
return 47
}
func (t *tlvType47) tlv() {}
type TlvType47 = *tlvType47
type tlvType48 struct{}
func (t *tlvType48) TypeVal() Type {
return 48
}
func (t *tlvType48) tlv() {}
type TlvType48 = *tlvType48
type tlvType49 struct{}
func (t *tlvType49) TypeVal() Type {
return 49
}
func (t *tlvType49) tlv() {}
type TlvType49 = *tlvType49
type tlvType50 struct{}
func (t *tlvType50) TypeVal() Type {
return 50
}
func (t *tlvType50) tlv() {}
type TlvType50 = *tlvType50
type tlvType51 struct{}
func (t *tlvType51) TypeVal() Type {
return 51
}
func (t *tlvType51) tlv() {}
type TlvType51 = *tlvType51
type tlvType52 struct{}
func (t *tlvType52) TypeVal() Type {
return 52
}
func (t *tlvType52) tlv() {}
type TlvType52 = *tlvType52
type tlvType53 struct{}
func (t *tlvType53) TypeVal() Type {
return 53
}
func (t *tlvType53) tlv() {}
type TlvType53 = *tlvType53
type tlvType54 struct{}
func (t *tlvType54) TypeVal() Type {
return 54
}
func (t *tlvType54) tlv() {}
type TlvType54 = *tlvType54
type tlvType55 struct{}
func (t *tlvType55) TypeVal() Type {
return 55
}
func (t *tlvType55) tlv() {}
type TlvType55 = *tlvType55
type tlvType56 struct{}
func (t *tlvType56) TypeVal() Type {
return 56
}
func (t *tlvType56) tlv() {}
type TlvType56 = *tlvType56
type tlvType57 struct{}
func (t *tlvType57) TypeVal() Type {
return 57
}
func (t *tlvType57) tlv() {}
type TlvType57 = *tlvType57
type tlvType58 struct{}
func (t *tlvType58) TypeVal() Type {
return 58
}
func (t *tlvType58) tlv() {}
type TlvType58 = *tlvType58
type tlvType59 struct{}
func (t *tlvType59) TypeVal() Type {
return 59
}
func (t *tlvType59) tlv() {}
type TlvType59 = *tlvType59
type tlvType60 struct{}
func (t *tlvType60) TypeVal() Type {
return 60
}
func (t *tlvType60) tlv() {}
type TlvType60 = *tlvType60
type tlvType61 struct{}
func (t *tlvType61) TypeVal() Type {
return 61
}
func (t *tlvType61) tlv() {}
type TlvType61 = *tlvType61
type tlvType62 struct{}
func (t *tlvType62) TypeVal() Type {
return 62
}
func (t *tlvType62) tlv() {}
type TlvType62 = *tlvType62
type tlvType63 struct{}
func (t *tlvType63) TypeVal() Type {
return 63
}
func (t *tlvType63) tlv() {}
type TlvType63 = *tlvType63
type tlvType64 struct{}
func (t *tlvType64) TypeVal() Type {
return 64
}
func (t *tlvType64) tlv() {}
type TlvType64 = *tlvType64
type tlvType65 struct{}
func (t *tlvType65) TypeVal() Type {
return 65
}
func (t *tlvType65) tlv() {}
type TlvType65 = *tlvType65
type tlvType66 struct{}
func (t *tlvType66) TypeVal() Type {
return 66
}
func (t *tlvType66) tlv() {}
type TlvType66 = *tlvType66
type tlvType67 struct{}
func (t *tlvType67) TypeVal() Type {
return 67
}
func (t *tlvType67) tlv() {}
type TlvType67 = *tlvType67
type tlvType68 struct{}
func (t *tlvType68) TypeVal() Type {
return 68
}
func (t *tlvType68) tlv() {}
type TlvType68 = *tlvType68
type tlvType69 struct{}
func (t *tlvType69) TypeVal() Type {
return 69
}
func (t *tlvType69) tlv() {}
type TlvType69 = *tlvType69
type tlvType70 struct{}
func (t *tlvType70) TypeVal() Type {
return 70
}
func (t *tlvType70) tlv() {}
type TlvType70 = *tlvType70
type tlvType71 struct{}
func (t *tlvType71) TypeVal() Type {
return 71
}
func (t *tlvType71) tlv() {}
type TlvType71 = *tlvType71
type tlvType72 struct{}
func (t *tlvType72) TypeVal() Type {
return 72
}
func (t *tlvType72) tlv() {}
type TlvType72 = *tlvType72
type tlvType73 struct{}
func (t *tlvType73) TypeVal() Type {
return 73
}
func (t *tlvType73) tlv() {}
type TlvType73 = *tlvType73
type tlvType74 struct{}
func (t *tlvType74) TypeVal() Type {
return 74
}
func (t *tlvType74) tlv() {}
type TlvType74 = *tlvType74
type tlvType75 struct{}
func (t *tlvType75) TypeVal() Type {
return 75
}
func (t *tlvType75) tlv() {}
type TlvType75 = *tlvType75
type tlvType76 struct{}
func (t *tlvType76) TypeVal() Type {
return 76
}
func (t *tlvType76) tlv() {}
type TlvType76 = *tlvType76
type tlvType77 struct{}
func (t *tlvType77) TypeVal() Type {
return 77
}
func (t *tlvType77) tlv() {}
type TlvType77 = *tlvType77
type tlvType78 struct{}
func (t *tlvType78) TypeVal() Type {
return 78
}
func (t *tlvType78) tlv() {}
type TlvType78 = *tlvType78
type tlvType79 struct{}
func (t *tlvType79) TypeVal() Type {
return 79
}
func (t *tlvType79) tlv() {}
type TlvType79 = *tlvType79
type tlvType80 struct{}
func (t *tlvType80) TypeVal() Type {
return 80
}
func (t *tlvType80) tlv() {}
type TlvType80 = *tlvType80
type tlvType81 struct{}
func (t *tlvType81) TypeVal() Type {
return 81
}
func (t *tlvType81) tlv() {}
type TlvType81 = *tlvType81
type tlvType82 struct{}
func (t *tlvType82) TypeVal() Type {
return 82
}
func (t *tlvType82) tlv() {}
type TlvType82 = *tlvType82
type tlvType83 struct{}
func (t *tlvType83) TypeVal() Type {
return 83
}
func (t *tlvType83) tlv() {}
type TlvType83 = *tlvType83
type tlvType84 struct{}
func (t *tlvType84) TypeVal() Type {
return 84
}
func (t *tlvType84) tlv() {}
type TlvType84 = *tlvType84
type tlvType85 struct{}
func (t *tlvType85) TypeVal() Type {
return 85
}
func (t *tlvType85) tlv() {}
type TlvType85 = *tlvType85
type tlvType86 struct{}
func (t *tlvType86) TypeVal() Type {
return 86
}
func (t *tlvType86) tlv() {}
type TlvType86 = *tlvType86
type tlvType87 struct{}
func (t *tlvType87) TypeVal() Type {
return 87
}
func (t *tlvType87) tlv() {}
type TlvType87 = *tlvType87
type tlvType88 struct{}
func (t *tlvType88) TypeVal() Type {
return 88
}
func (t *tlvType88) tlv() {}
type TlvType88 = *tlvType88
type tlvType89 struct{}
func (t *tlvType89) TypeVal() Type {
return 89
}
func (t *tlvType89) tlv() {}
type TlvType89 = *tlvType89
type tlvType90 struct{}
func (t *tlvType90) TypeVal() Type {
return 90
}
func (t *tlvType90) tlv() {}
type TlvType90 = *tlvType90
type tlvType91 struct{}
func (t *tlvType91) TypeVal() Type {
return 91
}
func (t *tlvType91) tlv() {}
type TlvType91 = *tlvType91
type tlvType92 struct{}
func (t *tlvType92) TypeVal() Type {
return 92
}
func (t *tlvType92) tlv() {}
type TlvType92 = *tlvType92
type tlvType93 struct{}
func (t *tlvType93) TypeVal() Type {
return 93
}
func (t *tlvType93) tlv() {}
type TlvType93 = *tlvType93
type tlvType94 struct{}
func (t *tlvType94) TypeVal() Type {
return 94
}
func (t *tlvType94) tlv() {}
type TlvType94 = *tlvType94
type tlvType95 struct{}
func (t *tlvType95) TypeVal() Type {
return 95
}
func (t *tlvType95) tlv() {}
type TlvType95 = *tlvType95
type tlvType96 struct{}
func (t *tlvType96) TypeVal() Type {
return 96
}
func (t *tlvType96) tlv() {}
type TlvType96 = *tlvType96
type tlvType97 struct{}
func (t *tlvType97) TypeVal() Type {
return 97
}
func (t *tlvType97) tlv() {}
type TlvType97 = *tlvType97
type tlvType98 struct{}
func (t *tlvType98) TypeVal() Type {
return 98
}
func (t *tlvType98) tlv() {}
type TlvType98 = *tlvType98
type tlvType99 struct{}
func (t *tlvType99) TypeVal() Type {
return 99
}