1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
3 // binapi-generator: v0.4.0-dev
6 // Package maps contains generated bindings for API file map.api.
14 api "git.fd.io/govpp.git/api"
15 interface_types "git.fd.io/govpp.git/binapi/interface_types"
16 ip_types "git.fd.io/govpp.git/binapi/ip_types"
17 codec "git.fd.io/govpp.git/codec"
20 // This is a compile-time assertion to ensure that this generated file
21 // is compatible with the GoVPP api package it is being compiled against.
22 // A compilation error at this line likely means your copy of the
23 // GoVPP api package needs to be updated.
24 const _ = api.GoVppAPIPackageIsVersion2
29 VersionCrc = 0x82b79829
32 // MapAddDelRule defines message 'map_add_del_rule'.
33 type MapAddDelRule struct {
34 Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
35 IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"`
36 IP6Dst ip_types.IP6Address `binapi:"ip6_address,name=ip6_dst" json:"ip6_dst,omitempty"`
37 Psid uint16 `binapi:"u16,name=psid" json:"psid,omitempty"`
40 func (m *MapAddDelRule) Reset() { *m = MapAddDelRule{} }
41 func (*MapAddDelRule) GetMessageName() string { return "map_add_del_rule" }
42 func (*MapAddDelRule) GetCrcString() string { return "c65b32f7" }
43 func (*MapAddDelRule) GetMessageType() api.MessageType {
44 return api.RequestMessage
47 func (m *MapAddDelRule) Size() (size int) {
53 size += 1 * 16 // m.IP6Dst
57 func (m *MapAddDelRule) Marshal(b []byte) ([]byte, error) {
59 b = make([]byte, m.Size())
61 buf := codec.NewBuffer(b)
62 buf.EncodeUint32(m.Index)
63 buf.EncodeBool(m.IsAdd)
64 buf.EncodeBytes(m.IP6Dst[:], 16)
65 buf.EncodeUint16(m.Psid)
66 return buf.Bytes(), nil
68 func (m *MapAddDelRule) Unmarshal(b []byte) error {
69 buf := codec.NewBuffer(b)
70 m.Index = buf.DecodeUint32()
71 m.IsAdd = buf.DecodeBool()
72 copy(m.IP6Dst[:], buf.DecodeBytes(16))
73 m.Psid = buf.DecodeUint16()
77 // MapAddDelRuleReply defines message 'map_add_del_rule_reply'.
78 type MapAddDelRuleReply struct {
79 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
82 func (m *MapAddDelRuleReply) Reset() { *m = MapAddDelRuleReply{} }
83 func (*MapAddDelRuleReply) GetMessageName() string { return "map_add_del_rule_reply" }
84 func (*MapAddDelRuleReply) GetCrcString() string { return "e8d4e804" }
85 func (*MapAddDelRuleReply) GetMessageType() api.MessageType {
86 return api.ReplyMessage
89 func (m *MapAddDelRuleReply) Size() (size int) {
96 func (m *MapAddDelRuleReply) Marshal(b []byte) ([]byte, error) {
98 b = make([]byte, m.Size())
100 buf := codec.NewBuffer(b)
101 buf.EncodeInt32(m.Retval)
102 return buf.Bytes(), nil
104 func (m *MapAddDelRuleReply) Unmarshal(b []byte) error {
105 buf := codec.NewBuffer(b)
106 m.Retval = buf.DecodeInt32()
110 // MapAddDomain defines message 'map_add_domain'.
111 type MapAddDomain struct {
112 IP6Prefix ip_types.IP6Prefix `binapi:"ip6_prefix,name=ip6_prefix" json:"ip6_prefix,omitempty"`
113 IP4Prefix ip_types.IP4Prefix `binapi:"ip4_prefix,name=ip4_prefix" json:"ip4_prefix,omitempty"`
114 IP6Src ip_types.IP6Prefix `binapi:"ip6_prefix,name=ip6_src" json:"ip6_src,omitempty"`
115 EaBitsLen uint8 `binapi:"u8,name=ea_bits_len" json:"ea_bits_len,omitempty"`
116 PsidOffset uint8 `binapi:"u8,name=psid_offset" json:"psid_offset,omitempty"`
117 PsidLength uint8 `binapi:"u8,name=psid_length" json:"psid_length,omitempty"`
118 Mtu uint16 `binapi:"u16,name=mtu,default=1280" json:"mtu,omitempty"`
119 Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"`
122 func (m *MapAddDomain) Reset() { *m = MapAddDomain{} }
123 func (*MapAddDomain) GetMessageName() string { return "map_add_domain" }
124 func (*MapAddDomain) GetCrcString() string { return "7a5a18c9" }
125 func (*MapAddDomain) GetMessageType() api.MessageType {
126 return api.RequestMessage
129 func (m *MapAddDomain) Size() (size int) {
133 size += 1 * 16 // m.IP6Prefix.Address
134 size += 1 // m.IP6Prefix.Len
135 size += 1 * 4 // m.IP4Prefix.Address
136 size += 1 // m.IP4Prefix.Len
137 size += 1 * 16 // m.IP6Src.Address
138 size += 1 // m.IP6Src.Len
139 size += 1 // m.EaBitsLen
140 size += 1 // m.PsidOffset
141 size += 1 // m.PsidLength
146 func (m *MapAddDomain) Marshal(b []byte) ([]byte, error) {
148 b = make([]byte, m.Size())
150 buf := codec.NewBuffer(b)
151 buf.EncodeBytes(m.IP6Prefix.Address[:], 16)
152 buf.EncodeUint8(m.IP6Prefix.Len)
153 buf.EncodeBytes(m.IP4Prefix.Address[:], 4)
154 buf.EncodeUint8(m.IP4Prefix.Len)
155 buf.EncodeBytes(m.IP6Src.Address[:], 16)
156 buf.EncodeUint8(m.IP6Src.Len)
157 buf.EncodeUint8(m.EaBitsLen)
158 buf.EncodeUint8(m.PsidOffset)
159 buf.EncodeUint8(m.PsidLength)
160 buf.EncodeUint16(m.Mtu)
161 buf.EncodeString(m.Tag, 64)
162 return buf.Bytes(), nil
164 func (m *MapAddDomain) Unmarshal(b []byte) error {
165 buf := codec.NewBuffer(b)
166 copy(m.IP6Prefix.Address[:], buf.DecodeBytes(16))
167 m.IP6Prefix.Len = buf.DecodeUint8()
168 copy(m.IP4Prefix.Address[:], buf.DecodeBytes(4))
169 m.IP4Prefix.Len = buf.DecodeUint8()
170 copy(m.IP6Src.Address[:], buf.DecodeBytes(16))
171 m.IP6Src.Len = buf.DecodeUint8()
172 m.EaBitsLen = buf.DecodeUint8()
173 m.PsidOffset = buf.DecodeUint8()
174 m.PsidLength = buf.DecodeUint8()
175 m.Mtu = buf.DecodeUint16()
176 m.Tag = buf.DecodeString(64)
180 // MapAddDomainReply defines message 'map_add_domain_reply'.
181 type MapAddDomainReply struct {
182 Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
183 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
186 func (m *MapAddDomainReply) Reset() { *m = MapAddDomainReply{} }
187 func (*MapAddDomainReply) GetMessageName() string { return "map_add_domain_reply" }
188 func (*MapAddDomainReply) GetCrcString() string { return "3e6d4e2c" }
189 func (*MapAddDomainReply) GetMessageType() api.MessageType {
190 return api.ReplyMessage
193 func (m *MapAddDomainReply) Size() (size int) {
198 size += 4 // m.Retval
201 func (m *MapAddDomainReply) Marshal(b []byte) ([]byte, error) {
203 b = make([]byte, m.Size())
205 buf := codec.NewBuffer(b)
206 buf.EncodeUint32(m.Index)
207 buf.EncodeInt32(m.Retval)
208 return buf.Bytes(), nil
210 func (m *MapAddDomainReply) Unmarshal(b []byte) error {
211 buf := codec.NewBuffer(b)
212 m.Index = buf.DecodeUint32()
213 m.Retval = buf.DecodeInt32()
217 // MapDelDomain defines message 'map_del_domain'.
218 type MapDelDomain struct {
219 Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
222 func (m *MapDelDomain) Reset() { *m = MapDelDomain{} }
223 func (*MapDelDomain) GetMessageName() string { return "map_del_domain" }
224 func (*MapDelDomain) GetCrcString() string { return "8ac76db6" }
225 func (*MapDelDomain) GetMessageType() api.MessageType {
226 return api.RequestMessage
229 func (m *MapDelDomain) Size() (size int) {
236 func (m *MapDelDomain) Marshal(b []byte) ([]byte, error) {
238 b = make([]byte, m.Size())
240 buf := codec.NewBuffer(b)
241 buf.EncodeUint32(m.Index)
242 return buf.Bytes(), nil
244 func (m *MapDelDomain) Unmarshal(b []byte) error {
245 buf := codec.NewBuffer(b)
246 m.Index = buf.DecodeUint32()
250 // MapDelDomainReply defines message 'map_del_domain_reply'.
251 type MapDelDomainReply struct {
252 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
255 func (m *MapDelDomainReply) Reset() { *m = MapDelDomainReply{} }
256 func (*MapDelDomainReply) GetMessageName() string { return "map_del_domain_reply" }
257 func (*MapDelDomainReply) GetCrcString() string { return "e8d4e804" }
258 func (*MapDelDomainReply) GetMessageType() api.MessageType {
259 return api.ReplyMessage
262 func (m *MapDelDomainReply) Size() (size int) {
266 size += 4 // m.Retval
269 func (m *MapDelDomainReply) Marshal(b []byte) ([]byte, error) {
271 b = make([]byte, m.Size())
273 buf := codec.NewBuffer(b)
274 buf.EncodeInt32(m.Retval)
275 return buf.Bytes(), nil
277 func (m *MapDelDomainReply) Unmarshal(b []byte) error {
278 buf := codec.NewBuffer(b)
279 m.Retval = buf.DecodeInt32()
283 // MapDomainDetails defines message 'map_domain_details'.
284 type MapDomainDetails struct {
285 DomainIndex uint32 `binapi:"u32,name=domain_index" json:"domain_index,omitempty"`
286 IP6Prefix ip_types.IP6Prefix `binapi:"ip6_prefix,name=ip6_prefix" json:"ip6_prefix,omitempty"`
287 IP4Prefix ip_types.IP4Prefix `binapi:"ip4_prefix,name=ip4_prefix" json:"ip4_prefix,omitempty"`
288 IP6Src ip_types.IP6Prefix `binapi:"ip6_prefix,name=ip6_src" json:"ip6_src,omitempty"`
289 EaBitsLen uint8 `binapi:"u8,name=ea_bits_len" json:"ea_bits_len,omitempty"`
290 PsidOffset uint8 `binapi:"u8,name=psid_offset" json:"psid_offset,omitempty"`
291 PsidLength uint8 `binapi:"u8,name=psid_length" json:"psid_length,omitempty"`
292 Flags uint8 `binapi:"u8,name=flags" json:"flags,omitempty"`
293 Mtu uint16 `binapi:"u16,name=mtu" json:"mtu,omitempty"`
294 Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"`
297 func (m *MapDomainDetails) Reset() { *m = MapDomainDetails{} }
298 func (*MapDomainDetails) GetMessageName() string { return "map_domain_details" }
299 func (*MapDomainDetails) GetCrcString() string { return "fc1859dd" }
300 func (*MapDomainDetails) GetMessageType() api.MessageType {
301 return api.ReplyMessage
304 func (m *MapDomainDetails) Size() (size int) {
308 size += 4 // m.DomainIndex
309 size += 1 * 16 // m.IP6Prefix.Address
310 size += 1 // m.IP6Prefix.Len
311 size += 1 * 4 // m.IP4Prefix.Address
312 size += 1 // m.IP4Prefix.Len
313 size += 1 * 16 // m.IP6Src.Address
314 size += 1 // m.IP6Src.Len
315 size += 1 // m.EaBitsLen
316 size += 1 // m.PsidOffset
317 size += 1 // m.PsidLength
323 func (m *MapDomainDetails) Marshal(b []byte) ([]byte, error) {
325 b = make([]byte, m.Size())
327 buf := codec.NewBuffer(b)
328 buf.EncodeUint32(m.DomainIndex)
329 buf.EncodeBytes(m.IP6Prefix.Address[:], 16)
330 buf.EncodeUint8(m.IP6Prefix.Len)
331 buf.EncodeBytes(m.IP4Prefix.Address[:], 4)
332 buf.EncodeUint8(m.IP4Prefix.Len)
333 buf.EncodeBytes(m.IP6Src.Address[:], 16)
334 buf.EncodeUint8(m.IP6Src.Len)
335 buf.EncodeUint8(m.EaBitsLen)
336 buf.EncodeUint8(m.PsidOffset)
337 buf.EncodeUint8(m.PsidLength)
338 buf.EncodeUint8(m.Flags)
339 buf.EncodeUint16(m.Mtu)
340 buf.EncodeString(m.Tag, 64)
341 return buf.Bytes(), nil
343 func (m *MapDomainDetails) Unmarshal(b []byte) error {
344 buf := codec.NewBuffer(b)
345 m.DomainIndex = buf.DecodeUint32()
346 copy(m.IP6Prefix.Address[:], buf.DecodeBytes(16))
347 m.IP6Prefix.Len = buf.DecodeUint8()
348 copy(m.IP4Prefix.Address[:], buf.DecodeBytes(4))
349 m.IP4Prefix.Len = buf.DecodeUint8()
350 copy(m.IP6Src.Address[:], buf.DecodeBytes(16))
351 m.IP6Src.Len = buf.DecodeUint8()
352 m.EaBitsLen = buf.DecodeUint8()
353 m.PsidOffset = buf.DecodeUint8()
354 m.PsidLength = buf.DecodeUint8()
355 m.Flags = buf.DecodeUint8()
356 m.Mtu = buf.DecodeUint16()
357 m.Tag = buf.DecodeString(64)
361 // MapDomainDump defines message 'map_domain_dump'.
362 type MapDomainDump struct{}
364 func (m *MapDomainDump) Reset() { *m = MapDomainDump{} }
365 func (*MapDomainDump) GetMessageName() string { return "map_domain_dump" }
366 func (*MapDomainDump) GetCrcString() string { return "51077d14" }
367 func (*MapDomainDump) GetMessageType() api.MessageType {
368 return api.RequestMessage
371 func (m *MapDomainDump) Size() (size int) {
377 func (m *MapDomainDump) Marshal(b []byte) ([]byte, error) {
379 b = make([]byte, m.Size())
381 buf := codec.NewBuffer(b)
382 return buf.Bytes(), nil
384 func (m *MapDomainDump) Unmarshal(b []byte) error {
388 // MapIfEnableDisable defines message 'map_if_enable_disable'.
389 type MapIfEnableDisable struct {
390 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
391 IsEnable bool `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
392 IsTranslation bool `binapi:"bool,name=is_translation" json:"is_translation,omitempty"`
395 func (m *MapIfEnableDisable) Reset() { *m = MapIfEnableDisable{} }
396 func (*MapIfEnableDisable) GetMessageName() string { return "map_if_enable_disable" }
397 func (*MapIfEnableDisable) GetCrcString() string { return "59bb32f4" }
398 func (*MapIfEnableDisable) GetMessageType() api.MessageType {
399 return api.RequestMessage
402 func (m *MapIfEnableDisable) Size() (size int) {
406 size += 4 // m.SwIfIndex
407 size += 1 // m.IsEnable
408 size += 1 // m.IsTranslation
411 func (m *MapIfEnableDisable) Marshal(b []byte) ([]byte, error) {
413 b = make([]byte, m.Size())
415 buf := codec.NewBuffer(b)
416 buf.EncodeUint32(uint32(m.SwIfIndex))
417 buf.EncodeBool(m.IsEnable)
418 buf.EncodeBool(m.IsTranslation)
419 return buf.Bytes(), nil
421 func (m *MapIfEnableDisable) Unmarshal(b []byte) error {
422 buf := codec.NewBuffer(b)
423 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
424 m.IsEnable = buf.DecodeBool()
425 m.IsTranslation = buf.DecodeBool()
429 // MapIfEnableDisableReply defines message 'map_if_enable_disable_reply'.
430 type MapIfEnableDisableReply struct {
431 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
434 func (m *MapIfEnableDisableReply) Reset() { *m = MapIfEnableDisableReply{} }
435 func (*MapIfEnableDisableReply) GetMessageName() string { return "map_if_enable_disable_reply" }
436 func (*MapIfEnableDisableReply) GetCrcString() string { return "e8d4e804" }
437 func (*MapIfEnableDisableReply) GetMessageType() api.MessageType {
438 return api.ReplyMessage
441 func (m *MapIfEnableDisableReply) Size() (size int) {
445 size += 4 // m.Retval
448 func (m *MapIfEnableDisableReply) Marshal(b []byte) ([]byte, error) {
450 b = make([]byte, m.Size())
452 buf := codec.NewBuffer(b)
453 buf.EncodeInt32(m.Retval)
454 return buf.Bytes(), nil
456 func (m *MapIfEnableDisableReply) Unmarshal(b []byte) error {
457 buf := codec.NewBuffer(b)
458 m.Retval = buf.DecodeInt32()
462 // MapParamAddDelPreResolve defines message 'map_param_add_del_pre_resolve'.
463 type MapParamAddDelPreResolve struct {
464 IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"`
465 IP4NhAddress ip_types.IP4Address `binapi:"ip4_address,name=ip4_nh_address" json:"ip4_nh_address,omitempty"`
466 IP6NhAddress ip_types.IP6Address `binapi:"ip6_address,name=ip6_nh_address" json:"ip6_nh_address,omitempty"`
469 func (m *MapParamAddDelPreResolve) Reset() { *m = MapParamAddDelPreResolve{} }
470 func (*MapParamAddDelPreResolve) GetMessageName() string { return "map_param_add_del_pre_resolve" }
471 func (*MapParamAddDelPreResolve) GetCrcString() string { return "17008c66" }
472 func (*MapParamAddDelPreResolve) GetMessageType() api.MessageType {
473 return api.RequestMessage
476 func (m *MapParamAddDelPreResolve) Size() (size int) {
481 size += 1 * 4 // m.IP4NhAddress
482 size += 1 * 16 // m.IP6NhAddress
485 func (m *MapParamAddDelPreResolve) Marshal(b []byte) ([]byte, error) {
487 b = make([]byte, m.Size())
489 buf := codec.NewBuffer(b)
490 buf.EncodeBool(m.IsAdd)
491 buf.EncodeBytes(m.IP4NhAddress[:], 4)
492 buf.EncodeBytes(m.IP6NhAddress[:], 16)
493 return buf.Bytes(), nil
495 func (m *MapParamAddDelPreResolve) Unmarshal(b []byte) error {
496 buf := codec.NewBuffer(b)
497 m.IsAdd = buf.DecodeBool()
498 copy(m.IP4NhAddress[:], buf.DecodeBytes(4))
499 copy(m.IP6NhAddress[:], buf.DecodeBytes(16))
503 // MapParamAddDelPreResolveReply defines message 'map_param_add_del_pre_resolve_reply'.
504 type MapParamAddDelPreResolveReply struct {
505 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
508 func (m *MapParamAddDelPreResolveReply) Reset() { *m = MapParamAddDelPreResolveReply{} }
509 func (*MapParamAddDelPreResolveReply) GetMessageName() string {
510 return "map_param_add_del_pre_resolve_reply"
512 func (*MapParamAddDelPreResolveReply) GetCrcString() string { return "e8d4e804" }
513 func (*MapParamAddDelPreResolveReply) GetMessageType() api.MessageType {
514 return api.ReplyMessage
517 func (m *MapParamAddDelPreResolveReply) Size() (size int) {
521 size += 4 // m.Retval
524 func (m *MapParamAddDelPreResolveReply) Marshal(b []byte) ([]byte, error) {
526 b = make([]byte, m.Size())
528 buf := codec.NewBuffer(b)
529 buf.EncodeInt32(m.Retval)
530 return buf.Bytes(), nil
532 func (m *MapParamAddDelPreResolveReply) Unmarshal(b []byte) error {
533 buf := codec.NewBuffer(b)
534 m.Retval = buf.DecodeInt32()
538 // MapParamGet defines message 'map_param_get'.
539 type MapParamGet struct{}
541 func (m *MapParamGet) Reset() { *m = MapParamGet{} }
542 func (*MapParamGet) GetMessageName() string { return "map_param_get" }
543 func (*MapParamGet) GetCrcString() string { return "51077d14" }
544 func (*MapParamGet) GetMessageType() api.MessageType {
545 return api.RequestMessage
548 func (m *MapParamGet) Size() (size int) {
554 func (m *MapParamGet) Marshal(b []byte) ([]byte, error) {
556 b = make([]byte, m.Size())
558 buf := codec.NewBuffer(b)
559 return buf.Bytes(), nil
561 func (m *MapParamGet) Unmarshal(b []byte) error {
565 // MapParamGetReply defines message 'map_param_get_reply'.
566 type MapParamGetReply struct {
567 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
568 FragInner uint8 `binapi:"u8,name=frag_inner" json:"frag_inner,omitempty"`
569 FragIgnoreDf uint8 `binapi:"u8,name=frag_ignore_df" json:"frag_ignore_df,omitempty"`
570 ICMPIP4ErrRelaySrc ip_types.IP4Address `binapi:"ip4_address,name=icmp_ip4_err_relay_src" json:"icmp_ip4_err_relay_src,omitempty"`
571 ICMP6EnableUnreachable bool `binapi:"bool,name=icmp6_enable_unreachable" json:"icmp6_enable_unreachable,omitempty"`
572 IP4NhAddress ip_types.IP4Address `binapi:"ip4_address,name=ip4_nh_address" json:"ip4_nh_address,omitempty"`
573 IP6NhAddress ip_types.IP6Address `binapi:"ip6_address,name=ip6_nh_address" json:"ip6_nh_address,omitempty"`
574 IP4LifetimeMs uint16 `binapi:"u16,name=ip4_lifetime_ms" json:"ip4_lifetime_ms,omitempty"`
575 IP4PoolSize uint16 `binapi:"u16,name=ip4_pool_size" json:"ip4_pool_size,omitempty"`
576 IP4Buffers uint32 `binapi:"u32,name=ip4_buffers" json:"ip4_buffers,omitempty"`
577 IP4HtRatio float64 `binapi:"f64,name=ip4_ht_ratio" json:"ip4_ht_ratio,omitempty"`
578 SecCheckEnable bool `binapi:"bool,name=sec_check_enable" json:"sec_check_enable,omitempty"`
579 SecCheckFragments bool `binapi:"bool,name=sec_check_fragments" json:"sec_check_fragments,omitempty"`
580 TcCopy bool `binapi:"bool,name=tc_copy" json:"tc_copy,omitempty"`
581 TcClass uint8 `binapi:"u8,name=tc_class" json:"tc_class,omitempty"`
584 func (m *MapParamGetReply) Reset() { *m = MapParamGetReply{} }
585 func (*MapParamGetReply) GetMessageName() string { return "map_param_get_reply" }
586 func (*MapParamGetReply) GetCrcString() string { return "28092156" }
587 func (*MapParamGetReply) GetMessageType() api.MessageType {
588 return api.ReplyMessage
591 func (m *MapParamGetReply) Size() (size int) {
595 size += 4 // m.Retval
596 size += 1 // m.FragInner
597 size += 1 // m.FragIgnoreDf
598 size += 1 * 4 // m.ICMPIP4ErrRelaySrc
599 size += 1 // m.ICMP6EnableUnreachable
600 size += 1 * 4 // m.IP4NhAddress
601 size += 1 * 16 // m.IP6NhAddress
602 size += 2 // m.IP4LifetimeMs
603 size += 2 // m.IP4PoolSize
604 size += 4 // m.IP4Buffers
605 size += 8 // m.IP4HtRatio
606 size += 1 // m.SecCheckEnable
607 size += 1 // m.SecCheckFragments
608 size += 1 // m.TcCopy
609 size += 1 // m.TcClass
612 func (m *MapParamGetReply) Marshal(b []byte) ([]byte, error) {
614 b = make([]byte, m.Size())
616 buf := codec.NewBuffer(b)
617 buf.EncodeInt32(m.Retval)
618 buf.EncodeUint8(m.FragInner)
619 buf.EncodeUint8(m.FragIgnoreDf)
620 buf.EncodeBytes(m.ICMPIP4ErrRelaySrc[:], 4)
621 buf.EncodeBool(m.ICMP6EnableUnreachable)
622 buf.EncodeBytes(m.IP4NhAddress[:], 4)
623 buf.EncodeBytes(m.IP6NhAddress[:], 16)
624 buf.EncodeUint16(m.IP4LifetimeMs)
625 buf.EncodeUint16(m.IP4PoolSize)
626 buf.EncodeUint32(m.IP4Buffers)
627 buf.EncodeFloat64(m.IP4HtRatio)
628 buf.EncodeBool(m.SecCheckEnable)
629 buf.EncodeBool(m.SecCheckFragments)
630 buf.EncodeBool(m.TcCopy)
631 buf.EncodeUint8(m.TcClass)
632 return buf.Bytes(), nil
634 func (m *MapParamGetReply) Unmarshal(b []byte) error {
635 buf := codec.NewBuffer(b)
636 m.Retval = buf.DecodeInt32()
637 m.FragInner = buf.DecodeUint8()
638 m.FragIgnoreDf = buf.DecodeUint8()
639 copy(m.ICMPIP4ErrRelaySrc[:], buf.DecodeBytes(4))
640 m.ICMP6EnableUnreachable = buf.DecodeBool()
641 copy(m.IP4NhAddress[:], buf.DecodeBytes(4))
642 copy(m.IP6NhAddress[:], buf.DecodeBytes(16))
643 m.IP4LifetimeMs = buf.DecodeUint16()
644 m.IP4PoolSize = buf.DecodeUint16()
645 m.IP4Buffers = buf.DecodeUint32()
646 m.IP4HtRatio = buf.DecodeFloat64()
647 m.SecCheckEnable = buf.DecodeBool()
648 m.SecCheckFragments = buf.DecodeBool()
649 m.TcCopy = buf.DecodeBool()
650 m.TcClass = buf.DecodeUint8()
654 // MapParamSetFragmentation defines message 'map_param_set_fragmentation'.
655 type MapParamSetFragmentation struct {
656 Inner bool `binapi:"bool,name=inner" json:"inner,omitempty"`
657 IgnoreDf bool `binapi:"bool,name=ignore_df" json:"ignore_df,omitempty"`
660 func (m *MapParamSetFragmentation) Reset() { *m = MapParamSetFragmentation{} }
661 func (*MapParamSetFragmentation) GetMessageName() string { return "map_param_set_fragmentation" }
662 func (*MapParamSetFragmentation) GetCrcString() string { return "9ff54d90" }
663 func (*MapParamSetFragmentation) GetMessageType() api.MessageType {
664 return api.RequestMessage
667 func (m *MapParamSetFragmentation) Size() (size int) {
672 size += 1 // m.IgnoreDf
675 func (m *MapParamSetFragmentation) Marshal(b []byte) ([]byte, error) {
677 b = make([]byte, m.Size())
679 buf := codec.NewBuffer(b)
680 buf.EncodeBool(m.Inner)
681 buf.EncodeBool(m.IgnoreDf)
682 return buf.Bytes(), nil
684 func (m *MapParamSetFragmentation) Unmarshal(b []byte) error {
685 buf := codec.NewBuffer(b)
686 m.Inner = buf.DecodeBool()
687 m.IgnoreDf = buf.DecodeBool()
691 // MapParamSetFragmentationReply defines message 'map_param_set_fragmentation_reply'.
692 type MapParamSetFragmentationReply struct {
693 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
696 func (m *MapParamSetFragmentationReply) Reset() { *m = MapParamSetFragmentationReply{} }
697 func (*MapParamSetFragmentationReply) GetMessageName() string {
698 return "map_param_set_fragmentation_reply"
700 func (*MapParamSetFragmentationReply) GetCrcString() string { return "e8d4e804" }
701 func (*MapParamSetFragmentationReply) GetMessageType() api.MessageType {
702 return api.ReplyMessage
705 func (m *MapParamSetFragmentationReply) Size() (size int) {
709 size += 4 // m.Retval
712 func (m *MapParamSetFragmentationReply) Marshal(b []byte) ([]byte, error) {
714 b = make([]byte, m.Size())
716 buf := codec.NewBuffer(b)
717 buf.EncodeInt32(m.Retval)
718 return buf.Bytes(), nil
720 func (m *MapParamSetFragmentationReply) Unmarshal(b []byte) error {
721 buf := codec.NewBuffer(b)
722 m.Retval = buf.DecodeInt32()
726 // MapParamSetICMP defines message 'map_param_set_icmp'.
727 type MapParamSetICMP struct {
728 IP4ErrRelaySrc ip_types.IP4Address `binapi:"ip4_address,name=ip4_err_relay_src" json:"ip4_err_relay_src,omitempty"`
731 func (m *MapParamSetICMP) Reset() { *m = MapParamSetICMP{} }
732 func (*MapParamSetICMP) GetMessageName() string { return "map_param_set_icmp" }
733 func (*MapParamSetICMP) GetCrcString() string { return "58210cbf" }
734 func (*MapParamSetICMP) GetMessageType() api.MessageType {
735 return api.RequestMessage
738 func (m *MapParamSetICMP) Size() (size int) {
742 size += 1 * 4 // m.IP4ErrRelaySrc
745 func (m *MapParamSetICMP) Marshal(b []byte) ([]byte, error) {
747 b = make([]byte, m.Size())
749 buf := codec.NewBuffer(b)
750 buf.EncodeBytes(m.IP4ErrRelaySrc[:], 4)
751 return buf.Bytes(), nil
753 func (m *MapParamSetICMP) Unmarshal(b []byte) error {
754 buf := codec.NewBuffer(b)
755 copy(m.IP4ErrRelaySrc[:], buf.DecodeBytes(4))
759 // MapParamSetICMP6 defines message 'map_param_set_icmp6'.
760 type MapParamSetICMP6 struct {
761 EnableUnreachable bool `binapi:"bool,name=enable_unreachable" json:"enable_unreachable,omitempty"`
764 func (m *MapParamSetICMP6) Reset() { *m = MapParamSetICMP6{} }
765 func (*MapParamSetICMP6) GetMessageName() string { return "map_param_set_icmp6" }
766 func (*MapParamSetICMP6) GetCrcString() string { return "5d01f8c1" }
767 func (*MapParamSetICMP6) GetMessageType() api.MessageType {
768 return api.RequestMessage
771 func (m *MapParamSetICMP6) Size() (size int) {
775 size += 1 // m.EnableUnreachable
778 func (m *MapParamSetICMP6) Marshal(b []byte) ([]byte, error) {
780 b = make([]byte, m.Size())
782 buf := codec.NewBuffer(b)
783 buf.EncodeBool(m.EnableUnreachable)
784 return buf.Bytes(), nil
786 func (m *MapParamSetICMP6) Unmarshal(b []byte) error {
787 buf := codec.NewBuffer(b)
788 m.EnableUnreachable = buf.DecodeBool()
792 // MapParamSetICMP6Reply defines message 'map_param_set_icmp6_reply'.
793 type MapParamSetICMP6Reply struct {
794 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
797 func (m *MapParamSetICMP6Reply) Reset() { *m = MapParamSetICMP6Reply{} }
798 func (*MapParamSetICMP6Reply) GetMessageName() string { return "map_param_set_icmp6_reply" }
799 func (*MapParamSetICMP6Reply) GetCrcString() string { return "e8d4e804" }
800 func (*MapParamSetICMP6Reply) GetMessageType() api.MessageType {
801 return api.ReplyMessage
804 func (m *MapParamSetICMP6Reply) Size() (size int) {
808 size += 4 // m.Retval
811 func (m *MapParamSetICMP6Reply) Marshal(b []byte) ([]byte, error) {
813 b = make([]byte, m.Size())
815 buf := codec.NewBuffer(b)
816 buf.EncodeInt32(m.Retval)
817 return buf.Bytes(), nil
819 func (m *MapParamSetICMP6Reply) Unmarshal(b []byte) error {
820 buf := codec.NewBuffer(b)
821 m.Retval = buf.DecodeInt32()
825 // MapParamSetICMPReply defines message 'map_param_set_icmp_reply'.
826 type MapParamSetICMPReply struct {
827 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
830 func (m *MapParamSetICMPReply) Reset() { *m = MapParamSetICMPReply{} }
831 func (*MapParamSetICMPReply) GetMessageName() string { return "map_param_set_icmp_reply" }
832 func (*MapParamSetICMPReply) GetCrcString() string { return "e8d4e804" }
833 func (*MapParamSetICMPReply) GetMessageType() api.MessageType {
834 return api.ReplyMessage
837 func (m *MapParamSetICMPReply) Size() (size int) {
841 size += 4 // m.Retval
844 func (m *MapParamSetICMPReply) Marshal(b []byte) ([]byte, error) {
846 b = make([]byte, m.Size())
848 buf := codec.NewBuffer(b)
849 buf.EncodeInt32(m.Retval)
850 return buf.Bytes(), nil
852 func (m *MapParamSetICMPReply) Unmarshal(b []byte) error {
853 buf := codec.NewBuffer(b)
854 m.Retval = buf.DecodeInt32()
858 // MapParamSetSecurityCheck defines message 'map_param_set_security_check'.
859 type MapParamSetSecurityCheck struct {
860 Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"`
861 Fragments bool `binapi:"bool,name=fragments" json:"fragments,omitempty"`
864 func (m *MapParamSetSecurityCheck) Reset() { *m = MapParamSetSecurityCheck{} }
865 func (*MapParamSetSecurityCheck) GetMessageName() string { return "map_param_set_security_check" }
866 func (*MapParamSetSecurityCheck) GetCrcString() string { return "6abe9836" }
867 func (*MapParamSetSecurityCheck) GetMessageType() api.MessageType {
868 return api.RequestMessage
871 func (m *MapParamSetSecurityCheck) Size() (size int) {
875 size += 1 // m.Enable
876 size += 1 // m.Fragments
879 func (m *MapParamSetSecurityCheck) Marshal(b []byte) ([]byte, error) {
881 b = make([]byte, m.Size())
883 buf := codec.NewBuffer(b)
884 buf.EncodeBool(m.Enable)
885 buf.EncodeBool(m.Fragments)
886 return buf.Bytes(), nil
888 func (m *MapParamSetSecurityCheck) Unmarshal(b []byte) error {
889 buf := codec.NewBuffer(b)
890 m.Enable = buf.DecodeBool()
891 m.Fragments = buf.DecodeBool()
895 // MapParamSetSecurityCheckReply defines message 'map_param_set_security_check_reply'.
896 type MapParamSetSecurityCheckReply struct {
897 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
900 func (m *MapParamSetSecurityCheckReply) Reset() { *m = MapParamSetSecurityCheckReply{} }
901 func (*MapParamSetSecurityCheckReply) GetMessageName() string {
902 return "map_param_set_security_check_reply"
904 func (*MapParamSetSecurityCheckReply) GetCrcString() string { return "e8d4e804" }
905 func (*MapParamSetSecurityCheckReply) GetMessageType() api.MessageType {
906 return api.ReplyMessage
909 func (m *MapParamSetSecurityCheckReply) Size() (size int) {
913 size += 4 // m.Retval
916 func (m *MapParamSetSecurityCheckReply) Marshal(b []byte) ([]byte, error) {
918 b = make([]byte, m.Size())
920 buf := codec.NewBuffer(b)
921 buf.EncodeInt32(m.Retval)
922 return buf.Bytes(), nil
924 func (m *MapParamSetSecurityCheckReply) Unmarshal(b []byte) error {
925 buf := codec.NewBuffer(b)
926 m.Retval = buf.DecodeInt32()
930 // MapParamSetTCP defines message 'map_param_set_tcp'.
931 type MapParamSetTCP struct {
932 TCPMss uint16 `binapi:"u16,name=tcp_mss" json:"tcp_mss,omitempty"`
935 func (m *MapParamSetTCP) Reset() { *m = MapParamSetTCP{} }
936 func (*MapParamSetTCP) GetMessageName() string { return "map_param_set_tcp" }
937 func (*MapParamSetTCP) GetCrcString() string { return "87a825d9" }
938 func (*MapParamSetTCP) GetMessageType() api.MessageType {
939 return api.RequestMessage
942 func (m *MapParamSetTCP) Size() (size int) {
946 size += 2 // m.TCPMss
949 func (m *MapParamSetTCP) Marshal(b []byte) ([]byte, error) {
951 b = make([]byte, m.Size())
953 buf := codec.NewBuffer(b)
954 buf.EncodeUint16(m.TCPMss)
955 return buf.Bytes(), nil
957 func (m *MapParamSetTCP) Unmarshal(b []byte) error {
958 buf := codec.NewBuffer(b)
959 m.TCPMss = buf.DecodeUint16()
963 // MapParamSetTCPReply defines message 'map_param_set_tcp_reply'.
964 type MapParamSetTCPReply struct {
965 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
968 func (m *MapParamSetTCPReply) Reset() { *m = MapParamSetTCPReply{} }
969 func (*MapParamSetTCPReply) GetMessageName() string { return "map_param_set_tcp_reply" }
970 func (*MapParamSetTCPReply) GetCrcString() string { return "e8d4e804" }
971 func (*MapParamSetTCPReply) GetMessageType() api.MessageType {
972 return api.ReplyMessage
975 func (m *MapParamSetTCPReply) Size() (size int) {
979 size += 4 // m.Retval
982 func (m *MapParamSetTCPReply) Marshal(b []byte) ([]byte, error) {
984 b = make([]byte, m.Size())
986 buf := codec.NewBuffer(b)
987 buf.EncodeInt32(m.Retval)
988 return buf.Bytes(), nil
990 func (m *MapParamSetTCPReply) Unmarshal(b []byte) error {
991 buf := codec.NewBuffer(b)
992 m.Retval = buf.DecodeInt32()
996 // MapParamSetTrafficClass defines message 'map_param_set_traffic_class'.
997 type MapParamSetTrafficClass struct {
998 Copy bool `binapi:"bool,name=copy" json:"copy,omitempty"`
999 TcClass uint8 `binapi:"u8,name=tc_class" json:"tc_class,omitempty"`
1002 func (m *MapParamSetTrafficClass) Reset() { *m = MapParamSetTrafficClass{} }
1003 func (*MapParamSetTrafficClass) GetMessageName() string { return "map_param_set_traffic_class" }
1004 func (*MapParamSetTrafficClass) GetCrcString() string { return "9cac455c" }
1005 func (*MapParamSetTrafficClass) GetMessageType() api.MessageType {
1006 return api.RequestMessage
1009 func (m *MapParamSetTrafficClass) Size() (size int) {
1014 size += 1 // m.TcClass
1017 func (m *MapParamSetTrafficClass) Marshal(b []byte) ([]byte, error) {
1019 b = make([]byte, m.Size())
1021 buf := codec.NewBuffer(b)
1022 buf.EncodeBool(m.Copy)
1023 buf.EncodeUint8(m.TcClass)
1024 return buf.Bytes(), nil
1026 func (m *MapParamSetTrafficClass) Unmarshal(b []byte) error {
1027 buf := codec.NewBuffer(b)
1028 m.Copy = buf.DecodeBool()
1029 m.TcClass = buf.DecodeUint8()
1033 // MapParamSetTrafficClassReply defines message 'map_param_set_traffic_class_reply'.
1034 type MapParamSetTrafficClassReply struct {
1035 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1038 func (m *MapParamSetTrafficClassReply) Reset() { *m = MapParamSetTrafficClassReply{} }
1039 func (*MapParamSetTrafficClassReply) GetMessageName() string {
1040 return "map_param_set_traffic_class_reply"
1042 func (*MapParamSetTrafficClassReply) GetCrcString() string { return "e8d4e804" }
1043 func (*MapParamSetTrafficClassReply) GetMessageType() api.MessageType {
1044 return api.ReplyMessage
1047 func (m *MapParamSetTrafficClassReply) Size() (size int) {
1051 size += 4 // m.Retval
1054 func (m *MapParamSetTrafficClassReply) Marshal(b []byte) ([]byte, error) {
1056 b = make([]byte, m.Size())
1058 buf := codec.NewBuffer(b)
1059 buf.EncodeInt32(m.Retval)
1060 return buf.Bytes(), nil
1062 func (m *MapParamSetTrafficClassReply) Unmarshal(b []byte) error {
1063 buf := codec.NewBuffer(b)
1064 m.Retval = buf.DecodeInt32()
1068 // MapRuleDetails defines message 'map_rule_details'.
1069 type MapRuleDetails struct {
1070 IP6Dst ip_types.IP6Address `binapi:"ip6_address,name=ip6_dst" json:"ip6_dst,omitempty"`
1071 Psid uint16 `binapi:"u16,name=psid" json:"psid,omitempty"`
1074 func (m *MapRuleDetails) Reset() { *m = MapRuleDetails{} }
1075 func (*MapRuleDetails) GetMessageName() string { return "map_rule_details" }
1076 func (*MapRuleDetails) GetCrcString() string { return "c7cbeea5" }
1077 func (*MapRuleDetails) GetMessageType() api.MessageType {
1078 return api.ReplyMessage
1081 func (m *MapRuleDetails) Size() (size int) {
1085 size += 1 * 16 // m.IP6Dst
1089 func (m *MapRuleDetails) Marshal(b []byte) ([]byte, error) {
1091 b = make([]byte, m.Size())
1093 buf := codec.NewBuffer(b)
1094 buf.EncodeBytes(m.IP6Dst[:], 16)
1095 buf.EncodeUint16(m.Psid)
1096 return buf.Bytes(), nil
1098 func (m *MapRuleDetails) Unmarshal(b []byte) error {
1099 buf := codec.NewBuffer(b)
1100 copy(m.IP6Dst[:], buf.DecodeBytes(16))
1101 m.Psid = buf.DecodeUint16()
1105 // MapRuleDump defines message 'map_rule_dump'.
1106 type MapRuleDump struct {
1107 DomainIndex uint32 `binapi:"u32,name=domain_index" json:"domain_index,omitempty"`
1110 func (m *MapRuleDump) Reset() { *m = MapRuleDump{} }
1111 func (*MapRuleDump) GetMessageName() string { return "map_rule_dump" }
1112 func (*MapRuleDump) GetCrcString() string { return "e43e6ff6" }
1113 func (*MapRuleDump) GetMessageType() api.MessageType {
1114 return api.RequestMessage
1117 func (m *MapRuleDump) Size() (size int) {
1121 size += 4 // m.DomainIndex
1124 func (m *MapRuleDump) Marshal(b []byte) ([]byte, error) {
1126 b = make([]byte, m.Size())
1128 buf := codec.NewBuffer(b)
1129 buf.EncodeUint32(m.DomainIndex)
1130 return buf.Bytes(), nil
1132 func (m *MapRuleDump) Unmarshal(b []byte) error {
1133 buf := codec.NewBuffer(b)
1134 m.DomainIndex = buf.DecodeUint32()
1138 // MapSummaryStats defines message 'map_summary_stats'.
1139 type MapSummaryStats struct{}
1141 func (m *MapSummaryStats) Reset() { *m = MapSummaryStats{} }
1142 func (*MapSummaryStats) GetMessageName() string { return "map_summary_stats" }
1143 func (*MapSummaryStats) GetCrcString() string { return "51077d14" }
1144 func (*MapSummaryStats) GetMessageType() api.MessageType {
1145 return api.RequestMessage
1148 func (m *MapSummaryStats) Size() (size int) {
1154 func (m *MapSummaryStats) Marshal(b []byte) ([]byte, error) {
1156 b = make([]byte, m.Size())
1158 buf := codec.NewBuffer(b)
1159 return buf.Bytes(), nil
1161 func (m *MapSummaryStats) Unmarshal(b []byte) error {
1165 // MapSummaryStatsReply defines message 'map_summary_stats_reply'.
1166 type MapSummaryStatsReply struct {
1167 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1168 TotalBindings uint64 `binapi:"u64,name=total_bindings" json:"total_bindings,omitempty"`
1169 TotalPkts []uint64 `binapi:"u64[2],name=total_pkts" json:"total_pkts,omitempty"`
1170 TotalBytes []uint64 `binapi:"u64[2],name=total_bytes" json:"total_bytes,omitempty"`
1171 TotalIP4Fragments uint64 `binapi:"u64,name=total_ip4_fragments" json:"total_ip4_fragments,omitempty"`
1172 TotalSecurityCheck []uint64 `binapi:"u64[2],name=total_security_check" json:"total_security_check,omitempty"`
1175 func (m *MapSummaryStatsReply) Reset() { *m = MapSummaryStatsReply{} }
1176 func (*MapSummaryStatsReply) GetMessageName() string { return "map_summary_stats_reply" }
1177 func (*MapSummaryStatsReply) GetCrcString() string { return "0e4ace0e" }
1178 func (*MapSummaryStatsReply) GetMessageType() api.MessageType {
1179 return api.ReplyMessage
1182 func (m *MapSummaryStatsReply) Size() (size int) {
1186 size += 4 // m.Retval
1187 size += 8 // m.TotalBindings
1188 size += 8 * 2 // m.TotalPkts
1189 size += 8 * 2 // m.TotalBytes
1190 size += 8 // m.TotalIP4Fragments
1191 size += 8 * 2 // m.TotalSecurityCheck
1194 func (m *MapSummaryStatsReply) Marshal(b []byte) ([]byte, error) {
1196 b = make([]byte, m.Size())
1198 buf := codec.NewBuffer(b)
1199 buf.EncodeInt32(m.Retval)
1200 buf.EncodeUint64(m.TotalBindings)
1201 for i := 0; i < 2; i++ {
1203 if i < len(m.TotalPkts) {
1204 x = uint64(m.TotalPkts[i])
1208 for i := 0; i < 2; i++ {
1210 if i < len(m.TotalBytes) {
1211 x = uint64(m.TotalBytes[i])
1215 buf.EncodeUint64(m.TotalIP4Fragments)
1216 for i := 0; i < 2; i++ {
1218 if i < len(m.TotalSecurityCheck) {
1219 x = uint64(m.TotalSecurityCheck[i])
1223 return buf.Bytes(), nil
1225 func (m *MapSummaryStatsReply) Unmarshal(b []byte) error {
1226 buf := codec.NewBuffer(b)
1227 m.Retval = buf.DecodeInt32()
1228 m.TotalBindings = buf.DecodeUint64()
1229 m.TotalPkts = make([]uint64, 2)
1230 for i := 0; i < len(m.TotalPkts); i++ {
1231 m.TotalPkts[i] = buf.DecodeUint64()
1233 m.TotalBytes = make([]uint64, 2)
1234 for i := 0; i < len(m.TotalBytes); i++ {
1235 m.TotalBytes[i] = buf.DecodeUint64()
1237 m.TotalIP4Fragments = buf.DecodeUint64()
1238 m.TotalSecurityCheck = make([]uint64, 2)
1239 for i := 0; i < len(m.TotalSecurityCheck); i++ {
1240 m.TotalSecurityCheck[i] = buf.DecodeUint64()
1245 func init() { file_maps_binapi_init() }
1246 func file_maps_binapi_init() {
1247 api.RegisterMessage((*MapAddDelRule)(nil), "map_add_del_rule_c65b32f7")
1248 api.RegisterMessage((*MapAddDelRuleReply)(nil), "map_add_del_rule_reply_e8d4e804")
1249 api.RegisterMessage((*MapAddDomain)(nil), "map_add_domain_7a5a18c9")
1250 api.RegisterMessage((*MapAddDomainReply)(nil), "map_add_domain_reply_3e6d4e2c")
1251 api.RegisterMessage((*MapDelDomain)(nil), "map_del_domain_8ac76db6")
1252 api.RegisterMessage((*MapDelDomainReply)(nil), "map_del_domain_reply_e8d4e804")
1253 api.RegisterMessage((*MapDomainDetails)(nil), "map_domain_details_fc1859dd")
1254 api.RegisterMessage((*MapDomainDump)(nil), "map_domain_dump_51077d14")
1255 api.RegisterMessage((*MapIfEnableDisable)(nil), "map_if_enable_disable_59bb32f4")
1256 api.RegisterMessage((*MapIfEnableDisableReply)(nil), "map_if_enable_disable_reply_e8d4e804")
1257 api.RegisterMessage((*MapParamAddDelPreResolve)(nil), "map_param_add_del_pre_resolve_17008c66")
1258 api.RegisterMessage((*MapParamAddDelPreResolveReply)(nil), "map_param_add_del_pre_resolve_reply_e8d4e804")
1259 api.RegisterMessage((*MapParamGet)(nil), "map_param_get_51077d14")
1260 api.RegisterMessage((*MapParamGetReply)(nil), "map_param_get_reply_28092156")
1261 api.RegisterMessage((*MapParamSetFragmentation)(nil), "map_param_set_fragmentation_9ff54d90")
1262 api.RegisterMessage((*MapParamSetFragmentationReply)(nil), "map_param_set_fragmentation_reply_e8d4e804")
1263 api.RegisterMessage((*MapParamSetICMP)(nil), "map_param_set_icmp_58210cbf")
1264 api.RegisterMessage((*MapParamSetICMP6)(nil), "map_param_set_icmp6_5d01f8c1")
1265 api.RegisterMessage((*MapParamSetICMP6Reply)(nil), "map_param_set_icmp6_reply_e8d4e804")
1266 api.RegisterMessage((*MapParamSetICMPReply)(nil), "map_param_set_icmp_reply_e8d4e804")
1267 api.RegisterMessage((*MapParamSetSecurityCheck)(nil), "map_param_set_security_check_6abe9836")
1268 api.RegisterMessage((*MapParamSetSecurityCheckReply)(nil), "map_param_set_security_check_reply_e8d4e804")
1269 api.RegisterMessage((*MapParamSetTCP)(nil), "map_param_set_tcp_87a825d9")
1270 api.RegisterMessage((*MapParamSetTCPReply)(nil), "map_param_set_tcp_reply_e8d4e804")
1271 api.RegisterMessage((*MapParamSetTrafficClass)(nil), "map_param_set_traffic_class_9cac455c")
1272 api.RegisterMessage((*MapParamSetTrafficClassReply)(nil), "map_param_set_traffic_class_reply_e8d4e804")
1273 api.RegisterMessage((*MapRuleDetails)(nil), "map_rule_details_c7cbeea5")
1274 api.RegisterMessage((*MapRuleDump)(nil), "map_rule_dump_e43e6ff6")
1275 api.RegisterMessage((*MapSummaryStats)(nil), "map_summary_stats_51077d14")
1276 api.RegisterMessage((*MapSummaryStatsReply)(nil), "map_summary_stats_reply_0e4ace0e")
1279 // Messages returns list of all messages in this module.
1280 func AllMessages() []api.Message {
1281 return []api.Message{
1282 (*MapAddDelRule)(nil),
1283 (*MapAddDelRuleReply)(nil),
1284 (*MapAddDomain)(nil),
1285 (*MapAddDomainReply)(nil),
1286 (*MapDelDomain)(nil),
1287 (*MapDelDomainReply)(nil),
1288 (*MapDomainDetails)(nil),
1289 (*MapDomainDump)(nil),
1290 (*MapIfEnableDisable)(nil),
1291 (*MapIfEnableDisableReply)(nil),
1292 (*MapParamAddDelPreResolve)(nil),
1293 (*MapParamAddDelPreResolveReply)(nil),
1294 (*MapParamGet)(nil),
1295 (*MapParamGetReply)(nil),
1296 (*MapParamSetFragmentation)(nil),
1297 (*MapParamSetFragmentationReply)(nil),
1298 (*MapParamSetICMP)(nil),
1299 (*MapParamSetICMP6)(nil),
1300 (*MapParamSetICMP6Reply)(nil),
1301 (*MapParamSetICMPReply)(nil),
1302 (*MapParamSetSecurityCheck)(nil),
1303 (*MapParamSetSecurityCheckReply)(nil),
1304 (*MapParamSetTCP)(nil),
1305 (*MapParamSetTCPReply)(nil),
1306 (*MapParamSetTrafficClass)(nil),
1307 (*MapParamSetTrafficClassReply)(nil),
1308 (*MapRuleDetails)(nil),
1309 (*MapRuleDump)(nil),
1310 (*MapSummaryStats)(nil),
1311 (*MapSummaryStatsReply)(nil),