Add support for string types
[govpp.git] / examples / bin_api / maps / maps.ba.go
1 // Code generated by GoVPP binapi-generator. DO NOT EDIT.
2 //  source: map.api.json
3
4 /*
5  Package maps is a generated from VPP binary API module 'map'.
6
7  It contains following objects:
8          32 messages
9           5 types
10           2 aliases
11           1 enum
12           1 union
13          16 services
14
15 */
16 package maps
17
18 import "git.fd.io/govpp.git/api"
19 import "github.com/lunixbochs/struc"
20 import "bytes"
21
22 // Reference imports to suppress errors if they are not otherwise used.
23 var _ = api.RegisterMessage
24 var _ = struc.Pack
25 var _ = bytes.NewBuffer
26
27 // Services represents VPP binary API services:
28 //
29 //      "services": {
30 //          "map_param_set_fragmentation": {
31 //              "reply": "map_param_set_fragmentation_reply"
32 //          },
33 //          "map_param_add_del_pre_resolve": {
34 //              "reply": "map_param_add_del_pre_resolve_reply"
35 //          },
36 //          "map_param_set_tcp": {
37 //              "reply": "map_param_set_tcp_reply"
38 //          },
39 //          "map_rule_dump": {
40 //              "reply": "map_rule_details",
41 //              "stream": true
42 //          },
43 //          "map_if_enable_disable": {
44 //              "reply": "map_if_enable_disable_reply"
45 //          },
46 //          "map_param_set_icmp6": {
47 //              "reply": "map_param_set_icmp6_reply"
48 //          },
49 //          "map_add_del_rule": {
50 //              "reply": "map_add_del_rule_reply"
51 //          },
52 //          "map_domain_dump": {
53 //              "reply": "map_domain_details",
54 //              "stream": true
55 //          },
56 //          "map_param_get": {
57 //              "reply": "map_param_get_reply"
58 //          },
59 //          "map_param_set_icmp": {
60 //              "reply": "map_param_set_icmp_reply"
61 //          },
62 //          "map_add_domain": {
63 //              "reply": "map_add_domain_reply"
64 //          },
65 //          "map_summary_stats": {
66 //              "reply": "map_summary_stats_reply"
67 //          },
68 //          "map_param_set_traffic_class": {
69 //              "reply": "map_param_set_traffic_class_reply"
70 //          },
71 //          "map_del_domain": {
72 //              "reply": "map_del_domain_reply"
73 //          },
74 //          "map_param_set_reassembly": {
75 //              "reply": "map_param_set_reassembly_reply"
76 //          },
77 //          "map_param_set_security_check": {
78 //              "reply": "map_param_set_security_check_reply"
79 //          }
80 //      },
81 //
82 type Services interface {
83         DumpMapDomain(*MapDomainDump) ([]*MapDomainDetails, error)
84         DumpMapRule(*MapRuleDump) ([]*MapRuleDetails, error)
85         MapAddDelRule(*MapAddDelRule) (*MapAddDelRuleReply, error)
86         MapAddDomain(*MapAddDomain) (*MapAddDomainReply, error)
87         MapDelDomain(*MapDelDomain) (*MapDelDomainReply, error)
88         MapIfEnableDisable(*MapIfEnableDisable) (*MapIfEnableDisableReply, error)
89         MapParamAddDelPreResolve(*MapParamAddDelPreResolve) (*MapParamAddDelPreResolveReply, error)
90         MapParamGet(*MapParamGet) (*MapParamGetReply, error)
91         MapParamSetFragmentation(*MapParamSetFragmentation) (*MapParamSetFragmentationReply, error)
92         MapParamSetICMP(*MapParamSetICMP) (*MapParamSetICMPReply, error)
93         MapParamSetICMP6(*MapParamSetICMP6) (*MapParamSetICMP6Reply, error)
94         MapParamSetReassembly(*MapParamSetReassembly) (*MapParamSetReassemblyReply, error)
95         MapParamSetSecurityCheck(*MapParamSetSecurityCheck) (*MapParamSetSecurityCheckReply, error)
96         MapParamSetTCP(*MapParamSetTCP) (*MapParamSetTCPReply, error)
97         MapParamSetTrafficClass(*MapParamSetTrafficClass) (*MapParamSetTrafficClassReply, error)
98         MapSummaryStats(*MapSummaryStats) (*MapSummaryStatsReply, error)
99 }
100
101 /* Enums */
102
103 // AddressFamily represents VPP binary API enum 'address_family':
104 //
105 //      "address_family",
106 //      [
107 //          "ADDRESS_IP4",
108 //          0
109 //      ],
110 //      [
111 //          "ADDRESS_IP6",
112 //          1
113 //      ],
114 //      {
115 //          "enumtype": "u32"
116 //      }
117 //
118 type AddressFamily uint32
119
120 const (
121         ADDRESS_IP4 AddressFamily = 0
122         ADDRESS_IP6 AddressFamily = 1
123 )
124
125 /* Aliases */
126
127 // IP4Address represents VPP binary API alias 'ip4_address':
128 //
129 //      "ip4_address": {
130 //          "length": 4,
131 //          "type": "u8"
132 //      }
133 //
134 type IP4Address [4]uint8
135
136 // IP6Address represents VPP binary API alias 'ip6_address':
137 //
138 //      "ip6_address": {
139 //          "length": 16,
140 //          "type": "u8"
141 //      },
142 //
143 type IP6Address [16]uint8
144
145 /* Types */
146
147 // Address represents VPP binary API type 'address':
148 //
149 //      "address",
150 //      [
151 //          "vl_api_address_family_t",
152 //          "af"
153 //      ],
154 //      [
155 //          "vl_api_address_union_t",
156 //          "un"
157 //      ],
158 //      {
159 //          "crc": "0x09f11671"
160 //      }
161 //
162 type Address struct {
163         Af AddressFamily
164         Un AddressUnion
165 }
166
167 func (*Address) GetTypeName() string {
168         return "address"
169 }
170 func (*Address) GetCrcString() string {
171         return "09f11671"
172 }
173
174 // Prefix represents VPP binary API type 'prefix':
175 //
176 //      "prefix",
177 //      [
178 //          "vl_api_address_t",
179 //          "address"
180 //      ],
181 //      [
182 //          "u8",
183 //          "address_length"
184 //      ],
185 //      {
186 //          "crc": "0x0403aebc"
187 //      }
188 //
189 type Prefix struct {
190         Address       Address
191         AddressLength uint8
192 }
193
194 func (*Prefix) GetTypeName() string {
195         return "prefix"
196 }
197 func (*Prefix) GetCrcString() string {
198         return "0403aebc"
199 }
200
201 // Mprefix represents VPP binary API type 'mprefix':
202 //
203 //      "mprefix",
204 //      [
205 //          "vl_api_address_family_t",
206 //          "af"
207 //      ],
208 //      [
209 //          "u16",
210 //          "grp_address_length"
211 //      ],
212 //      [
213 //          "vl_api_address_union_t",
214 //          "grp_address"
215 //      ],
216 //      [
217 //          "vl_api_address_union_t",
218 //          "src_address"
219 //      ],
220 //      {
221 //          "crc": "0x1c4cba05"
222 //      }
223 //
224 type Mprefix struct {
225         Af               AddressFamily
226         GrpAddressLength uint16
227         GrpAddress       AddressUnion
228         SrcAddress       AddressUnion
229 }
230
231 func (*Mprefix) GetTypeName() string {
232         return "mprefix"
233 }
234 func (*Mprefix) GetCrcString() string {
235         return "1c4cba05"
236 }
237
238 // IP6Prefix represents VPP binary API type 'ip6_prefix':
239 //
240 //      "ip6_prefix",
241 //      [
242 //          "vl_api_ip6_address_t",
243 //          "prefix"
244 //      ],
245 //      [
246 //          "u8",
247 //          "len"
248 //      ],
249 //      {
250 //          "crc": "0x779fd64f"
251 //      }
252 //
253 type IP6Prefix struct {
254         Prefix IP6Address
255         Len    uint8
256 }
257
258 func (*IP6Prefix) GetTypeName() string {
259         return "ip6_prefix"
260 }
261 func (*IP6Prefix) GetCrcString() string {
262         return "779fd64f"
263 }
264
265 // IP4Prefix represents VPP binary API type 'ip4_prefix':
266 //
267 //      "ip4_prefix",
268 //      [
269 //          "vl_api_ip4_address_t",
270 //          "prefix"
271 //      ],
272 //      [
273 //          "u8",
274 //          "len"
275 //      ],
276 //      {
277 //          "crc": "0xea8dc11d"
278 //      }
279 //
280 type IP4Prefix struct {
281         Prefix IP4Address
282         Len    uint8
283 }
284
285 func (*IP4Prefix) GetTypeName() string {
286         return "ip4_prefix"
287 }
288 func (*IP4Prefix) GetCrcString() string {
289         return "ea8dc11d"
290 }
291
292 /* Unions */
293
294 // AddressUnion represents VPP binary API union 'address_union':
295 //
296 //      "address_union",
297 //      [
298 //          "vl_api_ip4_address_t",
299 //          "ip4"
300 //      ],
301 //      [
302 //          "vl_api_ip6_address_t",
303 //          "ip6"
304 //      ],
305 //      {
306 //          "crc": "0xd68a2fb4"
307 //      }
308 //
309 type AddressUnion struct {
310         Union_data [16]byte
311 }
312
313 func (*AddressUnion) GetTypeName() string {
314         return "address_union"
315 }
316 func (*AddressUnion) GetCrcString() string {
317         return "d68a2fb4"
318 }
319
320 func (u *AddressUnion) SetIP4(a IP4Address) {
321         var b = new(bytes.Buffer)
322         if err := struc.Pack(b, &a); err != nil {
323                 return
324         }
325         copy(u.Union_data[:], b.Bytes())
326 }
327 func (u *AddressUnion) GetIP4() (a IP4Address) {
328         var b = bytes.NewReader(u.Union_data[:])
329         struc.Unpack(b, &a)
330         return
331 }
332
333 func (u *AddressUnion) SetIP6(a IP6Address) {
334         var b = new(bytes.Buffer)
335         if err := struc.Pack(b, &a); err != nil {
336                 return
337         }
338         copy(u.Union_data[:], b.Bytes())
339 }
340 func (u *AddressUnion) GetIP6() (a IP6Address) {
341         var b = bytes.NewReader(u.Union_data[:])
342         struc.Unpack(b, &a)
343         return
344 }
345
346 /* Messages */
347
348 // MapAddDomain represents VPP binary API message 'map_add_domain':
349 //
350 //      "map_add_domain",
351 //      [
352 //          "u16",
353 //          "_vl_msg_id"
354 //      ],
355 //      [
356 //          "u32",
357 //          "client_index"
358 //      ],
359 //      [
360 //          "u32",
361 //          "context"
362 //      ],
363 //      [
364 //          "vl_api_ip6_prefix_t",
365 //          "ip6_prefix"
366 //      ],
367 //      [
368 //          "vl_api_ip4_prefix_t",
369 //          "ip4_prefix"
370 //      ],
371 //      [
372 //          "vl_api_ip6_prefix_t",
373 //          "ip6_src"
374 //      ],
375 //      [
376 //          "u8",
377 //          "ea_bits_len"
378 //      ],
379 //      [
380 //          "u8",
381 //          "psid_offset"
382 //      ],
383 //      [
384 //          "u8",
385 //          "psid_length"
386 //      ],
387 //      [
388 //          "u16",
389 //          "mtu"
390 //      ],
391 //      {
392 //          "crc": "0xa9358068"
393 //      }
394 //
395 type MapAddDomain struct {
396         IP6Prefix  IP6Prefix
397         IP4Prefix  IP4Prefix
398         IP6Src     IP6Prefix
399         EaBitsLen  uint8
400         PsidOffset uint8
401         PsidLength uint8
402         Mtu        uint16
403 }
404
405 func (*MapAddDomain) GetMessageName() string {
406         return "map_add_domain"
407 }
408 func (*MapAddDomain) GetCrcString() string {
409         return "a9358068"
410 }
411 func (*MapAddDomain) GetMessageType() api.MessageType {
412         return api.RequestMessage
413 }
414
415 // MapAddDomainReply represents VPP binary API message 'map_add_domain_reply':
416 //
417 //      "map_add_domain_reply",
418 //      [
419 //          "u16",
420 //          "_vl_msg_id"
421 //      ],
422 //      [
423 //          "u32",
424 //          "context"
425 //      ],
426 //      [
427 //          "u32",
428 //          "index"
429 //      ],
430 //      [
431 //          "i32",
432 //          "retval"
433 //      ],
434 //      {
435 //          "crc": "0x3e6d4e2c"
436 //      }
437 //
438 type MapAddDomainReply struct {
439         Index  uint32
440         Retval int32
441 }
442
443 func (*MapAddDomainReply) GetMessageName() string {
444         return "map_add_domain_reply"
445 }
446 func (*MapAddDomainReply) GetCrcString() string {
447         return "3e6d4e2c"
448 }
449 func (*MapAddDomainReply) GetMessageType() api.MessageType {
450         return api.ReplyMessage
451 }
452
453 // MapDelDomain represents VPP binary API message 'map_del_domain':
454 //
455 //      "map_del_domain",
456 //      [
457 //          "u16",
458 //          "_vl_msg_id"
459 //      ],
460 //      [
461 //          "u32",
462 //          "client_index"
463 //      ],
464 //      [
465 //          "u32",
466 //          "context"
467 //      ],
468 //      [
469 //          "u32",
470 //          "index"
471 //      ],
472 //      {
473 //          "crc": "0x8ac76db6"
474 //      }
475 //
476 type MapDelDomain struct {
477         Index uint32
478 }
479
480 func (*MapDelDomain) GetMessageName() string {
481         return "map_del_domain"
482 }
483 func (*MapDelDomain) GetCrcString() string {
484         return "8ac76db6"
485 }
486 func (*MapDelDomain) GetMessageType() api.MessageType {
487         return api.RequestMessage
488 }
489
490 // MapDelDomainReply represents VPP binary API message 'map_del_domain_reply':
491 //
492 //      "map_del_domain_reply",
493 //      [
494 //          "u16",
495 //          "_vl_msg_id"
496 //      ],
497 //      [
498 //          "u32",
499 //          "context"
500 //      ],
501 //      [
502 //          "i32",
503 //          "retval"
504 //      ],
505 //      {
506 //          "crc": "0xe8d4e804"
507 //      }
508 //
509 type MapDelDomainReply struct {
510         Retval int32
511 }
512
513 func (*MapDelDomainReply) GetMessageName() string {
514         return "map_del_domain_reply"
515 }
516 func (*MapDelDomainReply) GetCrcString() string {
517         return "e8d4e804"
518 }
519 func (*MapDelDomainReply) GetMessageType() api.MessageType {
520         return api.ReplyMessage
521 }
522
523 // MapAddDelRule represents VPP binary API message 'map_add_del_rule':
524 //
525 //      "map_add_del_rule",
526 //      [
527 //          "u16",
528 //          "_vl_msg_id"
529 //      ],
530 //      [
531 //          "u32",
532 //          "client_index"
533 //      ],
534 //      [
535 //          "u32",
536 //          "context"
537 //      ],
538 //      [
539 //          "u32",
540 //          "index"
541 //      ],
542 //      [
543 //          "bool",
544 //          "is_add"
545 //      ],
546 //      [
547 //          "vl_api_ip6_address_t",
548 //          "ip6_dst"
549 //      ],
550 //      [
551 //          "u16",
552 //          "psid"
553 //      ],
554 //      {
555 //          "crc": "0xe6132040"
556 //      }
557 //
558 type MapAddDelRule struct {
559         Index  uint32
560         IsAdd  bool
561         IP6Dst IP6Address
562         Psid   uint16
563 }
564
565 func (*MapAddDelRule) GetMessageName() string {
566         return "map_add_del_rule"
567 }
568 func (*MapAddDelRule) GetCrcString() string {
569         return "e6132040"
570 }
571 func (*MapAddDelRule) GetMessageType() api.MessageType {
572         return api.RequestMessage
573 }
574
575 // MapAddDelRuleReply represents VPP binary API message 'map_add_del_rule_reply':
576 //
577 //      "map_add_del_rule_reply",
578 //      [
579 //          "u16",
580 //          "_vl_msg_id"
581 //      ],
582 //      [
583 //          "u32",
584 //          "context"
585 //      ],
586 //      [
587 //          "i32",
588 //          "retval"
589 //      ],
590 //      {
591 //          "crc": "0xe8d4e804"
592 //      }
593 //
594 type MapAddDelRuleReply struct {
595         Retval int32
596 }
597
598 func (*MapAddDelRuleReply) GetMessageName() string {
599         return "map_add_del_rule_reply"
600 }
601 func (*MapAddDelRuleReply) GetCrcString() string {
602         return "e8d4e804"
603 }
604 func (*MapAddDelRuleReply) GetMessageType() api.MessageType {
605         return api.ReplyMessage
606 }
607
608 // MapDomainDump represents VPP binary API message 'map_domain_dump':
609 //
610 //      "map_domain_dump",
611 //      [
612 //          "u16",
613 //          "_vl_msg_id"
614 //      ],
615 //      [
616 //          "u32",
617 //          "client_index"
618 //      ],
619 //      [
620 //          "u32",
621 //          "context"
622 //      ],
623 //      {
624 //          "crc": "0x51077d14"
625 //      }
626 //
627 type MapDomainDump struct{}
628
629 func (*MapDomainDump) GetMessageName() string {
630         return "map_domain_dump"
631 }
632 func (*MapDomainDump) GetCrcString() string {
633         return "51077d14"
634 }
635 func (*MapDomainDump) GetMessageType() api.MessageType {
636         return api.RequestMessage
637 }
638
639 // MapDomainDetails represents VPP binary API message 'map_domain_details':
640 //
641 //      "map_domain_details",
642 //      [
643 //          "u16",
644 //          "_vl_msg_id"
645 //      ],
646 //      [
647 //          "u32",
648 //          "context"
649 //      ],
650 //      [
651 //          "u32",
652 //          "domain_index"
653 //      ],
654 //      [
655 //          "vl_api_ip6_prefix_t",
656 //          "ip6_prefix"
657 //      ],
658 //      [
659 //          "vl_api_ip4_prefix_t",
660 //          "ip4_prefix"
661 //      ],
662 //      [
663 //          "vl_api_ip6_prefix_t",
664 //          "ip6_src"
665 //      ],
666 //      [
667 //          "u8",
668 //          "ea_bits_len"
669 //      ],
670 //      [
671 //          "u8",
672 //          "psid_offset"
673 //      ],
674 //      [
675 //          "u8",
676 //          "psid_length"
677 //      ],
678 //      [
679 //          "u8",
680 //          "flags"
681 //      ],
682 //      [
683 //          "u16",
684 //          "mtu"
685 //      ],
686 //      {
687 //          "crc": "0x2a17dcb8"
688 //      }
689 //
690 type MapDomainDetails struct {
691         DomainIndex uint32
692         IP6Prefix   IP6Prefix
693         IP4Prefix   IP4Prefix
694         IP6Src      IP6Prefix
695         EaBitsLen   uint8
696         PsidOffset  uint8
697         PsidLength  uint8
698         Flags       uint8
699         Mtu         uint16
700 }
701
702 func (*MapDomainDetails) GetMessageName() string {
703         return "map_domain_details"
704 }
705 func (*MapDomainDetails) GetCrcString() string {
706         return "2a17dcb8"
707 }
708 func (*MapDomainDetails) GetMessageType() api.MessageType {
709         return api.ReplyMessage
710 }
711
712 // MapRuleDump represents VPP binary API message 'map_rule_dump':
713 //
714 //      "map_rule_dump",
715 //      [
716 //          "u16",
717 //          "_vl_msg_id"
718 //      ],
719 //      [
720 //          "u32",
721 //          "client_index"
722 //      ],
723 //      [
724 //          "u32",
725 //          "context"
726 //      ],
727 //      [
728 //          "u32",
729 //          "domain_index"
730 //      ],
731 //      {
732 //          "crc": "0xe43e6ff6"
733 //      }
734 //
735 type MapRuleDump struct {
736         DomainIndex uint32
737 }
738
739 func (*MapRuleDump) GetMessageName() string {
740         return "map_rule_dump"
741 }
742 func (*MapRuleDump) GetCrcString() string {
743         return "e43e6ff6"
744 }
745 func (*MapRuleDump) GetMessageType() api.MessageType {
746         return api.RequestMessage
747 }
748
749 // MapRuleDetails represents VPP binary API message 'map_rule_details':
750 //
751 //      "map_rule_details",
752 //      [
753 //          "u16",
754 //          "_vl_msg_id"
755 //      ],
756 //      [
757 //          "u32",
758 //          "context"
759 //      ],
760 //      [
761 //          "vl_api_ip6_address_t",
762 //          "ip6_dst"
763 //      ],
764 //      [
765 //          "u16",
766 //          "psid"
767 //      ],
768 //      {
769 //          "crc": "0x4f932665"
770 //      }
771 //
772 type MapRuleDetails struct {
773         IP6Dst IP6Address
774         Psid   uint16
775 }
776
777 func (*MapRuleDetails) GetMessageName() string {
778         return "map_rule_details"
779 }
780 func (*MapRuleDetails) GetCrcString() string {
781         return "4f932665"
782 }
783 func (*MapRuleDetails) GetMessageType() api.MessageType {
784         return api.ReplyMessage
785 }
786
787 // MapIfEnableDisable represents VPP binary API message 'map_if_enable_disable':
788 //
789 //      "map_if_enable_disable",
790 //      [
791 //          "u16",
792 //          "_vl_msg_id"
793 //      ],
794 //      [
795 //          "u32",
796 //          "client_index"
797 //      ],
798 //      [
799 //          "u32",
800 //          "context"
801 //      ],
802 //      [
803 //          "u32",
804 //          "sw_if_index"
805 //      ],
806 //      [
807 //          "bool",
808 //          "is_enable"
809 //      ],
810 //      [
811 //          "bool",
812 //          "is_translation"
813 //      ],
814 //      {
815 //          "crc": "0x61a30cd9"
816 //      }
817 //
818 type MapIfEnableDisable struct {
819         SwIfIndex     uint32
820         IsEnable      bool
821         IsTranslation bool
822 }
823
824 func (*MapIfEnableDisable) GetMessageName() string {
825         return "map_if_enable_disable"
826 }
827 func (*MapIfEnableDisable) GetCrcString() string {
828         return "61a30cd9"
829 }
830 func (*MapIfEnableDisable) GetMessageType() api.MessageType {
831         return api.RequestMessage
832 }
833
834 // MapIfEnableDisableReply represents VPP binary API message 'map_if_enable_disable_reply':
835 //
836 //      "map_if_enable_disable_reply",
837 //      [
838 //          "u16",
839 //          "_vl_msg_id"
840 //      ],
841 //      [
842 //          "u32",
843 //          "context"
844 //      ],
845 //      [
846 //          "i32",
847 //          "retval"
848 //      ],
849 //      {
850 //          "crc": "0xe8d4e804"
851 //      }
852 //
853 type MapIfEnableDisableReply struct {
854         Retval int32
855 }
856
857 func (*MapIfEnableDisableReply) GetMessageName() string {
858         return "map_if_enable_disable_reply"
859 }
860 func (*MapIfEnableDisableReply) GetCrcString() string {
861         return "e8d4e804"
862 }
863 func (*MapIfEnableDisableReply) GetMessageType() api.MessageType {
864         return api.ReplyMessage
865 }
866
867 // MapSummaryStats represents VPP binary API message 'map_summary_stats':
868 //
869 //      "map_summary_stats",
870 //      [
871 //          "u16",
872 //          "_vl_msg_id"
873 //      ],
874 //      [
875 //          "u32",
876 //          "client_index"
877 //      ],
878 //      [
879 //          "u32",
880 //          "context"
881 //      ],
882 //      {
883 //          "crc": "0x51077d14"
884 //      }
885 //
886 type MapSummaryStats struct{}
887
888 func (*MapSummaryStats) GetMessageName() string {
889         return "map_summary_stats"
890 }
891 func (*MapSummaryStats) GetCrcString() string {
892         return "51077d14"
893 }
894 func (*MapSummaryStats) GetMessageType() api.MessageType {
895         return api.RequestMessage
896 }
897
898 // MapSummaryStatsReply represents VPP binary API message 'map_summary_stats_reply':
899 //
900 //      "map_summary_stats_reply",
901 //      [
902 //          "u16",
903 //          "_vl_msg_id"
904 //      ],
905 //      [
906 //          "u32",
907 //          "context"
908 //      ],
909 //      [
910 //          "i32",
911 //          "retval"
912 //      ],
913 //      [
914 //          "u64",
915 //          "total_bindings"
916 //      ],
917 //      [
918 //          "u64",
919 //          "total_pkts",
920 //          2
921 //      ],
922 //      [
923 //          "u64",
924 //          "total_bytes",
925 //          2
926 //      ],
927 //      [
928 //          "u64",
929 //          "total_ip4_fragments"
930 //      ],
931 //      [
932 //          "u64",
933 //          "total_security_check",
934 //          2
935 //      ],
936 //      {
937 //          "crc": "0x0e4ace0e"
938 //      }
939 //
940 type MapSummaryStatsReply struct {
941         Retval             int32
942         TotalBindings      uint64
943         TotalPkts          []uint64 `struc:"[2]uint64"`
944         TotalBytes         []uint64 `struc:"[2]uint64"`
945         TotalIP4Fragments  uint64
946         TotalSecurityCheck []uint64 `struc:"[2]uint64"`
947 }
948
949 func (*MapSummaryStatsReply) GetMessageName() string {
950         return "map_summary_stats_reply"
951 }
952 func (*MapSummaryStatsReply) GetCrcString() string {
953         return "0e4ace0e"
954 }
955 func (*MapSummaryStatsReply) GetMessageType() api.MessageType {
956         return api.ReplyMessage
957 }
958
959 // MapParamSetFragmentation represents VPP binary API message 'map_param_set_fragmentation':
960 //
961 //      "map_param_set_fragmentation",
962 //      [
963 //          "u16",
964 //          "_vl_msg_id"
965 //      ],
966 //      [
967 //          "u32",
968 //          "client_index"
969 //      ],
970 //      [
971 //          "u32",
972 //          "context"
973 //      ],
974 //      [
975 //          "bool",
976 //          "inner"
977 //      ],
978 //      [
979 //          "bool",
980 //          "ignore_df"
981 //      ],
982 //      {
983 //          "crc": "0x9ff54d90"
984 //      }
985 //
986 type MapParamSetFragmentation struct {
987         Inner    bool
988         IgnoreDf bool
989 }
990
991 func (*MapParamSetFragmentation) GetMessageName() string {
992         return "map_param_set_fragmentation"
993 }
994 func (*MapParamSetFragmentation) GetCrcString() string {
995         return "9ff54d90"
996 }
997 func (*MapParamSetFragmentation) GetMessageType() api.MessageType {
998         return api.RequestMessage
999 }
1000
1001 // MapParamSetFragmentationReply represents VPP binary API message 'map_param_set_fragmentation_reply':
1002 //
1003 //      "map_param_set_fragmentation_reply",
1004 //      [
1005 //          "u16",
1006 //          "_vl_msg_id"
1007 //      ],
1008 //      [
1009 //          "u32",
1010 //          "context"
1011 //      ],
1012 //      [
1013 //          "i32",
1014 //          "retval"
1015 //      ],
1016 //      {
1017 //          "crc": "0xe8d4e804"
1018 //      }
1019 //
1020 type MapParamSetFragmentationReply struct {
1021         Retval int32
1022 }
1023
1024 func (*MapParamSetFragmentationReply) GetMessageName() string {
1025         return "map_param_set_fragmentation_reply"
1026 }
1027 func (*MapParamSetFragmentationReply) GetCrcString() string {
1028         return "e8d4e804"
1029 }
1030 func (*MapParamSetFragmentationReply) GetMessageType() api.MessageType {
1031         return api.ReplyMessage
1032 }
1033
1034 // MapParamSetICMP represents VPP binary API message 'map_param_set_icmp':
1035 //
1036 //      "map_param_set_icmp",
1037 //      [
1038 //          "u16",
1039 //          "_vl_msg_id"
1040 //      ],
1041 //      [
1042 //          "u32",
1043 //          "client_index"
1044 //      ],
1045 //      [
1046 //          "u32",
1047 //          "context"
1048 //      ],
1049 //      [
1050 //          "vl_api_ip4_address_t",
1051 //          "ip4_err_relay_src"
1052 //      ],
1053 //      {
1054 //          "crc": "0x4c0a4fd2"
1055 //      }
1056 //
1057 type MapParamSetICMP struct {
1058         IP4ErrRelaySrc IP4Address
1059 }
1060
1061 func (*MapParamSetICMP) GetMessageName() string {
1062         return "map_param_set_icmp"
1063 }
1064 func (*MapParamSetICMP) GetCrcString() string {
1065         return "4c0a4fd2"
1066 }
1067 func (*MapParamSetICMP) GetMessageType() api.MessageType {
1068         return api.RequestMessage
1069 }
1070
1071 // MapParamSetICMPReply represents VPP binary API message 'map_param_set_icmp_reply':
1072 //
1073 //      "map_param_set_icmp_reply",
1074 //      [
1075 //          "u16",
1076 //          "_vl_msg_id"
1077 //      ],
1078 //      [
1079 //          "u32",
1080 //          "context"
1081 //      ],
1082 //      [
1083 //          "i32",
1084 //          "retval"
1085 //      ],
1086 //      {
1087 //          "crc": "0xe8d4e804"
1088 //      }
1089 //
1090 type MapParamSetICMPReply struct {
1091         Retval int32
1092 }
1093
1094 func (*MapParamSetICMPReply) GetMessageName() string {
1095         return "map_param_set_icmp_reply"
1096 }
1097 func (*MapParamSetICMPReply) GetCrcString() string {
1098         return "e8d4e804"
1099 }
1100 func (*MapParamSetICMPReply) GetMessageType() api.MessageType {
1101         return api.ReplyMessage
1102 }
1103
1104 // MapParamSetICMP6 represents VPP binary API message 'map_param_set_icmp6':
1105 //
1106 //      "map_param_set_icmp6",
1107 //      [
1108 //          "u16",
1109 //          "_vl_msg_id"
1110 //      ],
1111 //      [
1112 //          "u32",
1113 //          "client_index"
1114 //      ],
1115 //      [
1116 //          "u32",
1117 //          "context"
1118 //      ],
1119 //      [
1120 //          "bool",
1121 //          "enable_unreachable"
1122 //      ],
1123 //      {
1124 //          "crc": "0x5d01f8c1"
1125 //      }
1126 //
1127 type MapParamSetICMP6 struct {
1128         EnableUnreachable bool
1129 }
1130
1131 func (*MapParamSetICMP6) GetMessageName() string {
1132         return "map_param_set_icmp6"
1133 }
1134 func (*MapParamSetICMP6) GetCrcString() string {
1135         return "5d01f8c1"
1136 }
1137 func (*MapParamSetICMP6) GetMessageType() api.MessageType {
1138         return api.RequestMessage
1139 }
1140
1141 // MapParamSetICMP6Reply represents VPP binary API message 'map_param_set_icmp6_reply':
1142 //
1143 //      "map_param_set_icmp6_reply",
1144 //      [
1145 //          "u16",
1146 //          "_vl_msg_id"
1147 //      ],
1148 //      [
1149 //          "u32",
1150 //          "context"
1151 //      ],
1152 //      [
1153 //          "i32",
1154 //          "retval"
1155 //      ],
1156 //      {
1157 //          "crc": "0xe8d4e804"
1158 //      }
1159 //
1160 type MapParamSetICMP6Reply struct {
1161         Retval int32
1162 }
1163
1164 func (*MapParamSetICMP6Reply) GetMessageName() string {
1165         return "map_param_set_icmp6_reply"
1166 }
1167 func (*MapParamSetICMP6Reply) GetCrcString() string {
1168         return "e8d4e804"
1169 }
1170 func (*MapParamSetICMP6Reply) GetMessageType() api.MessageType {
1171         return api.ReplyMessage
1172 }
1173
1174 // MapParamAddDelPreResolve represents VPP binary API message 'map_param_add_del_pre_resolve':
1175 //
1176 //      "map_param_add_del_pre_resolve",
1177 //      [
1178 //          "u16",
1179 //          "_vl_msg_id"
1180 //      ],
1181 //      [
1182 //          "u32",
1183 //          "client_index"
1184 //      ],
1185 //      [
1186 //          "u32",
1187 //          "context"
1188 //      ],
1189 //      [
1190 //          "bool",
1191 //          "is_add"
1192 //      ],
1193 //      [
1194 //          "vl_api_ip4_address_t",
1195 //          "ip4_nh_address"
1196 //      ],
1197 //      [
1198 //          "vl_api_ip6_address_t",
1199 //          "ip6_nh_address"
1200 //      ],
1201 //      {
1202 //          "crc": "0xea9a9a4a"
1203 //      }
1204 //
1205 type MapParamAddDelPreResolve struct {
1206         IsAdd        bool
1207         IP4NhAddress IP4Address
1208         IP6NhAddress IP6Address
1209 }
1210
1211 func (*MapParamAddDelPreResolve) GetMessageName() string {
1212         return "map_param_add_del_pre_resolve"
1213 }
1214 func (*MapParamAddDelPreResolve) GetCrcString() string {
1215         return "ea9a9a4a"
1216 }
1217 func (*MapParamAddDelPreResolve) GetMessageType() api.MessageType {
1218         return api.RequestMessage
1219 }
1220
1221 // MapParamAddDelPreResolveReply represents VPP binary API message 'map_param_add_del_pre_resolve_reply':
1222 //
1223 //      "map_param_add_del_pre_resolve_reply",
1224 //      [
1225 //          "u16",
1226 //          "_vl_msg_id"
1227 //      ],
1228 //      [
1229 //          "u32",
1230 //          "context"
1231 //      ],
1232 //      [
1233 //          "i32",
1234 //          "retval"
1235 //      ],
1236 //      {
1237 //          "crc": "0xe8d4e804"
1238 //      }
1239 //
1240 type MapParamAddDelPreResolveReply struct {
1241         Retval int32
1242 }
1243
1244 func (*MapParamAddDelPreResolveReply) GetMessageName() string {
1245         return "map_param_add_del_pre_resolve_reply"
1246 }
1247 func (*MapParamAddDelPreResolveReply) GetCrcString() string {
1248         return "e8d4e804"
1249 }
1250 func (*MapParamAddDelPreResolveReply) GetMessageType() api.MessageType {
1251         return api.ReplyMessage
1252 }
1253
1254 // MapParamSetReassembly represents VPP binary API message 'map_param_set_reassembly':
1255 //
1256 //      "map_param_set_reassembly",
1257 //      [
1258 //          "u16",
1259 //          "_vl_msg_id"
1260 //      ],
1261 //      [
1262 //          "u32",
1263 //          "client_index"
1264 //      ],
1265 //      [
1266 //          "u32",
1267 //          "context"
1268 //      ],
1269 //      [
1270 //          "bool",
1271 //          "is_ip6"
1272 //      ],
1273 //      [
1274 //          "u16",
1275 //          "lifetime_ms"
1276 //      ],
1277 //      [
1278 //          "u16",
1279 //          "pool_size"
1280 //      ],
1281 //      [
1282 //          "u32",
1283 //          "buffers"
1284 //      ],
1285 //      [
1286 //          "f64",
1287 //          "ht_ratio"
1288 //      ],
1289 //      {
1290 //          "crc": "0x54172b10"
1291 //      }
1292 //
1293 type MapParamSetReassembly struct {
1294         IsIP6      bool
1295         LifetimeMs uint16
1296         PoolSize   uint16
1297         Buffers    uint32
1298         HtRatio    float64
1299 }
1300
1301 func (*MapParamSetReassembly) GetMessageName() string {
1302         return "map_param_set_reassembly"
1303 }
1304 func (*MapParamSetReassembly) GetCrcString() string {
1305         return "54172b10"
1306 }
1307 func (*MapParamSetReassembly) GetMessageType() api.MessageType {
1308         return api.RequestMessage
1309 }
1310
1311 // MapParamSetReassemblyReply represents VPP binary API message 'map_param_set_reassembly_reply':
1312 //
1313 //      "map_param_set_reassembly_reply",
1314 //      [
1315 //          "u16",
1316 //          "_vl_msg_id"
1317 //      ],
1318 //      [
1319 //          "u32",
1320 //          "context"
1321 //      ],
1322 //      [
1323 //          "i32",
1324 //          "retval"
1325 //      ],
1326 //      {
1327 //          "crc": "0xe8d4e804"
1328 //      }
1329 //
1330 type MapParamSetReassemblyReply struct {
1331         Retval int32
1332 }
1333
1334 func (*MapParamSetReassemblyReply) GetMessageName() string {
1335         return "map_param_set_reassembly_reply"
1336 }
1337 func (*MapParamSetReassemblyReply) GetCrcString() string {
1338         return "e8d4e804"
1339 }
1340 func (*MapParamSetReassemblyReply) GetMessageType() api.MessageType {
1341         return api.ReplyMessage
1342 }
1343
1344 // MapParamSetSecurityCheck represents VPP binary API message 'map_param_set_security_check':
1345 //
1346 //      "map_param_set_security_check",
1347 //      [
1348 //          "u16",
1349 //          "_vl_msg_id"
1350 //      ],
1351 //      [
1352 //          "u32",
1353 //          "client_index"
1354 //      ],
1355 //      [
1356 //          "u32",
1357 //          "context"
1358 //      ],
1359 //      [
1360 //          "bool",
1361 //          "enable"
1362 //      ],
1363 //      [
1364 //          "bool",
1365 //          "fragments"
1366 //      ],
1367 //      {
1368 //          "crc": "0x6abe9836"
1369 //      }
1370 //
1371 type MapParamSetSecurityCheck struct {
1372         Enable    bool
1373         Fragments bool
1374 }
1375
1376 func (*MapParamSetSecurityCheck) GetMessageName() string {
1377         return "map_param_set_security_check"
1378 }
1379 func (*MapParamSetSecurityCheck) GetCrcString() string {
1380         return "6abe9836"
1381 }
1382 func (*MapParamSetSecurityCheck) GetMessageType() api.MessageType {
1383         return api.RequestMessage
1384 }
1385
1386 // MapParamSetSecurityCheckReply represents VPP binary API message 'map_param_set_security_check_reply':
1387 //
1388 //      "map_param_set_security_check_reply",
1389 //      [
1390 //          "u16",
1391 //          "_vl_msg_id"
1392 //      ],
1393 //      [
1394 //          "u32",
1395 //          "context"
1396 //      ],
1397 //      [
1398 //          "i32",
1399 //          "retval"
1400 //      ],
1401 //      {
1402 //          "crc": "0xe8d4e804"
1403 //      }
1404 //
1405 type MapParamSetSecurityCheckReply struct {
1406         Retval int32
1407 }
1408
1409 func (*MapParamSetSecurityCheckReply) GetMessageName() string {
1410         return "map_param_set_security_check_reply"
1411 }
1412 func (*MapParamSetSecurityCheckReply) GetCrcString() string {
1413         return "e8d4e804"
1414 }
1415 func (*MapParamSetSecurityCheckReply) GetMessageType() api.MessageType {
1416         return api.ReplyMessage
1417 }
1418
1419 // MapParamSetTrafficClass represents VPP binary API message 'map_param_set_traffic_class':
1420 //
1421 //      "map_param_set_traffic_class",
1422 //      [
1423 //          "u16",
1424 //          "_vl_msg_id"
1425 //      ],
1426 //      [
1427 //          "u32",
1428 //          "client_index"
1429 //      ],
1430 //      [
1431 //          "u32",
1432 //          "context"
1433 //      ],
1434 //      [
1435 //          "bool",
1436 //          "copy"
1437 //      ],
1438 //      [
1439 //          "u8",
1440 //          "class"
1441 //      ],
1442 //      {
1443 //          "crc": "0x007ee563"
1444 //      }
1445 //
1446 type MapParamSetTrafficClass struct {
1447         Copy  bool
1448         Class uint8
1449 }
1450
1451 func (*MapParamSetTrafficClass) GetMessageName() string {
1452         return "map_param_set_traffic_class"
1453 }
1454 func (*MapParamSetTrafficClass) GetCrcString() string {
1455         return "007ee563"
1456 }
1457 func (*MapParamSetTrafficClass) GetMessageType() api.MessageType {
1458         return api.RequestMessage
1459 }
1460
1461 // MapParamSetTrafficClassReply represents VPP binary API message 'map_param_set_traffic_class_reply':
1462 //
1463 //      "map_param_set_traffic_class_reply",
1464 //      [
1465 //          "u16",
1466 //          "_vl_msg_id"
1467 //      ],
1468 //      [
1469 //          "u32",
1470 //          "context"
1471 //      ],
1472 //      [
1473 //          "i32",
1474 //          "retval"
1475 //      ],
1476 //      {
1477 //          "crc": "0xe8d4e804"
1478 //      }
1479 //
1480 type MapParamSetTrafficClassReply struct {
1481         Retval int32
1482 }
1483
1484 func (*MapParamSetTrafficClassReply) GetMessageName() string {
1485         return "map_param_set_traffic_class_reply"
1486 }
1487 func (*MapParamSetTrafficClassReply) GetCrcString() string {
1488         return "e8d4e804"
1489 }
1490 func (*MapParamSetTrafficClassReply) GetMessageType() api.MessageType {
1491         return api.ReplyMessage
1492 }
1493
1494 // MapParamSetTCP represents VPP binary API message 'map_param_set_tcp':
1495 //
1496 //      "map_param_set_tcp",
1497 //      [
1498 //          "u16",
1499 //          "_vl_msg_id"
1500 //      ],
1501 //      [
1502 //          "u32",
1503 //          "client_index"
1504 //      ],
1505 //      [
1506 //          "u32",
1507 //          "context"
1508 //      ],
1509 //      [
1510 //          "u16",
1511 //          "tcp_mss"
1512 //      ],
1513 //      {
1514 //          "crc": "0x87a825d9"
1515 //      }
1516 //
1517 type MapParamSetTCP struct {
1518         TCPMss uint16
1519 }
1520
1521 func (*MapParamSetTCP) GetMessageName() string {
1522         return "map_param_set_tcp"
1523 }
1524 func (*MapParamSetTCP) GetCrcString() string {
1525         return "87a825d9"
1526 }
1527 func (*MapParamSetTCP) GetMessageType() api.MessageType {
1528         return api.RequestMessage
1529 }
1530
1531 // MapParamSetTCPReply represents VPP binary API message 'map_param_set_tcp_reply':
1532 //
1533 //      "map_param_set_tcp_reply",
1534 //      [
1535 //          "u16",
1536 //          "_vl_msg_id"
1537 //      ],
1538 //      [
1539 //          "u32",
1540 //          "context"
1541 //      ],
1542 //      [
1543 //          "i32",
1544 //          "retval"
1545 //      ],
1546 //      {
1547 //          "crc": "0xe8d4e804"
1548 //      }
1549 //
1550 type MapParamSetTCPReply struct {
1551         Retval int32
1552 }
1553
1554 func (*MapParamSetTCPReply) GetMessageName() string {
1555         return "map_param_set_tcp_reply"
1556 }
1557 func (*MapParamSetTCPReply) GetCrcString() string {
1558         return "e8d4e804"
1559 }
1560 func (*MapParamSetTCPReply) GetMessageType() api.MessageType {
1561         return api.ReplyMessage
1562 }
1563
1564 // MapParamGet represents VPP binary API message 'map_param_get':
1565 //
1566 //      "map_param_get",
1567 //      [
1568 //          "u16",
1569 //          "_vl_msg_id"
1570 //      ],
1571 //      [
1572 //          "u32",
1573 //          "client_index"
1574 //      ],
1575 //      [
1576 //          "u32",
1577 //          "context"
1578 //      ],
1579 //      {
1580 //          "crc": "0x51077d14"
1581 //      }
1582 //
1583 type MapParamGet struct{}
1584
1585 func (*MapParamGet) GetMessageName() string {
1586         return "map_param_get"
1587 }
1588 func (*MapParamGet) GetCrcString() string {
1589         return "51077d14"
1590 }
1591 func (*MapParamGet) GetMessageType() api.MessageType {
1592         return api.RequestMessage
1593 }
1594
1595 // MapParamGetReply represents VPP binary API message 'map_param_get_reply':
1596 //
1597 //      "map_param_get_reply",
1598 //      [
1599 //          "u16",
1600 //          "_vl_msg_id"
1601 //      ],
1602 //      [
1603 //          "u32",
1604 //          "context"
1605 //      ],
1606 //      [
1607 //          "i32",
1608 //          "retval"
1609 //      ],
1610 //      [
1611 //          "u8",
1612 //          "frag_inner"
1613 //      ],
1614 //      [
1615 //          "u8",
1616 //          "frag_ignore_df"
1617 //      ],
1618 //      [
1619 //          "vl_api_ip4_address_t",
1620 //          "icmp_ip4_err_relay_src"
1621 //      ],
1622 //      [
1623 //          "bool",
1624 //          "icmp6_enable_unreachable"
1625 //      ],
1626 //      [
1627 //          "vl_api_ip4_address_t",
1628 //          "ip4_nh_address"
1629 //      ],
1630 //      [
1631 //          "vl_api_ip6_address_t",
1632 //          "ip6_nh_address"
1633 //      ],
1634 //      [
1635 //          "u16",
1636 //          "ip4_lifetime_ms"
1637 //      ],
1638 //      [
1639 //          "u16",
1640 //          "ip4_pool_size"
1641 //      ],
1642 //      [
1643 //          "u32",
1644 //          "ip4_buffers"
1645 //      ],
1646 //      [
1647 //          "f64",
1648 //          "ip4_ht_ratio"
1649 //      ],
1650 //      [
1651 //          "u16",
1652 //          "ip6_lifetime_ms"
1653 //      ],
1654 //      [
1655 //          "u16",
1656 //          "ip6_pool_size"
1657 //      ],
1658 //      [
1659 //          "u32",
1660 //          "ip6_buffers"
1661 //      ],
1662 //      [
1663 //          "f64",
1664 //          "ip6_ht_ratio"
1665 //      ],
1666 //      [
1667 //          "bool",
1668 //          "sec_check_enable"
1669 //      ],
1670 //      [
1671 //          "bool",
1672 //          "sec_check_fragments"
1673 //      ],
1674 //      [
1675 //          "bool",
1676 //          "tc_copy"
1677 //      ],
1678 //      [
1679 //          "u8",
1680 //          "tc_class"
1681 //      ],
1682 //      {
1683 //          "crc": "0xb40e9226"
1684 //      }
1685 //
1686 type MapParamGetReply struct {
1687         Retval                 int32
1688         FragInner              uint8
1689         FragIgnoreDf           uint8
1690         ICMPIP4ErrRelaySrc     IP4Address
1691         ICMP6EnableUnreachable bool
1692         IP4NhAddress           IP4Address
1693         IP6NhAddress           IP6Address
1694         IP4LifetimeMs          uint16
1695         IP4PoolSize            uint16
1696         IP4Buffers             uint32
1697         IP4HtRatio             float64
1698         IP6LifetimeMs          uint16
1699         IP6PoolSize            uint16
1700         IP6Buffers             uint32
1701         IP6HtRatio             float64
1702         SecCheckEnable         bool
1703         SecCheckFragments      bool
1704         TcCopy                 bool
1705         TcClass                uint8
1706 }
1707
1708 func (*MapParamGetReply) GetMessageName() string {
1709         return "map_param_get_reply"
1710 }
1711 func (*MapParamGetReply) GetCrcString() string {
1712         return "b40e9226"
1713 }
1714 func (*MapParamGetReply) GetMessageType() api.MessageType {
1715         return api.ReplyMessage
1716 }
1717
1718 func init() {
1719         api.RegisterMessage((*MapAddDomain)(nil), "map.MapAddDomain")
1720         api.RegisterMessage((*MapAddDomainReply)(nil), "map.MapAddDomainReply")
1721         api.RegisterMessage((*MapDelDomain)(nil), "map.MapDelDomain")
1722         api.RegisterMessage((*MapDelDomainReply)(nil), "map.MapDelDomainReply")
1723         api.RegisterMessage((*MapAddDelRule)(nil), "map.MapAddDelRule")
1724         api.RegisterMessage((*MapAddDelRuleReply)(nil), "map.MapAddDelRuleReply")
1725         api.RegisterMessage((*MapDomainDump)(nil), "map.MapDomainDump")
1726         api.RegisterMessage((*MapDomainDetails)(nil), "map.MapDomainDetails")
1727         api.RegisterMessage((*MapRuleDump)(nil), "map.MapRuleDump")
1728         api.RegisterMessage((*MapRuleDetails)(nil), "map.MapRuleDetails")
1729         api.RegisterMessage((*MapIfEnableDisable)(nil), "map.MapIfEnableDisable")
1730         api.RegisterMessage((*MapIfEnableDisableReply)(nil), "map.MapIfEnableDisableReply")
1731         api.RegisterMessage((*MapSummaryStats)(nil), "map.MapSummaryStats")
1732         api.RegisterMessage((*MapSummaryStatsReply)(nil), "map.MapSummaryStatsReply")
1733         api.RegisterMessage((*MapParamSetFragmentation)(nil), "map.MapParamSetFragmentation")
1734         api.RegisterMessage((*MapParamSetFragmentationReply)(nil), "map.MapParamSetFragmentationReply")
1735         api.RegisterMessage((*MapParamSetICMP)(nil), "map.MapParamSetICMP")
1736         api.RegisterMessage((*MapParamSetICMPReply)(nil), "map.MapParamSetICMPReply")
1737         api.RegisterMessage((*MapParamSetICMP6)(nil), "map.MapParamSetICMP6")
1738         api.RegisterMessage((*MapParamSetICMP6Reply)(nil), "map.MapParamSetICMP6Reply")
1739         api.RegisterMessage((*MapParamAddDelPreResolve)(nil), "map.MapParamAddDelPreResolve")
1740         api.RegisterMessage((*MapParamAddDelPreResolveReply)(nil), "map.MapParamAddDelPreResolveReply")
1741         api.RegisterMessage((*MapParamSetReassembly)(nil), "map.MapParamSetReassembly")
1742         api.RegisterMessage((*MapParamSetReassemblyReply)(nil), "map.MapParamSetReassemblyReply")
1743         api.RegisterMessage((*MapParamSetSecurityCheck)(nil), "map.MapParamSetSecurityCheck")
1744         api.RegisterMessage((*MapParamSetSecurityCheckReply)(nil), "map.MapParamSetSecurityCheckReply")
1745         api.RegisterMessage((*MapParamSetTrafficClass)(nil), "map.MapParamSetTrafficClass")
1746         api.RegisterMessage((*MapParamSetTrafficClassReply)(nil), "map.MapParamSetTrafficClassReply")
1747         api.RegisterMessage((*MapParamSetTCP)(nil), "map.MapParamSetTCP")
1748         api.RegisterMessage((*MapParamSetTCPReply)(nil), "map.MapParamSetTCPReply")
1749         api.RegisterMessage((*MapParamGet)(nil), "map.MapParamGet")
1750         api.RegisterMessage((*MapParamGetReply)(nil), "map.MapParamGetReply")
1751 }