8f5968b8e5019314beb54ccd6ed41db79904acd4
[govpp.git] / binapi / nat44_ei / nat44_ei.ba.go
1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
2 // versions:
3 //  binapi-generator: v0.5.0-dev
4 //  VPP:              21.06-release
5 // source: /usr/share/vpp/api/plugins/nat44_ei.api.json
6
7 // Package nat44_ei contains generated bindings for API file nat44_ei.api.
8 //
9 // Contents:
10 //   1 enum
11 //  73 messages
12 //
13 package nat44_ei
14
15 import (
16         "strconv"
17
18         api "git.fd.io/govpp.git/api"
19         interface_types "git.fd.io/govpp.git/binapi/interface_types"
20         ip_types "git.fd.io/govpp.git/binapi/ip_types"
21         nat_types "git.fd.io/govpp.git/binapi/nat_types"
22         codec "git.fd.io/govpp.git/codec"
23 )
24
25 // This is a compile-time assertion to ensure that this generated file
26 // is compatible with the GoVPP api package it is being compiled against.
27 // A compilation error at this line likely means your copy of the
28 // GoVPP api package needs to be updated.
29 const _ = api.GoVppAPIPackageIsVersion2
30
31 const (
32         APIFile    = "nat44_ei"
33         APIVersion = "1.1.1"
34         VersionCrc = 0x62d113ee
35 )
36
37 // Nat44EiConfigFlags defines enum 'nat44_ei_config_flags'.
38 type Nat44EiConfigFlags uint8
39
40 const (
41         NAT44_EI_NONE                Nat44EiConfigFlags = 0
42         NAT44_EI_STATIC_MAPPING_ONLY Nat44EiConfigFlags = 1
43         NAT44_EI_CONNECTION_TRACKING Nat44EiConfigFlags = 2
44         NAT44_EI_OUT2IN_DPO          Nat44EiConfigFlags = 4
45         NAT44_EI_ADDR_ONLY_MAPPING   Nat44EiConfigFlags = 8
46         NAT44_EI_IF_INSIDE           Nat44EiConfigFlags = 16
47         NAT44_EI_IF_OUTSIDE          Nat44EiConfigFlags = 32
48         NAT44_EI_STATIC_MAPPING      Nat44EiConfigFlags = 64
49 )
50
51 var (
52         Nat44EiConfigFlags_name = map[uint8]string{
53                 0:  "NAT44_EI_NONE",
54                 1:  "NAT44_EI_STATIC_MAPPING_ONLY",
55                 2:  "NAT44_EI_CONNECTION_TRACKING",
56                 4:  "NAT44_EI_OUT2IN_DPO",
57                 8:  "NAT44_EI_ADDR_ONLY_MAPPING",
58                 16: "NAT44_EI_IF_INSIDE",
59                 32: "NAT44_EI_IF_OUTSIDE",
60                 64: "NAT44_EI_STATIC_MAPPING",
61         }
62         Nat44EiConfigFlags_value = map[string]uint8{
63                 "NAT44_EI_NONE":                0,
64                 "NAT44_EI_STATIC_MAPPING_ONLY": 1,
65                 "NAT44_EI_CONNECTION_TRACKING": 2,
66                 "NAT44_EI_OUT2IN_DPO":          4,
67                 "NAT44_EI_ADDR_ONLY_MAPPING":   8,
68                 "NAT44_EI_IF_INSIDE":           16,
69                 "NAT44_EI_IF_OUTSIDE":          32,
70                 "NAT44_EI_STATIC_MAPPING":      64,
71         }
72 )
73
74 func (x Nat44EiConfigFlags) String() string {
75         s, ok := Nat44EiConfigFlags_name[uint8(x)]
76         if ok {
77                 return s
78         }
79         str := func(n uint8) string {
80                 s, ok := Nat44EiConfigFlags_name[uint8(n)]
81                 if ok {
82                         return s
83                 }
84                 return "Nat44EiConfigFlags(" + strconv.Itoa(int(n)) + ")"
85         }
86         for i := uint8(0); i <= 8; i++ {
87                 val := uint8(x)
88                 if val&(1<<i) != 0 {
89                         if s != "" {
90                                 s += "|"
91                         }
92                         s += str(1 << i)
93                 }
94         }
95         if s == "" {
96                 return str(uint8(x))
97         }
98         return s
99 }
100
101 // Nat44EiAddDelAddressRange defines message 'nat44_ei_add_del_address_range'.
102 // InProgress: the message form may change in the future versions
103 type Nat44EiAddDelAddressRange struct {
104         FirstIPAddress ip_types.IP4Address `binapi:"ip4_address,name=first_ip_address" json:"first_ip_address,omitempty"`
105         LastIPAddress  ip_types.IP4Address `binapi:"ip4_address,name=last_ip_address" json:"last_ip_address,omitempty"`
106         VrfID          uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
107         IsAdd          bool                `binapi:"bool,name=is_add" json:"is_add,omitempty"`
108 }
109
110 func (m *Nat44EiAddDelAddressRange) Reset()               { *m = Nat44EiAddDelAddressRange{} }
111 func (*Nat44EiAddDelAddressRange) GetMessageName() string { return "nat44_ei_add_del_address_range" }
112 func (*Nat44EiAddDelAddressRange) GetCrcString() string   { return "35f21abc" }
113 func (*Nat44EiAddDelAddressRange) GetMessageType() api.MessageType {
114         return api.RequestMessage
115 }
116
117 func (m *Nat44EiAddDelAddressRange) Size() (size int) {
118         if m == nil {
119                 return 0
120         }
121         size += 1 * 4 // m.FirstIPAddress
122         size += 1 * 4 // m.LastIPAddress
123         size += 4     // m.VrfID
124         size += 1     // m.IsAdd
125         return size
126 }
127 func (m *Nat44EiAddDelAddressRange) Marshal(b []byte) ([]byte, error) {
128         if b == nil {
129                 b = make([]byte, m.Size())
130         }
131         buf := codec.NewBuffer(b)
132         buf.EncodeBytes(m.FirstIPAddress[:], 4)
133         buf.EncodeBytes(m.LastIPAddress[:], 4)
134         buf.EncodeUint32(m.VrfID)
135         buf.EncodeBool(m.IsAdd)
136         return buf.Bytes(), nil
137 }
138 func (m *Nat44EiAddDelAddressRange) Unmarshal(b []byte) error {
139         buf := codec.NewBuffer(b)
140         copy(m.FirstIPAddress[:], buf.DecodeBytes(4))
141         copy(m.LastIPAddress[:], buf.DecodeBytes(4))
142         m.VrfID = buf.DecodeUint32()
143         m.IsAdd = buf.DecodeBool()
144         return nil
145 }
146
147 // Nat44EiAddDelAddressRangeReply defines message 'nat44_ei_add_del_address_range_reply'.
148 // InProgress: the message form may change in the future versions
149 type Nat44EiAddDelAddressRangeReply struct {
150         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
151 }
152
153 func (m *Nat44EiAddDelAddressRangeReply) Reset() { *m = Nat44EiAddDelAddressRangeReply{} }
154 func (*Nat44EiAddDelAddressRangeReply) GetMessageName() string {
155         return "nat44_ei_add_del_address_range_reply"
156 }
157 func (*Nat44EiAddDelAddressRangeReply) GetCrcString() string { return "e8d4e804" }
158 func (*Nat44EiAddDelAddressRangeReply) GetMessageType() api.MessageType {
159         return api.ReplyMessage
160 }
161
162 func (m *Nat44EiAddDelAddressRangeReply) Size() (size int) {
163         if m == nil {
164                 return 0
165         }
166         size += 4 // m.Retval
167         return size
168 }
169 func (m *Nat44EiAddDelAddressRangeReply) Marshal(b []byte) ([]byte, error) {
170         if b == nil {
171                 b = make([]byte, m.Size())
172         }
173         buf := codec.NewBuffer(b)
174         buf.EncodeInt32(m.Retval)
175         return buf.Bytes(), nil
176 }
177 func (m *Nat44EiAddDelAddressRangeReply) Unmarshal(b []byte) error {
178         buf := codec.NewBuffer(b)
179         m.Retval = buf.DecodeInt32()
180         return nil
181 }
182
183 // Nat44EiAddDelIdentityMapping defines message 'nat44_ei_add_del_identity_mapping'.
184 // Deprecated: the message will be removed in the future versions
185 type Nat44EiAddDelIdentityMapping struct {
186         IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
187         Flags     Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
188         IPAddress ip_types.IP4Address            `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
189         Protocol  uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
190         Port      uint16                         `binapi:"u16,name=port" json:"port,omitempty"`
191         SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
192         VrfID     uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
193         Tag       string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
194 }
195
196 func (m *Nat44EiAddDelIdentityMapping) Reset() { *m = Nat44EiAddDelIdentityMapping{} }
197 func (*Nat44EiAddDelIdentityMapping) GetMessageName() string {
198         return "nat44_ei_add_del_identity_mapping"
199 }
200 func (*Nat44EiAddDelIdentityMapping) GetCrcString() string { return "cb8606b9" }
201 func (*Nat44EiAddDelIdentityMapping) GetMessageType() api.MessageType {
202         return api.RequestMessage
203 }
204
205 func (m *Nat44EiAddDelIdentityMapping) Size() (size int) {
206         if m == nil {
207                 return 0
208         }
209         size += 1     // m.IsAdd
210         size += 1     // m.Flags
211         size += 1 * 4 // m.IPAddress
212         size += 1     // m.Protocol
213         size += 2     // m.Port
214         size += 4     // m.SwIfIndex
215         size += 4     // m.VrfID
216         size += 64    // m.Tag
217         return size
218 }
219 func (m *Nat44EiAddDelIdentityMapping) Marshal(b []byte) ([]byte, error) {
220         if b == nil {
221                 b = make([]byte, m.Size())
222         }
223         buf := codec.NewBuffer(b)
224         buf.EncodeBool(m.IsAdd)
225         buf.EncodeUint8(uint8(m.Flags))
226         buf.EncodeBytes(m.IPAddress[:], 4)
227         buf.EncodeUint8(m.Protocol)
228         buf.EncodeUint16(m.Port)
229         buf.EncodeUint32(uint32(m.SwIfIndex))
230         buf.EncodeUint32(m.VrfID)
231         buf.EncodeString(m.Tag, 64)
232         return buf.Bytes(), nil
233 }
234 func (m *Nat44EiAddDelIdentityMapping) Unmarshal(b []byte) error {
235         buf := codec.NewBuffer(b)
236         m.IsAdd = buf.DecodeBool()
237         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
238         copy(m.IPAddress[:], buf.DecodeBytes(4))
239         m.Protocol = buf.DecodeUint8()
240         m.Port = buf.DecodeUint16()
241         m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
242         m.VrfID = buf.DecodeUint32()
243         m.Tag = buf.DecodeString(64)
244         return nil
245 }
246
247 // Nat44EiAddDelIdentityMappingReply defines message 'nat44_ei_add_del_identity_mapping_reply'.
248 // Deprecated: the message will be removed in the future versions
249 type Nat44EiAddDelIdentityMappingReply struct {
250         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
251 }
252
253 func (m *Nat44EiAddDelIdentityMappingReply) Reset() { *m = Nat44EiAddDelIdentityMappingReply{} }
254 func (*Nat44EiAddDelIdentityMappingReply) GetMessageName() string {
255         return "nat44_ei_add_del_identity_mapping_reply"
256 }
257 func (*Nat44EiAddDelIdentityMappingReply) GetCrcString() string { return "e8d4e804" }
258 func (*Nat44EiAddDelIdentityMappingReply) GetMessageType() api.MessageType {
259         return api.ReplyMessage
260 }
261
262 func (m *Nat44EiAddDelIdentityMappingReply) Size() (size int) {
263         if m == nil {
264                 return 0
265         }
266         size += 4 // m.Retval
267         return size
268 }
269 func (m *Nat44EiAddDelIdentityMappingReply) Marshal(b []byte) ([]byte, error) {
270         if b == nil {
271                 b = make([]byte, m.Size())
272         }
273         buf := codec.NewBuffer(b)
274         buf.EncodeInt32(m.Retval)
275         return buf.Bytes(), nil
276 }
277 func (m *Nat44EiAddDelIdentityMappingReply) Unmarshal(b []byte) error {
278         buf := codec.NewBuffer(b)
279         m.Retval = buf.DecodeInt32()
280         return nil
281 }
282
283 // Nat44EiAddDelInterfaceAddr defines message 'nat44_ei_add_del_interface_addr'.
284 // Deprecated: the message will be removed in the future versions
285 type Nat44EiAddDelInterfaceAddr struct {
286         IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
287         SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
288         Flags     Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
289 }
290
291 func (m *Nat44EiAddDelInterfaceAddr) Reset()               { *m = Nat44EiAddDelInterfaceAddr{} }
292 func (*Nat44EiAddDelInterfaceAddr) GetMessageName() string { return "nat44_ei_add_del_interface_addr" }
293 func (*Nat44EiAddDelInterfaceAddr) GetCrcString() string   { return "883abbcc" }
294 func (*Nat44EiAddDelInterfaceAddr) GetMessageType() api.MessageType {
295         return api.RequestMessage
296 }
297
298 func (m *Nat44EiAddDelInterfaceAddr) Size() (size int) {
299         if m == nil {
300                 return 0
301         }
302         size += 1 // m.IsAdd
303         size += 4 // m.SwIfIndex
304         size += 1 // m.Flags
305         return size
306 }
307 func (m *Nat44EiAddDelInterfaceAddr) Marshal(b []byte) ([]byte, error) {
308         if b == nil {
309                 b = make([]byte, m.Size())
310         }
311         buf := codec.NewBuffer(b)
312         buf.EncodeBool(m.IsAdd)
313         buf.EncodeUint32(uint32(m.SwIfIndex))
314         buf.EncodeUint8(uint8(m.Flags))
315         return buf.Bytes(), nil
316 }
317 func (m *Nat44EiAddDelInterfaceAddr) Unmarshal(b []byte) error {
318         buf := codec.NewBuffer(b)
319         m.IsAdd = buf.DecodeBool()
320         m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
321         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
322         return nil
323 }
324
325 // Nat44EiAddDelInterfaceAddrReply defines message 'nat44_ei_add_del_interface_addr_reply'.
326 // Deprecated: the message will be removed in the future versions
327 type Nat44EiAddDelInterfaceAddrReply struct {
328         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
329 }
330
331 func (m *Nat44EiAddDelInterfaceAddrReply) Reset() { *m = Nat44EiAddDelInterfaceAddrReply{} }
332 func (*Nat44EiAddDelInterfaceAddrReply) GetMessageName() string {
333         return "nat44_ei_add_del_interface_addr_reply"
334 }
335 func (*Nat44EiAddDelInterfaceAddrReply) GetCrcString() string { return "e8d4e804" }
336 func (*Nat44EiAddDelInterfaceAddrReply) GetMessageType() api.MessageType {
337         return api.ReplyMessage
338 }
339
340 func (m *Nat44EiAddDelInterfaceAddrReply) Size() (size int) {
341         if m == nil {
342                 return 0
343         }
344         size += 4 // m.Retval
345         return size
346 }
347 func (m *Nat44EiAddDelInterfaceAddrReply) Marshal(b []byte) ([]byte, error) {
348         if b == nil {
349                 b = make([]byte, m.Size())
350         }
351         buf := codec.NewBuffer(b)
352         buf.EncodeInt32(m.Retval)
353         return buf.Bytes(), nil
354 }
355 func (m *Nat44EiAddDelInterfaceAddrReply) Unmarshal(b []byte) error {
356         buf := codec.NewBuffer(b)
357         m.Retval = buf.DecodeInt32()
358         return nil
359 }
360
361 // Nat44EiAddDelStaticMapping defines message 'nat44_ei_add_del_static_mapping'.
362 // InProgress: the message form may change in the future versions
363 type Nat44EiAddDelStaticMapping struct {
364         IsAdd             bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
365         Flags             Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
366         LocalIPAddress    ip_types.IP4Address            `binapi:"ip4_address,name=local_ip_address" json:"local_ip_address,omitempty"`
367         ExternalIPAddress ip_types.IP4Address            `binapi:"ip4_address,name=external_ip_address" json:"external_ip_address,omitempty"`
368         Protocol          uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
369         LocalPort         uint16                         `binapi:"u16,name=local_port" json:"local_port,omitempty"`
370         ExternalPort      uint16                         `binapi:"u16,name=external_port" json:"external_port,omitempty"`
371         ExternalSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=external_sw_if_index" json:"external_sw_if_index,omitempty"`
372         VrfID             uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
373         Tag               string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
374 }
375
376 func (m *Nat44EiAddDelStaticMapping) Reset()               { *m = Nat44EiAddDelStaticMapping{} }
377 func (*Nat44EiAddDelStaticMapping) GetMessageName() string { return "nat44_ei_add_del_static_mapping" }
378 func (*Nat44EiAddDelStaticMapping) GetCrcString() string   { return "b404b7fe" }
379 func (*Nat44EiAddDelStaticMapping) GetMessageType() api.MessageType {
380         return api.RequestMessage
381 }
382
383 func (m *Nat44EiAddDelStaticMapping) Size() (size int) {
384         if m == nil {
385                 return 0
386         }
387         size += 1     // m.IsAdd
388         size += 1     // m.Flags
389         size += 1 * 4 // m.LocalIPAddress
390         size += 1 * 4 // m.ExternalIPAddress
391         size += 1     // m.Protocol
392         size += 2     // m.LocalPort
393         size += 2     // m.ExternalPort
394         size += 4     // m.ExternalSwIfIndex
395         size += 4     // m.VrfID
396         size += 64    // m.Tag
397         return size
398 }
399 func (m *Nat44EiAddDelStaticMapping) Marshal(b []byte) ([]byte, error) {
400         if b == nil {
401                 b = make([]byte, m.Size())
402         }
403         buf := codec.NewBuffer(b)
404         buf.EncodeBool(m.IsAdd)
405         buf.EncodeUint8(uint8(m.Flags))
406         buf.EncodeBytes(m.LocalIPAddress[:], 4)
407         buf.EncodeBytes(m.ExternalIPAddress[:], 4)
408         buf.EncodeUint8(m.Protocol)
409         buf.EncodeUint16(m.LocalPort)
410         buf.EncodeUint16(m.ExternalPort)
411         buf.EncodeUint32(uint32(m.ExternalSwIfIndex))
412         buf.EncodeUint32(m.VrfID)
413         buf.EncodeString(m.Tag, 64)
414         return buf.Bytes(), nil
415 }
416 func (m *Nat44EiAddDelStaticMapping) Unmarshal(b []byte) error {
417         buf := codec.NewBuffer(b)
418         m.IsAdd = buf.DecodeBool()
419         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
420         copy(m.LocalIPAddress[:], buf.DecodeBytes(4))
421         copy(m.ExternalIPAddress[:], buf.DecodeBytes(4))
422         m.Protocol = buf.DecodeUint8()
423         m.LocalPort = buf.DecodeUint16()
424         m.ExternalPort = buf.DecodeUint16()
425         m.ExternalSwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
426         m.VrfID = buf.DecodeUint32()
427         m.Tag = buf.DecodeString(64)
428         return nil
429 }
430
431 // Nat44EiAddDelStaticMappingReply defines message 'nat44_ei_add_del_static_mapping_reply'.
432 // InProgress: the message form may change in the future versions
433 type Nat44EiAddDelStaticMappingReply struct {
434         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
435 }
436
437 func (m *Nat44EiAddDelStaticMappingReply) Reset() { *m = Nat44EiAddDelStaticMappingReply{} }
438 func (*Nat44EiAddDelStaticMappingReply) GetMessageName() string {
439         return "nat44_ei_add_del_static_mapping_reply"
440 }
441 func (*Nat44EiAddDelStaticMappingReply) GetCrcString() string { return "e8d4e804" }
442 func (*Nat44EiAddDelStaticMappingReply) GetMessageType() api.MessageType {
443         return api.ReplyMessage
444 }
445
446 func (m *Nat44EiAddDelStaticMappingReply) Size() (size int) {
447         if m == nil {
448                 return 0
449         }
450         size += 4 // m.Retval
451         return size
452 }
453 func (m *Nat44EiAddDelStaticMappingReply) Marshal(b []byte) ([]byte, error) {
454         if b == nil {
455                 b = make([]byte, m.Size())
456         }
457         buf := codec.NewBuffer(b)
458         buf.EncodeInt32(m.Retval)
459         return buf.Bytes(), nil
460 }
461 func (m *Nat44EiAddDelStaticMappingReply) Unmarshal(b []byte) error {
462         buf := codec.NewBuffer(b)
463         m.Retval = buf.DecodeInt32()
464         return nil
465 }
466
467 // Nat44EiAddressDetails defines message 'nat44_ei_address_details'.
468 // InProgress: the message form may change in the future versions
469 type Nat44EiAddressDetails struct {
470         IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
471         VrfID     uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
472 }
473
474 func (m *Nat44EiAddressDetails) Reset()               { *m = Nat44EiAddressDetails{} }
475 func (*Nat44EiAddressDetails) GetMessageName() string { return "nat44_ei_address_details" }
476 func (*Nat44EiAddressDetails) GetCrcString() string   { return "318f1202" }
477 func (*Nat44EiAddressDetails) GetMessageType() api.MessageType {
478         return api.ReplyMessage
479 }
480
481 func (m *Nat44EiAddressDetails) Size() (size int) {
482         if m == nil {
483                 return 0
484         }
485         size += 1 * 4 // m.IPAddress
486         size += 4     // m.VrfID
487         return size
488 }
489 func (m *Nat44EiAddressDetails) Marshal(b []byte) ([]byte, error) {
490         if b == nil {
491                 b = make([]byte, m.Size())
492         }
493         buf := codec.NewBuffer(b)
494         buf.EncodeBytes(m.IPAddress[:], 4)
495         buf.EncodeUint32(m.VrfID)
496         return buf.Bytes(), nil
497 }
498 func (m *Nat44EiAddressDetails) Unmarshal(b []byte) error {
499         buf := codec.NewBuffer(b)
500         copy(m.IPAddress[:], buf.DecodeBytes(4))
501         m.VrfID = buf.DecodeUint32()
502         return nil
503 }
504
505 // Nat44EiAddressDump defines message 'nat44_ei_address_dump'.
506 // InProgress: the message form may change in the future versions
507 type Nat44EiAddressDump struct{}
508
509 func (m *Nat44EiAddressDump) Reset()               { *m = Nat44EiAddressDump{} }
510 func (*Nat44EiAddressDump) GetMessageName() string { return "nat44_ei_address_dump" }
511 func (*Nat44EiAddressDump) GetCrcString() string   { return "51077d14" }
512 func (*Nat44EiAddressDump) GetMessageType() api.MessageType {
513         return api.RequestMessage
514 }
515
516 func (m *Nat44EiAddressDump) Size() (size int) {
517         if m == nil {
518                 return 0
519         }
520         return size
521 }
522 func (m *Nat44EiAddressDump) Marshal(b []byte) ([]byte, error) {
523         if b == nil {
524                 b = make([]byte, m.Size())
525         }
526         buf := codec.NewBuffer(b)
527         return buf.Bytes(), nil
528 }
529 func (m *Nat44EiAddressDump) Unmarshal(b []byte) error {
530         return nil
531 }
532
533 // Nat44EiDelSession defines message 'nat44_ei_del_session'.
534 // InProgress: the message form may change in the future versions
535 type Nat44EiDelSession struct {
536         Address        ip_types.IP4Address `binapi:"ip4_address,name=address" json:"address,omitempty"`
537         Protocol       uint8               `binapi:"u8,name=protocol" json:"protocol,omitempty"`
538         Port           uint16              `binapi:"u16,name=port" json:"port,omitempty"`
539         VrfID          uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
540         Flags          Nat44EiConfigFlags  `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
541         ExtHostAddress ip_types.IP4Address `binapi:"ip4_address,name=ext_host_address" json:"ext_host_address,omitempty"`
542         ExtHostPort    uint16              `binapi:"u16,name=ext_host_port" json:"ext_host_port,omitempty"`
543 }
544
545 func (m *Nat44EiDelSession) Reset()               { *m = Nat44EiDelSession{} }
546 func (*Nat44EiDelSession) GetMessageName() string { return "nat44_ei_del_session" }
547 func (*Nat44EiDelSession) GetCrcString() string   { return "74969ffe" }
548 func (*Nat44EiDelSession) GetMessageType() api.MessageType {
549         return api.RequestMessage
550 }
551
552 func (m *Nat44EiDelSession) Size() (size int) {
553         if m == nil {
554                 return 0
555         }
556         size += 1 * 4 // m.Address
557         size += 1     // m.Protocol
558         size += 2     // m.Port
559         size += 4     // m.VrfID
560         size += 1     // m.Flags
561         size += 1 * 4 // m.ExtHostAddress
562         size += 2     // m.ExtHostPort
563         return size
564 }
565 func (m *Nat44EiDelSession) Marshal(b []byte) ([]byte, error) {
566         if b == nil {
567                 b = make([]byte, m.Size())
568         }
569         buf := codec.NewBuffer(b)
570         buf.EncodeBytes(m.Address[:], 4)
571         buf.EncodeUint8(m.Protocol)
572         buf.EncodeUint16(m.Port)
573         buf.EncodeUint32(m.VrfID)
574         buf.EncodeUint8(uint8(m.Flags))
575         buf.EncodeBytes(m.ExtHostAddress[:], 4)
576         buf.EncodeUint16(m.ExtHostPort)
577         return buf.Bytes(), nil
578 }
579 func (m *Nat44EiDelSession) Unmarshal(b []byte) error {
580         buf := codec.NewBuffer(b)
581         copy(m.Address[:], buf.DecodeBytes(4))
582         m.Protocol = buf.DecodeUint8()
583         m.Port = buf.DecodeUint16()
584         m.VrfID = buf.DecodeUint32()
585         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
586         copy(m.ExtHostAddress[:], buf.DecodeBytes(4))
587         m.ExtHostPort = buf.DecodeUint16()
588         return nil
589 }
590
591 // Nat44EiDelSessionReply defines message 'nat44_ei_del_session_reply'.
592 // InProgress: the message form may change in the future versions
593 type Nat44EiDelSessionReply struct {
594         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
595 }
596
597 func (m *Nat44EiDelSessionReply) Reset()               { *m = Nat44EiDelSessionReply{} }
598 func (*Nat44EiDelSessionReply) GetMessageName() string { return "nat44_ei_del_session_reply" }
599 func (*Nat44EiDelSessionReply) GetCrcString() string   { return "e8d4e804" }
600 func (*Nat44EiDelSessionReply) GetMessageType() api.MessageType {
601         return api.ReplyMessage
602 }
603
604 func (m *Nat44EiDelSessionReply) Size() (size int) {
605         if m == nil {
606                 return 0
607         }
608         size += 4 // m.Retval
609         return size
610 }
611 func (m *Nat44EiDelSessionReply) Marshal(b []byte) ([]byte, error) {
612         if b == nil {
613                 b = make([]byte, m.Size())
614         }
615         buf := codec.NewBuffer(b)
616         buf.EncodeInt32(m.Retval)
617         return buf.Bytes(), nil
618 }
619 func (m *Nat44EiDelSessionReply) Unmarshal(b []byte) error {
620         buf := codec.NewBuffer(b)
621         m.Retval = buf.DecodeInt32()
622         return nil
623 }
624
625 // Nat44EiDelUser defines message 'nat44_ei_del_user'.
626 // InProgress: the message form may change in the future versions
627 type Nat44EiDelUser struct {
628         IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
629         FibIndex  uint32              `binapi:"u32,name=fib_index" json:"fib_index,omitempty"`
630 }
631
632 func (m *Nat44EiDelUser) Reset()               { *m = Nat44EiDelUser{} }
633 func (*Nat44EiDelUser) GetMessageName() string { return "nat44_ei_del_user" }
634 func (*Nat44EiDelUser) GetCrcString() string   { return "99a9f998" }
635 func (*Nat44EiDelUser) GetMessageType() api.MessageType {
636         return api.RequestMessage
637 }
638
639 func (m *Nat44EiDelUser) Size() (size int) {
640         if m == nil {
641                 return 0
642         }
643         size += 1 * 4 // m.IPAddress
644         size += 4     // m.FibIndex
645         return size
646 }
647 func (m *Nat44EiDelUser) Marshal(b []byte) ([]byte, error) {
648         if b == nil {
649                 b = make([]byte, m.Size())
650         }
651         buf := codec.NewBuffer(b)
652         buf.EncodeBytes(m.IPAddress[:], 4)
653         buf.EncodeUint32(m.FibIndex)
654         return buf.Bytes(), nil
655 }
656 func (m *Nat44EiDelUser) Unmarshal(b []byte) error {
657         buf := codec.NewBuffer(b)
658         copy(m.IPAddress[:], buf.DecodeBytes(4))
659         m.FibIndex = buf.DecodeUint32()
660         return nil
661 }
662
663 // Nat44EiDelUserReply defines message 'nat44_ei_del_user_reply'.
664 // InProgress: the message form may change in the future versions
665 type Nat44EiDelUserReply struct {
666         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
667 }
668
669 func (m *Nat44EiDelUserReply) Reset()               { *m = Nat44EiDelUserReply{} }
670 func (*Nat44EiDelUserReply) GetMessageName() string { return "nat44_ei_del_user_reply" }
671 func (*Nat44EiDelUserReply) GetCrcString() string   { return "e8d4e804" }
672 func (*Nat44EiDelUserReply) GetMessageType() api.MessageType {
673         return api.ReplyMessage
674 }
675
676 func (m *Nat44EiDelUserReply) Size() (size int) {
677         if m == nil {
678                 return 0
679         }
680         size += 4 // m.Retval
681         return size
682 }
683 func (m *Nat44EiDelUserReply) Marshal(b []byte) ([]byte, error) {
684         if b == nil {
685                 b = make([]byte, m.Size())
686         }
687         buf := codec.NewBuffer(b)
688         buf.EncodeInt32(m.Retval)
689         return buf.Bytes(), nil
690 }
691 func (m *Nat44EiDelUserReply) Unmarshal(b []byte) error {
692         buf := codec.NewBuffer(b)
693         m.Retval = buf.DecodeInt32()
694         return nil
695 }
696
697 // Nat44EiForwardingEnableDisable defines message 'nat44_ei_forwarding_enable_disable'.
698 // InProgress: the message form may change in the future versions
699 type Nat44EiForwardingEnableDisable struct {
700         Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"`
701 }
702
703 func (m *Nat44EiForwardingEnableDisable) Reset() { *m = Nat44EiForwardingEnableDisable{} }
704 func (*Nat44EiForwardingEnableDisable) GetMessageName() string {
705         return "nat44_ei_forwarding_enable_disable"
706 }
707 func (*Nat44EiForwardingEnableDisable) GetCrcString() string { return "b3e225d2" }
708 func (*Nat44EiForwardingEnableDisable) GetMessageType() api.MessageType {
709         return api.RequestMessage
710 }
711
712 func (m *Nat44EiForwardingEnableDisable) Size() (size int) {
713         if m == nil {
714                 return 0
715         }
716         size += 1 // m.Enable
717         return size
718 }
719 func (m *Nat44EiForwardingEnableDisable) Marshal(b []byte) ([]byte, error) {
720         if b == nil {
721                 b = make([]byte, m.Size())
722         }
723         buf := codec.NewBuffer(b)
724         buf.EncodeBool(m.Enable)
725         return buf.Bytes(), nil
726 }
727 func (m *Nat44EiForwardingEnableDisable) Unmarshal(b []byte) error {
728         buf := codec.NewBuffer(b)
729         m.Enable = buf.DecodeBool()
730         return nil
731 }
732
733 // Nat44EiForwardingEnableDisableReply defines message 'nat44_ei_forwarding_enable_disable_reply'.
734 // InProgress: the message form may change in the future versions
735 type Nat44EiForwardingEnableDisableReply struct {
736         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
737 }
738
739 func (m *Nat44EiForwardingEnableDisableReply) Reset() { *m = Nat44EiForwardingEnableDisableReply{} }
740 func (*Nat44EiForwardingEnableDisableReply) GetMessageName() string {
741         return "nat44_ei_forwarding_enable_disable_reply"
742 }
743 func (*Nat44EiForwardingEnableDisableReply) GetCrcString() string { return "e8d4e804" }
744 func (*Nat44EiForwardingEnableDisableReply) GetMessageType() api.MessageType {
745         return api.ReplyMessage
746 }
747
748 func (m *Nat44EiForwardingEnableDisableReply) Size() (size int) {
749         if m == nil {
750                 return 0
751         }
752         size += 4 // m.Retval
753         return size
754 }
755 func (m *Nat44EiForwardingEnableDisableReply) Marshal(b []byte) ([]byte, error) {
756         if b == nil {
757                 b = make([]byte, m.Size())
758         }
759         buf := codec.NewBuffer(b)
760         buf.EncodeInt32(m.Retval)
761         return buf.Bytes(), nil
762 }
763 func (m *Nat44EiForwardingEnableDisableReply) Unmarshal(b []byte) error {
764         buf := codec.NewBuffer(b)
765         m.Retval = buf.DecodeInt32()
766         return nil
767 }
768
769 // Nat44EiGetAddrAndPortAllocAlg defines message 'nat44_ei_get_addr_and_port_alloc_alg'.
770 // Deprecated: the message will be removed in the future versions
771 type Nat44EiGetAddrAndPortAllocAlg struct{}
772
773 func (m *Nat44EiGetAddrAndPortAllocAlg) Reset() { *m = Nat44EiGetAddrAndPortAllocAlg{} }
774 func (*Nat44EiGetAddrAndPortAllocAlg) GetMessageName() string {
775         return "nat44_ei_get_addr_and_port_alloc_alg"
776 }
777 func (*Nat44EiGetAddrAndPortAllocAlg) GetCrcString() string { return "51077d14" }
778 func (*Nat44EiGetAddrAndPortAllocAlg) GetMessageType() api.MessageType {
779         return api.RequestMessage
780 }
781
782 func (m *Nat44EiGetAddrAndPortAllocAlg) Size() (size int) {
783         if m == nil {
784                 return 0
785         }
786         return size
787 }
788 func (m *Nat44EiGetAddrAndPortAllocAlg) Marshal(b []byte) ([]byte, error) {
789         if b == nil {
790                 b = make([]byte, m.Size())
791         }
792         buf := codec.NewBuffer(b)
793         return buf.Bytes(), nil
794 }
795 func (m *Nat44EiGetAddrAndPortAllocAlg) Unmarshal(b []byte) error {
796         return nil
797 }
798
799 // Nat44EiGetAddrAndPortAllocAlgReply defines message 'nat44_ei_get_addr_and_port_alloc_alg_reply'.
800 // Deprecated: the message will be removed in the future versions
801 type Nat44EiGetAddrAndPortAllocAlgReply struct {
802         Retval     int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
803         Alg        uint8  `binapi:"u8,name=alg" json:"alg,omitempty"`
804         PsidOffset uint8  `binapi:"u8,name=psid_offset" json:"psid_offset,omitempty"`
805         PsidLength uint8  `binapi:"u8,name=psid_length" json:"psid_length,omitempty"`
806         Psid       uint16 `binapi:"u16,name=psid" json:"psid,omitempty"`
807         StartPort  uint16 `binapi:"u16,name=start_port" json:"start_port,omitempty"`
808         EndPort    uint16 `binapi:"u16,name=end_port" json:"end_port,omitempty"`
809 }
810
811 func (m *Nat44EiGetAddrAndPortAllocAlgReply) Reset() { *m = Nat44EiGetAddrAndPortAllocAlgReply{} }
812 func (*Nat44EiGetAddrAndPortAllocAlgReply) GetMessageName() string {
813         return "nat44_ei_get_addr_and_port_alloc_alg_reply"
814 }
815 func (*Nat44EiGetAddrAndPortAllocAlgReply) GetCrcString() string { return "3607a7d0" }
816 func (*Nat44EiGetAddrAndPortAllocAlgReply) GetMessageType() api.MessageType {
817         return api.ReplyMessage
818 }
819
820 func (m *Nat44EiGetAddrAndPortAllocAlgReply) Size() (size int) {
821         if m == nil {
822                 return 0
823         }
824         size += 4 // m.Retval
825         size += 1 // m.Alg
826         size += 1 // m.PsidOffset
827         size += 1 // m.PsidLength
828         size += 2 // m.Psid
829         size += 2 // m.StartPort
830         size += 2 // m.EndPort
831         return size
832 }
833 func (m *Nat44EiGetAddrAndPortAllocAlgReply) Marshal(b []byte) ([]byte, error) {
834         if b == nil {
835                 b = make([]byte, m.Size())
836         }
837         buf := codec.NewBuffer(b)
838         buf.EncodeInt32(m.Retval)
839         buf.EncodeUint8(m.Alg)
840         buf.EncodeUint8(m.PsidOffset)
841         buf.EncodeUint8(m.PsidLength)
842         buf.EncodeUint16(m.Psid)
843         buf.EncodeUint16(m.StartPort)
844         buf.EncodeUint16(m.EndPort)
845         return buf.Bytes(), nil
846 }
847 func (m *Nat44EiGetAddrAndPortAllocAlgReply) Unmarshal(b []byte) error {
848         buf := codec.NewBuffer(b)
849         m.Retval = buf.DecodeInt32()
850         m.Alg = buf.DecodeUint8()
851         m.PsidOffset = buf.DecodeUint8()
852         m.PsidLength = buf.DecodeUint8()
853         m.Psid = buf.DecodeUint16()
854         m.StartPort = buf.DecodeUint16()
855         m.EndPort = buf.DecodeUint16()
856         return nil
857 }
858
859 // Nat44EiGetMssClamping defines message 'nat44_ei_get_mss_clamping'.
860 // Deprecated: the message will be removed in the future versions
861 type Nat44EiGetMssClamping struct{}
862
863 func (m *Nat44EiGetMssClamping) Reset()               { *m = Nat44EiGetMssClamping{} }
864 func (*Nat44EiGetMssClamping) GetMessageName() string { return "nat44_ei_get_mss_clamping" }
865 func (*Nat44EiGetMssClamping) GetCrcString() string   { return "51077d14" }
866 func (*Nat44EiGetMssClamping) GetMessageType() api.MessageType {
867         return api.RequestMessage
868 }
869
870 func (m *Nat44EiGetMssClamping) Size() (size int) {
871         if m == nil {
872                 return 0
873         }
874         return size
875 }
876 func (m *Nat44EiGetMssClamping) Marshal(b []byte) ([]byte, error) {
877         if b == nil {
878                 b = make([]byte, m.Size())
879         }
880         buf := codec.NewBuffer(b)
881         return buf.Bytes(), nil
882 }
883 func (m *Nat44EiGetMssClamping) Unmarshal(b []byte) error {
884         return nil
885 }
886
887 // Nat44EiGetMssClampingReply defines message 'nat44_ei_get_mss_clamping_reply'.
888 // Deprecated: the message will be removed in the future versions
889 type Nat44EiGetMssClampingReply struct {
890         Retval   int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
891         MssValue uint16 `binapi:"u16,name=mss_value" json:"mss_value,omitempty"`
892         Enable   bool   `binapi:"bool,name=enable" json:"enable,omitempty"`
893 }
894
895 func (m *Nat44EiGetMssClampingReply) Reset()               { *m = Nat44EiGetMssClampingReply{} }
896 func (*Nat44EiGetMssClampingReply) GetMessageName() string { return "nat44_ei_get_mss_clamping_reply" }
897 func (*Nat44EiGetMssClampingReply) GetCrcString() string   { return "1c0b2a78" }
898 func (*Nat44EiGetMssClampingReply) GetMessageType() api.MessageType {
899         return api.ReplyMessage
900 }
901
902 func (m *Nat44EiGetMssClampingReply) Size() (size int) {
903         if m == nil {
904                 return 0
905         }
906         size += 4 // m.Retval
907         size += 2 // m.MssValue
908         size += 1 // m.Enable
909         return size
910 }
911 func (m *Nat44EiGetMssClampingReply) Marshal(b []byte) ([]byte, error) {
912         if b == nil {
913                 b = make([]byte, m.Size())
914         }
915         buf := codec.NewBuffer(b)
916         buf.EncodeInt32(m.Retval)
917         buf.EncodeUint16(m.MssValue)
918         buf.EncodeBool(m.Enable)
919         return buf.Bytes(), nil
920 }
921 func (m *Nat44EiGetMssClampingReply) Unmarshal(b []byte) error {
922         buf := codec.NewBuffer(b)
923         m.Retval = buf.DecodeInt32()
924         m.MssValue = buf.DecodeUint16()
925         m.Enable = buf.DecodeBool()
926         return nil
927 }
928
929 // Nat44EiHaFlush defines message 'nat44_ei_ha_flush'.
930 // InProgress: the message form may change in the future versions
931 type Nat44EiHaFlush struct{}
932
933 func (m *Nat44EiHaFlush) Reset()               { *m = Nat44EiHaFlush{} }
934 func (*Nat44EiHaFlush) GetMessageName() string { return "nat44_ei_ha_flush" }
935 func (*Nat44EiHaFlush) GetCrcString() string   { return "51077d14" }
936 func (*Nat44EiHaFlush) GetMessageType() api.MessageType {
937         return api.RequestMessage
938 }
939
940 func (m *Nat44EiHaFlush) Size() (size int) {
941         if m == nil {
942                 return 0
943         }
944         return size
945 }
946 func (m *Nat44EiHaFlush) Marshal(b []byte) ([]byte, error) {
947         if b == nil {
948                 b = make([]byte, m.Size())
949         }
950         buf := codec.NewBuffer(b)
951         return buf.Bytes(), nil
952 }
953 func (m *Nat44EiHaFlush) Unmarshal(b []byte) error {
954         return nil
955 }
956
957 // Nat44EiHaFlushReply defines message 'nat44_ei_ha_flush_reply'.
958 // InProgress: the message form may change in the future versions
959 type Nat44EiHaFlushReply struct {
960         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
961 }
962
963 func (m *Nat44EiHaFlushReply) Reset()               { *m = Nat44EiHaFlushReply{} }
964 func (*Nat44EiHaFlushReply) GetMessageName() string { return "nat44_ei_ha_flush_reply" }
965 func (*Nat44EiHaFlushReply) GetCrcString() string   { return "e8d4e804" }
966 func (*Nat44EiHaFlushReply) GetMessageType() api.MessageType {
967         return api.ReplyMessage
968 }
969
970 func (m *Nat44EiHaFlushReply) Size() (size int) {
971         if m == nil {
972                 return 0
973         }
974         size += 4 // m.Retval
975         return size
976 }
977 func (m *Nat44EiHaFlushReply) Marshal(b []byte) ([]byte, error) {
978         if b == nil {
979                 b = make([]byte, m.Size())
980         }
981         buf := codec.NewBuffer(b)
982         buf.EncodeInt32(m.Retval)
983         return buf.Bytes(), nil
984 }
985 func (m *Nat44EiHaFlushReply) Unmarshal(b []byte) error {
986         buf := codec.NewBuffer(b)
987         m.Retval = buf.DecodeInt32()
988         return nil
989 }
990
991 // Nat44EiHaGetFailover defines message 'nat44_ei_ha_get_failover'.
992 // Deprecated: the message will be removed in the future versions
993 type Nat44EiHaGetFailover struct{}
994
995 func (m *Nat44EiHaGetFailover) Reset()               { *m = Nat44EiHaGetFailover{} }
996 func (*Nat44EiHaGetFailover) GetMessageName() string { return "nat44_ei_ha_get_failover" }
997 func (*Nat44EiHaGetFailover) GetCrcString() string   { return "51077d14" }
998 func (*Nat44EiHaGetFailover) GetMessageType() api.MessageType {
999         return api.RequestMessage
1000 }
1001
1002 func (m *Nat44EiHaGetFailover) Size() (size int) {
1003         if m == nil {
1004                 return 0
1005         }
1006         return size
1007 }
1008 func (m *Nat44EiHaGetFailover) Marshal(b []byte) ([]byte, error) {
1009         if b == nil {
1010                 b = make([]byte, m.Size())
1011         }
1012         buf := codec.NewBuffer(b)
1013         return buf.Bytes(), nil
1014 }
1015 func (m *Nat44EiHaGetFailover) Unmarshal(b []byte) error {
1016         return nil
1017 }
1018
1019 // Nat44EiHaGetFailoverReply defines message 'nat44_ei_ha_get_failover_reply'.
1020 // Deprecated: the message will be removed in the future versions
1021 type Nat44EiHaGetFailoverReply struct {
1022         Retval                 int32               `binapi:"i32,name=retval" json:"retval,omitempty"`
1023         IPAddress              ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
1024         Port                   uint16              `binapi:"u16,name=port" json:"port,omitempty"`
1025         SessionRefreshInterval uint32              `binapi:"u32,name=session_refresh_interval" json:"session_refresh_interval,omitempty"`
1026 }
1027
1028 func (m *Nat44EiHaGetFailoverReply) Reset()               { *m = Nat44EiHaGetFailoverReply{} }
1029 func (*Nat44EiHaGetFailoverReply) GetMessageName() string { return "nat44_ei_ha_get_failover_reply" }
1030 func (*Nat44EiHaGetFailoverReply) GetCrcString() string   { return "a67d8752" }
1031 func (*Nat44EiHaGetFailoverReply) GetMessageType() api.MessageType {
1032         return api.ReplyMessage
1033 }
1034
1035 func (m *Nat44EiHaGetFailoverReply) Size() (size int) {
1036         if m == nil {
1037                 return 0
1038         }
1039         size += 4     // m.Retval
1040         size += 1 * 4 // m.IPAddress
1041         size += 2     // m.Port
1042         size += 4     // m.SessionRefreshInterval
1043         return size
1044 }
1045 func (m *Nat44EiHaGetFailoverReply) Marshal(b []byte) ([]byte, error) {
1046         if b == nil {
1047                 b = make([]byte, m.Size())
1048         }
1049         buf := codec.NewBuffer(b)
1050         buf.EncodeInt32(m.Retval)
1051         buf.EncodeBytes(m.IPAddress[:], 4)
1052         buf.EncodeUint16(m.Port)
1053         buf.EncodeUint32(m.SessionRefreshInterval)
1054         return buf.Bytes(), nil
1055 }
1056 func (m *Nat44EiHaGetFailoverReply) Unmarshal(b []byte) error {
1057         buf := codec.NewBuffer(b)
1058         m.Retval = buf.DecodeInt32()
1059         copy(m.IPAddress[:], buf.DecodeBytes(4))
1060         m.Port = buf.DecodeUint16()
1061         m.SessionRefreshInterval = buf.DecodeUint32()
1062         return nil
1063 }
1064
1065 // Nat44EiHaGetListener defines message 'nat44_ei_ha_get_listener'.
1066 // Deprecated: the message will be removed in the future versions
1067 type Nat44EiHaGetListener struct{}
1068
1069 func (m *Nat44EiHaGetListener) Reset()               { *m = Nat44EiHaGetListener{} }
1070 func (*Nat44EiHaGetListener) GetMessageName() string { return "nat44_ei_ha_get_listener" }
1071 func (*Nat44EiHaGetListener) GetCrcString() string   { return "51077d14" }
1072 func (*Nat44EiHaGetListener) GetMessageType() api.MessageType {
1073         return api.RequestMessage
1074 }
1075
1076 func (m *Nat44EiHaGetListener) Size() (size int) {
1077         if m == nil {
1078                 return 0
1079         }
1080         return size
1081 }
1082 func (m *Nat44EiHaGetListener) Marshal(b []byte) ([]byte, error) {
1083         if b == nil {
1084                 b = make([]byte, m.Size())
1085         }
1086         buf := codec.NewBuffer(b)
1087         return buf.Bytes(), nil
1088 }
1089 func (m *Nat44EiHaGetListener) Unmarshal(b []byte) error {
1090         return nil
1091 }
1092
1093 // Nat44EiHaGetListenerReply defines message 'nat44_ei_ha_get_listener_reply'.
1094 // Deprecated: the message will be removed in the future versions
1095 type Nat44EiHaGetListenerReply struct {
1096         Retval    int32               `binapi:"i32,name=retval" json:"retval,omitempty"`
1097         IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
1098         Port      uint16              `binapi:"u16,name=port" json:"port,omitempty"`
1099         PathMtu   uint32              `binapi:"u32,name=path_mtu" json:"path_mtu,omitempty"`
1100 }
1101
1102 func (m *Nat44EiHaGetListenerReply) Reset()               { *m = Nat44EiHaGetListenerReply{} }
1103 func (*Nat44EiHaGetListenerReply) GetMessageName() string { return "nat44_ei_ha_get_listener_reply" }
1104 func (*Nat44EiHaGetListenerReply) GetCrcString() string   { return "123ea41f" }
1105 func (*Nat44EiHaGetListenerReply) GetMessageType() api.MessageType {
1106         return api.ReplyMessage
1107 }
1108
1109 func (m *Nat44EiHaGetListenerReply) Size() (size int) {
1110         if m == nil {
1111                 return 0
1112         }
1113         size += 4     // m.Retval
1114         size += 1 * 4 // m.IPAddress
1115         size += 2     // m.Port
1116         size += 4     // m.PathMtu
1117         return size
1118 }
1119 func (m *Nat44EiHaGetListenerReply) Marshal(b []byte) ([]byte, error) {
1120         if b == nil {
1121                 b = make([]byte, m.Size())
1122         }
1123         buf := codec.NewBuffer(b)
1124         buf.EncodeInt32(m.Retval)
1125         buf.EncodeBytes(m.IPAddress[:], 4)
1126         buf.EncodeUint16(m.Port)
1127         buf.EncodeUint32(m.PathMtu)
1128         return buf.Bytes(), nil
1129 }
1130 func (m *Nat44EiHaGetListenerReply) Unmarshal(b []byte) error {
1131         buf := codec.NewBuffer(b)
1132         m.Retval = buf.DecodeInt32()
1133         copy(m.IPAddress[:], buf.DecodeBytes(4))
1134         m.Port = buf.DecodeUint16()
1135         m.PathMtu = buf.DecodeUint32()
1136         return nil
1137 }
1138
1139 // Nat44EiHaResync defines message 'nat44_ei_ha_resync'.
1140 // InProgress: the message form may change in the future versions
1141 type Nat44EiHaResync struct {
1142         WantResyncEvent uint8  `binapi:"u8,name=want_resync_event" json:"want_resync_event,omitempty"`
1143         PID             uint32 `binapi:"u32,name=pid" json:"pid,omitempty"`
1144 }
1145
1146 func (m *Nat44EiHaResync) Reset()               { *m = Nat44EiHaResync{} }
1147 func (*Nat44EiHaResync) GetMessageName() string { return "nat44_ei_ha_resync" }
1148 func (*Nat44EiHaResync) GetCrcString() string   { return "c8ab9e03" }
1149 func (*Nat44EiHaResync) GetMessageType() api.MessageType {
1150         return api.RequestMessage
1151 }
1152
1153 func (m *Nat44EiHaResync) Size() (size int) {
1154         if m == nil {
1155                 return 0
1156         }
1157         size += 1 // m.WantResyncEvent
1158         size += 4 // m.PID
1159         return size
1160 }
1161 func (m *Nat44EiHaResync) Marshal(b []byte) ([]byte, error) {
1162         if b == nil {
1163                 b = make([]byte, m.Size())
1164         }
1165         buf := codec.NewBuffer(b)
1166         buf.EncodeUint8(m.WantResyncEvent)
1167         buf.EncodeUint32(m.PID)
1168         return buf.Bytes(), nil
1169 }
1170 func (m *Nat44EiHaResync) Unmarshal(b []byte) error {
1171         buf := codec.NewBuffer(b)
1172         m.WantResyncEvent = buf.DecodeUint8()
1173         m.PID = buf.DecodeUint32()
1174         return nil
1175 }
1176
1177 // Nat44EiHaResyncCompletedEvent defines message 'nat44_ei_ha_resync_completed_event'.
1178 // InProgress: the message form may change in the future versions
1179 type Nat44EiHaResyncCompletedEvent struct {
1180         PID         uint32 `binapi:"u32,name=pid" json:"pid,omitempty"`
1181         MissedCount uint32 `binapi:"u32,name=missed_count" json:"missed_count,omitempty"`
1182 }
1183
1184 func (m *Nat44EiHaResyncCompletedEvent) Reset() { *m = Nat44EiHaResyncCompletedEvent{} }
1185 func (*Nat44EiHaResyncCompletedEvent) GetMessageName() string {
1186         return "nat44_ei_ha_resync_completed_event"
1187 }
1188 func (*Nat44EiHaResyncCompletedEvent) GetCrcString() string { return "fdc598fb" }
1189 func (*Nat44EiHaResyncCompletedEvent) GetMessageType() api.MessageType {
1190         return api.EventMessage
1191 }
1192
1193 func (m *Nat44EiHaResyncCompletedEvent) Size() (size int) {
1194         if m == nil {
1195                 return 0
1196         }
1197         size += 4 // m.PID
1198         size += 4 // m.MissedCount
1199         return size
1200 }
1201 func (m *Nat44EiHaResyncCompletedEvent) Marshal(b []byte) ([]byte, error) {
1202         if b == nil {
1203                 b = make([]byte, m.Size())
1204         }
1205         buf := codec.NewBuffer(b)
1206         buf.EncodeUint32(m.PID)
1207         buf.EncodeUint32(m.MissedCount)
1208         return buf.Bytes(), nil
1209 }
1210 func (m *Nat44EiHaResyncCompletedEvent) Unmarshal(b []byte) error {
1211         buf := codec.NewBuffer(b)
1212         m.PID = buf.DecodeUint32()
1213         m.MissedCount = buf.DecodeUint32()
1214         return nil
1215 }
1216
1217 // Nat44EiHaResyncReply defines message 'nat44_ei_ha_resync_reply'.
1218 // InProgress: the message form may change in the future versions
1219 type Nat44EiHaResyncReply struct {
1220         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1221 }
1222
1223 func (m *Nat44EiHaResyncReply) Reset()               { *m = Nat44EiHaResyncReply{} }
1224 func (*Nat44EiHaResyncReply) GetMessageName() string { return "nat44_ei_ha_resync_reply" }
1225 func (*Nat44EiHaResyncReply) GetCrcString() string   { return "e8d4e804" }
1226 func (*Nat44EiHaResyncReply) GetMessageType() api.MessageType {
1227         return api.ReplyMessage
1228 }
1229
1230 func (m *Nat44EiHaResyncReply) Size() (size int) {
1231         if m == nil {
1232                 return 0
1233         }
1234         size += 4 // m.Retval
1235         return size
1236 }
1237 func (m *Nat44EiHaResyncReply) Marshal(b []byte) ([]byte, error) {
1238         if b == nil {
1239                 b = make([]byte, m.Size())
1240         }
1241         buf := codec.NewBuffer(b)
1242         buf.EncodeInt32(m.Retval)
1243         return buf.Bytes(), nil
1244 }
1245 func (m *Nat44EiHaResyncReply) Unmarshal(b []byte) error {
1246         buf := codec.NewBuffer(b)
1247         m.Retval = buf.DecodeInt32()
1248         return nil
1249 }
1250
1251 // Nat44EiHaSetFailover defines message 'nat44_ei_ha_set_failover'.
1252 // InProgress: the message form may change in the future versions
1253 type Nat44EiHaSetFailover struct {
1254         IPAddress              ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
1255         Port                   uint16              `binapi:"u16,name=port" json:"port,omitempty"`
1256         SessionRefreshInterval uint32              `binapi:"u32,name=session_refresh_interval" json:"session_refresh_interval,omitempty"`
1257 }
1258
1259 func (m *Nat44EiHaSetFailover) Reset()               { *m = Nat44EiHaSetFailover{} }
1260 func (*Nat44EiHaSetFailover) GetMessageName() string { return "nat44_ei_ha_set_failover" }
1261 func (*Nat44EiHaSetFailover) GetCrcString() string   { return "718246af" }
1262 func (*Nat44EiHaSetFailover) GetMessageType() api.MessageType {
1263         return api.RequestMessage
1264 }
1265
1266 func (m *Nat44EiHaSetFailover) Size() (size int) {
1267         if m == nil {
1268                 return 0
1269         }
1270         size += 1 * 4 // m.IPAddress
1271         size += 2     // m.Port
1272         size += 4     // m.SessionRefreshInterval
1273         return size
1274 }
1275 func (m *Nat44EiHaSetFailover) Marshal(b []byte) ([]byte, error) {
1276         if b == nil {
1277                 b = make([]byte, m.Size())
1278         }
1279         buf := codec.NewBuffer(b)
1280         buf.EncodeBytes(m.IPAddress[:], 4)
1281         buf.EncodeUint16(m.Port)
1282         buf.EncodeUint32(m.SessionRefreshInterval)
1283         return buf.Bytes(), nil
1284 }
1285 func (m *Nat44EiHaSetFailover) Unmarshal(b []byte) error {
1286         buf := codec.NewBuffer(b)
1287         copy(m.IPAddress[:], buf.DecodeBytes(4))
1288         m.Port = buf.DecodeUint16()
1289         m.SessionRefreshInterval = buf.DecodeUint32()
1290         return nil
1291 }
1292
1293 // Nat44EiHaSetFailoverReply defines message 'nat44_ei_ha_set_failover_reply'.
1294 // InProgress: the message form may change in the future versions
1295 type Nat44EiHaSetFailoverReply struct {
1296         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1297 }
1298
1299 func (m *Nat44EiHaSetFailoverReply) Reset()               { *m = Nat44EiHaSetFailoverReply{} }
1300 func (*Nat44EiHaSetFailoverReply) GetMessageName() string { return "nat44_ei_ha_set_failover_reply" }
1301 func (*Nat44EiHaSetFailoverReply) GetCrcString() string   { return "e8d4e804" }
1302 func (*Nat44EiHaSetFailoverReply) GetMessageType() api.MessageType {
1303         return api.ReplyMessage
1304 }
1305
1306 func (m *Nat44EiHaSetFailoverReply) Size() (size int) {
1307         if m == nil {
1308                 return 0
1309         }
1310         size += 4 // m.Retval
1311         return size
1312 }
1313 func (m *Nat44EiHaSetFailoverReply) Marshal(b []byte) ([]byte, error) {
1314         if b == nil {
1315                 b = make([]byte, m.Size())
1316         }
1317         buf := codec.NewBuffer(b)
1318         buf.EncodeInt32(m.Retval)
1319         return buf.Bytes(), nil
1320 }
1321 func (m *Nat44EiHaSetFailoverReply) Unmarshal(b []byte) error {
1322         buf := codec.NewBuffer(b)
1323         m.Retval = buf.DecodeInt32()
1324         return nil
1325 }
1326
1327 // Nat44EiHaSetListener defines message 'nat44_ei_ha_set_listener'.
1328 // InProgress: the message form may change in the future versions
1329 type Nat44EiHaSetListener struct {
1330         IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
1331         Port      uint16              `binapi:"u16,name=port" json:"port,omitempty"`
1332         PathMtu   uint32              `binapi:"u32,name=path_mtu" json:"path_mtu,omitempty"`
1333 }
1334
1335 func (m *Nat44EiHaSetListener) Reset()               { *m = Nat44EiHaSetListener{} }
1336 func (*Nat44EiHaSetListener) GetMessageName() string { return "nat44_ei_ha_set_listener" }
1337 func (*Nat44EiHaSetListener) GetCrcString() string   { return "e4a8cb4e" }
1338 func (*Nat44EiHaSetListener) GetMessageType() api.MessageType {
1339         return api.RequestMessage
1340 }
1341
1342 func (m *Nat44EiHaSetListener) Size() (size int) {
1343         if m == nil {
1344                 return 0
1345         }
1346         size += 1 * 4 // m.IPAddress
1347         size += 2     // m.Port
1348         size += 4     // m.PathMtu
1349         return size
1350 }
1351 func (m *Nat44EiHaSetListener) Marshal(b []byte) ([]byte, error) {
1352         if b == nil {
1353                 b = make([]byte, m.Size())
1354         }
1355         buf := codec.NewBuffer(b)
1356         buf.EncodeBytes(m.IPAddress[:], 4)
1357         buf.EncodeUint16(m.Port)
1358         buf.EncodeUint32(m.PathMtu)
1359         return buf.Bytes(), nil
1360 }
1361 func (m *Nat44EiHaSetListener) Unmarshal(b []byte) error {
1362         buf := codec.NewBuffer(b)
1363         copy(m.IPAddress[:], buf.DecodeBytes(4))
1364         m.Port = buf.DecodeUint16()
1365         m.PathMtu = buf.DecodeUint32()
1366         return nil
1367 }
1368
1369 // Nat44EiHaSetListenerReply defines message 'nat44_ei_ha_set_listener_reply'.
1370 // InProgress: the message form may change in the future versions
1371 type Nat44EiHaSetListenerReply struct {
1372         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1373 }
1374
1375 func (m *Nat44EiHaSetListenerReply) Reset()               { *m = Nat44EiHaSetListenerReply{} }
1376 func (*Nat44EiHaSetListenerReply) GetMessageName() string { return "nat44_ei_ha_set_listener_reply" }
1377 func (*Nat44EiHaSetListenerReply) GetCrcString() string   { return "e8d4e804" }
1378 func (*Nat44EiHaSetListenerReply) GetMessageType() api.MessageType {
1379         return api.ReplyMessage
1380 }
1381
1382 func (m *Nat44EiHaSetListenerReply) Size() (size int) {
1383         if m == nil {
1384                 return 0
1385         }
1386         size += 4 // m.Retval
1387         return size
1388 }
1389 func (m *Nat44EiHaSetListenerReply) Marshal(b []byte) ([]byte, error) {
1390         if b == nil {
1391                 b = make([]byte, m.Size())
1392         }
1393         buf := codec.NewBuffer(b)
1394         buf.EncodeInt32(m.Retval)
1395         return buf.Bytes(), nil
1396 }
1397 func (m *Nat44EiHaSetListenerReply) Unmarshal(b []byte) error {
1398         buf := codec.NewBuffer(b)
1399         m.Retval = buf.DecodeInt32()
1400         return nil
1401 }
1402
1403 // Nat44EiIdentityMappingDetails defines message 'nat44_ei_identity_mapping_details'.
1404 // Deprecated: the message will be removed in the future versions
1405 type Nat44EiIdentityMappingDetails struct {
1406         Flags     Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
1407         IPAddress ip_types.IP4Address            `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
1408         Protocol  uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
1409         Port      uint16                         `binapi:"u16,name=port" json:"port,omitempty"`
1410         SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1411         VrfID     uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
1412         Tag       string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
1413 }
1414
1415 func (m *Nat44EiIdentityMappingDetails) Reset() { *m = Nat44EiIdentityMappingDetails{} }
1416 func (*Nat44EiIdentityMappingDetails) GetMessageName() string {
1417         return "nat44_ei_identity_mapping_details"
1418 }
1419 func (*Nat44EiIdentityMappingDetails) GetCrcString() string { return "30d53e26" }
1420 func (*Nat44EiIdentityMappingDetails) GetMessageType() api.MessageType {
1421         return api.ReplyMessage
1422 }
1423
1424 func (m *Nat44EiIdentityMappingDetails) Size() (size int) {
1425         if m == nil {
1426                 return 0
1427         }
1428         size += 1     // m.Flags
1429         size += 1 * 4 // m.IPAddress
1430         size += 1     // m.Protocol
1431         size += 2     // m.Port
1432         size += 4     // m.SwIfIndex
1433         size += 4     // m.VrfID
1434         size += 64    // m.Tag
1435         return size
1436 }
1437 func (m *Nat44EiIdentityMappingDetails) Marshal(b []byte) ([]byte, error) {
1438         if b == nil {
1439                 b = make([]byte, m.Size())
1440         }
1441         buf := codec.NewBuffer(b)
1442         buf.EncodeUint8(uint8(m.Flags))
1443         buf.EncodeBytes(m.IPAddress[:], 4)
1444         buf.EncodeUint8(m.Protocol)
1445         buf.EncodeUint16(m.Port)
1446         buf.EncodeUint32(uint32(m.SwIfIndex))
1447         buf.EncodeUint32(m.VrfID)
1448         buf.EncodeString(m.Tag, 64)
1449         return buf.Bytes(), nil
1450 }
1451 func (m *Nat44EiIdentityMappingDetails) Unmarshal(b []byte) error {
1452         buf := codec.NewBuffer(b)
1453         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
1454         copy(m.IPAddress[:], buf.DecodeBytes(4))
1455         m.Protocol = buf.DecodeUint8()
1456         m.Port = buf.DecodeUint16()
1457         m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1458         m.VrfID = buf.DecodeUint32()
1459         m.Tag = buf.DecodeString(64)
1460         return nil
1461 }
1462
1463 // Nat44EiIdentityMappingDump defines message 'nat44_ei_identity_mapping_dump'.
1464 // Deprecated: the message will be removed in the future versions
1465 type Nat44EiIdentityMappingDump struct{}
1466
1467 func (m *Nat44EiIdentityMappingDump) Reset()               { *m = Nat44EiIdentityMappingDump{} }
1468 func (*Nat44EiIdentityMappingDump) GetMessageName() string { return "nat44_ei_identity_mapping_dump" }
1469 func (*Nat44EiIdentityMappingDump) GetCrcString() string   { return "51077d14" }
1470 func (*Nat44EiIdentityMappingDump) GetMessageType() api.MessageType {
1471         return api.RequestMessage
1472 }
1473
1474 func (m *Nat44EiIdentityMappingDump) Size() (size int) {
1475         if m == nil {
1476                 return 0
1477         }
1478         return size
1479 }
1480 func (m *Nat44EiIdentityMappingDump) Marshal(b []byte) ([]byte, error) {
1481         if b == nil {
1482                 b = make([]byte, m.Size())
1483         }
1484         buf := codec.NewBuffer(b)
1485         return buf.Bytes(), nil
1486 }
1487 func (m *Nat44EiIdentityMappingDump) Unmarshal(b []byte) error {
1488         return nil
1489 }
1490
1491 // Nat44EiInterfaceAddDelFeature defines message 'nat44_ei_interface_add_del_feature'.
1492 // InProgress: the message form may change in the future versions
1493 type Nat44EiInterfaceAddDelFeature struct {
1494         IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
1495         Flags     Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
1496         SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1497 }
1498
1499 func (m *Nat44EiInterfaceAddDelFeature) Reset() { *m = Nat44EiInterfaceAddDelFeature{} }
1500 func (*Nat44EiInterfaceAddDelFeature) GetMessageName() string {
1501         return "nat44_ei_interface_add_del_feature"
1502 }
1503 func (*Nat44EiInterfaceAddDelFeature) GetCrcString() string { return "63a2db8b" }
1504 func (*Nat44EiInterfaceAddDelFeature) GetMessageType() api.MessageType {
1505         return api.RequestMessage
1506 }
1507
1508 func (m *Nat44EiInterfaceAddDelFeature) Size() (size int) {
1509         if m == nil {
1510                 return 0
1511         }
1512         size += 1 // m.IsAdd
1513         size += 1 // m.Flags
1514         size += 4 // m.SwIfIndex
1515         return size
1516 }
1517 func (m *Nat44EiInterfaceAddDelFeature) Marshal(b []byte) ([]byte, error) {
1518         if b == nil {
1519                 b = make([]byte, m.Size())
1520         }
1521         buf := codec.NewBuffer(b)
1522         buf.EncodeBool(m.IsAdd)
1523         buf.EncodeUint8(uint8(m.Flags))
1524         buf.EncodeUint32(uint32(m.SwIfIndex))
1525         return buf.Bytes(), nil
1526 }
1527 func (m *Nat44EiInterfaceAddDelFeature) Unmarshal(b []byte) error {
1528         buf := codec.NewBuffer(b)
1529         m.IsAdd = buf.DecodeBool()
1530         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
1531         m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1532         return nil
1533 }
1534
1535 // Nat44EiInterfaceAddDelFeatureReply defines message 'nat44_ei_interface_add_del_feature_reply'.
1536 // InProgress: the message form may change in the future versions
1537 type Nat44EiInterfaceAddDelFeatureReply struct {
1538         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1539 }
1540
1541 func (m *Nat44EiInterfaceAddDelFeatureReply) Reset() { *m = Nat44EiInterfaceAddDelFeatureReply{} }
1542 func (*Nat44EiInterfaceAddDelFeatureReply) GetMessageName() string {
1543         return "nat44_ei_interface_add_del_feature_reply"
1544 }
1545 func (*Nat44EiInterfaceAddDelFeatureReply) GetCrcString() string { return "e8d4e804" }
1546 func (*Nat44EiInterfaceAddDelFeatureReply) GetMessageType() api.MessageType {
1547         return api.ReplyMessage
1548 }
1549
1550 func (m *Nat44EiInterfaceAddDelFeatureReply) Size() (size int) {
1551         if m == nil {
1552                 return 0
1553         }
1554         size += 4 // m.Retval
1555         return size
1556 }
1557 func (m *Nat44EiInterfaceAddDelFeatureReply) Marshal(b []byte) ([]byte, error) {
1558         if b == nil {
1559                 b = make([]byte, m.Size())
1560         }
1561         buf := codec.NewBuffer(b)
1562         buf.EncodeInt32(m.Retval)
1563         return buf.Bytes(), nil
1564 }
1565 func (m *Nat44EiInterfaceAddDelFeatureReply) Unmarshal(b []byte) error {
1566         buf := codec.NewBuffer(b)
1567         m.Retval = buf.DecodeInt32()
1568         return nil
1569 }
1570
1571 // Nat44EiInterfaceAddDelOutputFeature defines message 'nat44_ei_interface_add_del_output_feature'.
1572 // Deprecated: the message will be removed in the future versions
1573 type Nat44EiInterfaceAddDelOutputFeature struct {
1574         IsAdd     bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
1575         Flags     Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
1576         SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1577 }
1578
1579 func (m *Nat44EiInterfaceAddDelOutputFeature) Reset() { *m = Nat44EiInterfaceAddDelOutputFeature{} }
1580 func (*Nat44EiInterfaceAddDelOutputFeature) GetMessageName() string {
1581         return "nat44_ei_interface_add_del_output_feature"
1582 }
1583 func (*Nat44EiInterfaceAddDelOutputFeature) GetCrcString() string { return "63a2db8b" }
1584 func (*Nat44EiInterfaceAddDelOutputFeature) GetMessageType() api.MessageType {
1585         return api.RequestMessage
1586 }
1587
1588 func (m *Nat44EiInterfaceAddDelOutputFeature) Size() (size int) {
1589         if m == nil {
1590                 return 0
1591         }
1592         size += 1 // m.IsAdd
1593         size += 1 // m.Flags
1594         size += 4 // m.SwIfIndex
1595         return size
1596 }
1597 func (m *Nat44EiInterfaceAddDelOutputFeature) Marshal(b []byte) ([]byte, error) {
1598         if b == nil {
1599                 b = make([]byte, m.Size())
1600         }
1601         buf := codec.NewBuffer(b)
1602         buf.EncodeBool(m.IsAdd)
1603         buf.EncodeUint8(uint8(m.Flags))
1604         buf.EncodeUint32(uint32(m.SwIfIndex))
1605         return buf.Bytes(), nil
1606 }
1607 func (m *Nat44EiInterfaceAddDelOutputFeature) Unmarshal(b []byte) error {
1608         buf := codec.NewBuffer(b)
1609         m.IsAdd = buf.DecodeBool()
1610         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
1611         m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1612         return nil
1613 }
1614
1615 // Nat44EiInterfaceAddDelOutputFeatureReply defines message 'nat44_ei_interface_add_del_output_feature_reply'.
1616 // Deprecated: the message will be removed in the future versions
1617 type Nat44EiInterfaceAddDelOutputFeatureReply struct {
1618         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1619 }
1620
1621 func (m *Nat44EiInterfaceAddDelOutputFeatureReply) Reset() {
1622         *m = Nat44EiInterfaceAddDelOutputFeatureReply{}
1623 }
1624 func (*Nat44EiInterfaceAddDelOutputFeatureReply) GetMessageName() string {
1625         return "nat44_ei_interface_add_del_output_feature_reply"
1626 }
1627 func (*Nat44EiInterfaceAddDelOutputFeatureReply) GetCrcString() string { return "e8d4e804" }
1628 func (*Nat44EiInterfaceAddDelOutputFeatureReply) GetMessageType() api.MessageType {
1629         return api.ReplyMessage
1630 }
1631
1632 func (m *Nat44EiInterfaceAddDelOutputFeatureReply) Size() (size int) {
1633         if m == nil {
1634                 return 0
1635         }
1636         size += 4 // m.Retval
1637         return size
1638 }
1639 func (m *Nat44EiInterfaceAddDelOutputFeatureReply) Marshal(b []byte) ([]byte, error) {
1640         if b == nil {
1641                 b = make([]byte, m.Size())
1642         }
1643         buf := codec.NewBuffer(b)
1644         buf.EncodeInt32(m.Retval)
1645         return buf.Bytes(), nil
1646 }
1647 func (m *Nat44EiInterfaceAddDelOutputFeatureReply) Unmarshal(b []byte) error {
1648         buf := codec.NewBuffer(b)
1649         m.Retval = buf.DecodeInt32()
1650         return nil
1651 }
1652
1653 // Nat44EiInterfaceAddrDetails defines message 'nat44_ei_interface_addr_details'.
1654 // Deprecated: the message will be removed in the future versions
1655 type Nat44EiInterfaceAddrDetails struct {
1656         SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1657 }
1658
1659 func (m *Nat44EiInterfaceAddrDetails) Reset()               { *m = Nat44EiInterfaceAddrDetails{} }
1660 func (*Nat44EiInterfaceAddrDetails) GetMessageName() string { return "nat44_ei_interface_addr_details" }
1661 func (*Nat44EiInterfaceAddrDetails) GetCrcString() string   { return "0b45011c" }
1662 func (*Nat44EiInterfaceAddrDetails) GetMessageType() api.MessageType {
1663         return api.ReplyMessage
1664 }
1665
1666 func (m *Nat44EiInterfaceAddrDetails) Size() (size int) {
1667         if m == nil {
1668                 return 0
1669         }
1670         size += 4 // m.SwIfIndex
1671         return size
1672 }
1673 func (m *Nat44EiInterfaceAddrDetails) Marshal(b []byte) ([]byte, error) {
1674         if b == nil {
1675                 b = make([]byte, m.Size())
1676         }
1677         buf := codec.NewBuffer(b)
1678         buf.EncodeUint32(uint32(m.SwIfIndex))
1679         return buf.Bytes(), nil
1680 }
1681 func (m *Nat44EiInterfaceAddrDetails) Unmarshal(b []byte) error {
1682         buf := codec.NewBuffer(b)
1683         m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1684         return nil
1685 }
1686
1687 // Nat44EiInterfaceAddrDump defines message 'nat44_ei_interface_addr_dump'.
1688 // Deprecated: the message will be removed in the future versions
1689 type Nat44EiInterfaceAddrDump struct{}
1690
1691 func (m *Nat44EiInterfaceAddrDump) Reset()               { *m = Nat44EiInterfaceAddrDump{} }
1692 func (*Nat44EiInterfaceAddrDump) GetMessageName() string { return "nat44_ei_interface_addr_dump" }
1693 func (*Nat44EiInterfaceAddrDump) GetCrcString() string   { return "51077d14" }
1694 func (*Nat44EiInterfaceAddrDump) GetMessageType() api.MessageType {
1695         return api.RequestMessage
1696 }
1697
1698 func (m *Nat44EiInterfaceAddrDump) Size() (size int) {
1699         if m == nil {
1700                 return 0
1701         }
1702         return size
1703 }
1704 func (m *Nat44EiInterfaceAddrDump) Marshal(b []byte) ([]byte, error) {
1705         if b == nil {
1706                 b = make([]byte, m.Size())
1707         }
1708         buf := codec.NewBuffer(b)
1709         return buf.Bytes(), nil
1710 }
1711 func (m *Nat44EiInterfaceAddrDump) Unmarshal(b []byte) error {
1712         return nil
1713 }
1714
1715 // Nat44EiInterfaceDetails defines message 'nat44_ei_interface_details'.
1716 // InProgress: the message form may change in the future versions
1717 type Nat44EiInterfaceDetails struct {
1718         Flags     Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
1719         SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1720 }
1721
1722 func (m *Nat44EiInterfaceDetails) Reset()               { *m = Nat44EiInterfaceDetails{} }
1723 func (*Nat44EiInterfaceDetails) GetMessageName() string { return "nat44_ei_interface_details" }
1724 func (*Nat44EiInterfaceDetails) GetCrcString() string   { return "f446e508" }
1725 func (*Nat44EiInterfaceDetails) GetMessageType() api.MessageType {
1726         return api.ReplyMessage
1727 }
1728
1729 func (m *Nat44EiInterfaceDetails) Size() (size int) {
1730         if m == nil {
1731                 return 0
1732         }
1733         size += 1 // m.Flags
1734         size += 4 // m.SwIfIndex
1735         return size
1736 }
1737 func (m *Nat44EiInterfaceDetails) Marshal(b []byte) ([]byte, error) {
1738         if b == nil {
1739                 b = make([]byte, m.Size())
1740         }
1741         buf := codec.NewBuffer(b)
1742         buf.EncodeUint8(uint8(m.Flags))
1743         buf.EncodeUint32(uint32(m.SwIfIndex))
1744         return buf.Bytes(), nil
1745 }
1746 func (m *Nat44EiInterfaceDetails) Unmarshal(b []byte) error {
1747         buf := codec.NewBuffer(b)
1748         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
1749         m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1750         return nil
1751 }
1752
1753 // Nat44EiInterfaceDump defines message 'nat44_ei_interface_dump'.
1754 // InProgress: the message form may change in the future versions
1755 type Nat44EiInterfaceDump struct{}
1756
1757 func (m *Nat44EiInterfaceDump) Reset()               { *m = Nat44EiInterfaceDump{} }
1758 func (*Nat44EiInterfaceDump) GetMessageName() string { return "nat44_ei_interface_dump" }
1759 func (*Nat44EiInterfaceDump) GetCrcString() string   { return "51077d14" }
1760 func (*Nat44EiInterfaceDump) GetMessageType() api.MessageType {
1761         return api.RequestMessage
1762 }
1763
1764 func (m *Nat44EiInterfaceDump) Size() (size int) {
1765         if m == nil {
1766                 return 0
1767         }
1768         return size
1769 }
1770 func (m *Nat44EiInterfaceDump) Marshal(b []byte) ([]byte, error) {
1771         if b == nil {
1772                 b = make([]byte, m.Size())
1773         }
1774         buf := codec.NewBuffer(b)
1775         return buf.Bytes(), nil
1776 }
1777 func (m *Nat44EiInterfaceDump) Unmarshal(b []byte) error {
1778         return nil
1779 }
1780
1781 // Nat44EiInterfaceOutputFeatureDetails defines message 'nat44_ei_interface_output_feature_details'.
1782 // Deprecated: the message will be removed in the future versions
1783 type Nat44EiInterfaceOutputFeatureDetails struct {
1784         Flags     Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
1785         SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
1786 }
1787
1788 func (m *Nat44EiInterfaceOutputFeatureDetails) Reset() { *m = Nat44EiInterfaceOutputFeatureDetails{} }
1789 func (*Nat44EiInterfaceOutputFeatureDetails) GetMessageName() string {
1790         return "nat44_ei_interface_output_feature_details"
1791 }
1792 func (*Nat44EiInterfaceOutputFeatureDetails) GetCrcString() string { return "f446e508" }
1793 func (*Nat44EiInterfaceOutputFeatureDetails) GetMessageType() api.MessageType {
1794         return api.ReplyMessage
1795 }
1796
1797 func (m *Nat44EiInterfaceOutputFeatureDetails) Size() (size int) {
1798         if m == nil {
1799                 return 0
1800         }
1801         size += 1 // m.Flags
1802         size += 4 // m.SwIfIndex
1803         return size
1804 }
1805 func (m *Nat44EiInterfaceOutputFeatureDetails) Marshal(b []byte) ([]byte, error) {
1806         if b == nil {
1807                 b = make([]byte, m.Size())
1808         }
1809         buf := codec.NewBuffer(b)
1810         buf.EncodeUint8(uint8(m.Flags))
1811         buf.EncodeUint32(uint32(m.SwIfIndex))
1812         return buf.Bytes(), nil
1813 }
1814 func (m *Nat44EiInterfaceOutputFeatureDetails) Unmarshal(b []byte) error {
1815         buf := codec.NewBuffer(b)
1816         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
1817         m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
1818         return nil
1819 }
1820
1821 // Nat44EiInterfaceOutputFeatureDump defines message 'nat44_ei_interface_output_feature_dump'.
1822 // Deprecated: the message will be removed in the future versions
1823 type Nat44EiInterfaceOutputFeatureDump struct{}
1824
1825 func (m *Nat44EiInterfaceOutputFeatureDump) Reset() { *m = Nat44EiInterfaceOutputFeatureDump{} }
1826 func (*Nat44EiInterfaceOutputFeatureDump) GetMessageName() string {
1827         return "nat44_ei_interface_output_feature_dump"
1828 }
1829 func (*Nat44EiInterfaceOutputFeatureDump) GetCrcString() string { return "51077d14" }
1830 func (*Nat44EiInterfaceOutputFeatureDump) GetMessageType() api.MessageType {
1831         return api.RequestMessage
1832 }
1833
1834 func (m *Nat44EiInterfaceOutputFeatureDump) Size() (size int) {
1835         if m == nil {
1836                 return 0
1837         }
1838         return size
1839 }
1840 func (m *Nat44EiInterfaceOutputFeatureDump) Marshal(b []byte) ([]byte, error) {
1841         if b == nil {
1842                 b = make([]byte, m.Size())
1843         }
1844         buf := codec.NewBuffer(b)
1845         return buf.Bytes(), nil
1846 }
1847 func (m *Nat44EiInterfaceOutputFeatureDump) Unmarshal(b []byte) error {
1848         return nil
1849 }
1850
1851 // Nat44EiIpfixEnableDisable defines message 'nat44_ei_ipfix_enable_disable'.
1852 // InProgress: the message form may change in the future versions
1853 type Nat44EiIpfixEnableDisable struct {
1854         DomainID uint32 `binapi:"u32,name=domain_id" json:"domain_id,omitempty"`
1855         SrcPort  uint16 `binapi:"u16,name=src_port" json:"src_port,omitempty"`
1856         Enable   bool   `binapi:"bool,name=enable" json:"enable,omitempty"`
1857 }
1858
1859 func (m *Nat44EiIpfixEnableDisable) Reset()               { *m = Nat44EiIpfixEnableDisable{} }
1860 func (*Nat44EiIpfixEnableDisable) GetMessageName() string { return "nat44_ei_ipfix_enable_disable" }
1861 func (*Nat44EiIpfixEnableDisable) GetCrcString() string   { return "9af4a2d2" }
1862 func (*Nat44EiIpfixEnableDisable) GetMessageType() api.MessageType {
1863         return api.RequestMessage
1864 }
1865
1866 func (m *Nat44EiIpfixEnableDisable) Size() (size int) {
1867         if m == nil {
1868                 return 0
1869         }
1870         size += 4 // m.DomainID
1871         size += 2 // m.SrcPort
1872         size += 1 // m.Enable
1873         return size
1874 }
1875 func (m *Nat44EiIpfixEnableDisable) Marshal(b []byte) ([]byte, error) {
1876         if b == nil {
1877                 b = make([]byte, m.Size())
1878         }
1879         buf := codec.NewBuffer(b)
1880         buf.EncodeUint32(m.DomainID)
1881         buf.EncodeUint16(m.SrcPort)
1882         buf.EncodeBool(m.Enable)
1883         return buf.Bytes(), nil
1884 }
1885 func (m *Nat44EiIpfixEnableDisable) Unmarshal(b []byte) error {
1886         buf := codec.NewBuffer(b)
1887         m.DomainID = buf.DecodeUint32()
1888         m.SrcPort = buf.DecodeUint16()
1889         m.Enable = buf.DecodeBool()
1890         return nil
1891 }
1892
1893 // Nat44EiIpfixEnableDisableReply defines message 'nat44_ei_ipfix_enable_disable_reply'.
1894 // InProgress: the message form may change in the future versions
1895 type Nat44EiIpfixEnableDisableReply struct {
1896         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1897 }
1898
1899 func (m *Nat44EiIpfixEnableDisableReply) Reset() { *m = Nat44EiIpfixEnableDisableReply{} }
1900 func (*Nat44EiIpfixEnableDisableReply) GetMessageName() string {
1901         return "nat44_ei_ipfix_enable_disable_reply"
1902 }
1903 func (*Nat44EiIpfixEnableDisableReply) GetCrcString() string { return "e8d4e804" }
1904 func (*Nat44EiIpfixEnableDisableReply) GetMessageType() api.MessageType {
1905         return api.ReplyMessage
1906 }
1907
1908 func (m *Nat44EiIpfixEnableDisableReply) Size() (size int) {
1909         if m == nil {
1910                 return 0
1911         }
1912         size += 4 // m.Retval
1913         return size
1914 }
1915 func (m *Nat44EiIpfixEnableDisableReply) Marshal(b []byte) ([]byte, error) {
1916         if b == nil {
1917                 b = make([]byte, m.Size())
1918         }
1919         buf := codec.NewBuffer(b)
1920         buf.EncodeInt32(m.Retval)
1921         return buf.Bytes(), nil
1922 }
1923 func (m *Nat44EiIpfixEnableDisableReply) Unmarshal(b []byte) error {
1924         buf := codec.NewBuffer(b)
1925         m.Retval = buf.DecodeInt32()
1926         return nil
1927 }
1928
1929 // Nat44EiPluginEnableDisable defines message 'nat44_ei_plugin_enable_disable'.
1930 // InProgress: the message form may change in the future versions
1931 type Nat44EiPluginEnableDisable struct {
1932         InsideVrf     uint32             `binapi:"u32,name=inside_vrf" json:"inside_vrf,omitempty"`
1933         OutsideVrf    uint32             `binapi:"u32,name=outside_vrf" json:"outside_vrf,omitempty"`
1934         Users         uint32             `binapi:"u32,name=users" json:"users,omitempty"`
1935         UserMemory    uint32             `binapi:"u32,name=user_memory" json:"user_memory,omitempty"`
1936         Sessions      uint32             `binapi:"u32,name=sessions" json:"sessions,omitempty"`
1937         SessionMemory uint32             `binapi:"u32,name=session_memory" json:"session_memory,omitempty"`
1938         UserSessions  uint32             `binapi:"u32,name=user_sessions" json:"user_sessions,omitempty"`
1939         Enable        bool               `binapi:"bool,name=enable" json:"enable,omitempty"`
1940         Flags         Nat44EiConfigFlags `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
1941 }
1942
1943 func (m *Nat44EiPluginEnableDisable) Reset()               { *m = Nat44EiPluginEnableDisable{} }
1944 func (*Nat44EiPluginEnableDisable) GetMessageName() string { return "nat44_ei_plugin_enable_disable" }
1945 func (*Nat44EiPluginEnableDisable) GetCrcString() string   { return "bf692144" }
1946 func (*Nat44EiPluginEnableDisable) GetMessageType() api.MessageType {
1947         return api.RequestMessage
1948 }
1949
1950 func (m *Nat44EiPluginEnableDisable) Size() (size int) {
1951         if m == nil {
1952                 return 0
1953         }
1954         size += 4 // m.InsideVrf
1955         size += 4 // m.OutsideVrf
1956         size += 4 // m.Users
1957         size += 4 // m.UserMemory
1958         size += 4 // m.Sessions
1959         size += 4 // m.SessionMemory
1960         size += 4 // m.UserSessions
1961         size += 1 // m.Enable
1962         size += 1 // m.Flags
1963         return size
1964 }
1965 func (m *Nat44EiPluginEnableDisable) Marshal(b []byte) ([]byte, error) {
1966         if b == nil {
1967                 b = make([]byte, m.Size())
1968         }
1969         buf := codec.NewBuffer(b)
1970         buf.EncodeUint32(m.InsideVrf)
1971         buf.EncodeUint32(m.OutsideVrf)
1972         buf.EncodeUint32(m.Users)
1973         buf.EncodeUint32(m.UserMemory)
1974         buf.EncodeUint32(m.Sessions)
1975         buf.EncodeUint32(m.SessionMemory)
1976         buf.EncodeUint32(m.UserSessions)
1977         buf.EncodeBool(m.Enable)
1978         buf.EncodeUint8(uint8(m.Flags))
1979         return buf.Bytes(), nil
1980 }
1981 func (m *Nat44EiPluginEnableDisable) Unmarshal(b []byte) error {
1982         buf := codec.NewBuffer(b)
1983         m.InsideVrf = buf.DecodeUint32()
1984         m.OutsideVrf = buf.DecodeUint32()
1985         m.Users = buf.DecodeUint32()
1986         m.UserMemory = buf.DecodeUint32()
1987         m.Sessions = buf.DecodeUint32()
1988         m.SessionMemory = buf.DecodeUint32()
1989         m.UserSessions = buf.DecodeUint32()
1990         m.Enable = buf.DecodeBool()
1991         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
1992         return nil
1993 }
1994
1995 // Nat44EiPluginEnableDisableReply defines message 'nat44_ei_plugin_enable_disable_reply'.
1996 // InProgress: the message form may change in the future versions
1997 type Nat44EiPluginEnableDisableReply struct {
1998         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1999 }
2000
2001 func (m *Nat44EiPluginEnableDisableReply) Reset() { *m = Nat44EiPluginEnableDisableReply{} }
2002 func (*Nat44EiPluginEnableDisableReply) GetMessageName() string {
2003         return "nat44_ei_plugin_enable_disable_reply"
2004 }
2005 func (*Nat44EiPluginEnableDisableReply) GetCrcString() string { return "e8d4e804" }
2006 func (*Nat44EiPluginEnableDisableReply) GetMessageType() api.MessageType {
2007         return api.ReplyMessage
2008 }
2009
2010 func (m *Nat44EiPluginEnableDisableReply) Size() (size int) {
2011         if m == nil {
2012                 return 0
2013         }
2014         size += 4 // m.Retval
2015         return size
2016 }
2017 func (m *Nat44EiPluginEnableDisableReply) Marshal(b []byte) ([]byte, error) {
2018         if b == nil {
2019                 b = make([]byte, m.Size())
2020         }
2021         buf := codec.NewBuffer(b)
2022         buf.EncodeInt32(m.Retval)
2023         return buf.Bytes(), nil
2024 }
2025 func (m *Nat44EiPluginEnableDisableReply) Unmarshal(b []byte) error {
2026         buf := codec.NewBuffer(b)
2027         m.Retval = buf.DecodeInt32()
2028         return nil
2029 }
2030
2031 // Nat44EiSetAddrAndPortAllocAlg defines message 'nat44_ei_set_addr_and_port_alloc_alg'.
2032 // InProgress: the message form may change in the future versions
2033 type Nat44EiSetAddrAndPortAllocAlg struct {
2034         Alg        uint8  `binapi:"u8,name=alg" json:"alg,omitempty"`
2035         PsidOffset uint8  `binapi:"u8,name=psid_offset" json:"psid_offset,omitempty"`
2036         PsidLength uint8  `binapi:"u8,name=psid_length" json:"psid_length,omitempty"`
2037         Psid       uint16 `binapi:"u16,name=psid" json:"psid,omitempty"`
2038         StartPort  uint16 `binapi:"u16,name=start_port" json:"start_port,omitempty"`
2039         EndPort    uint16 `binapi:"u16,name=end_port" json:"end_port,omitempty"`
2040 }
2041
2042 func (m *Nat44EiSetAddrAndPortAllocAlg) Reset() { *m = Nat44EiSetAddrAndPortAllocAlg{} }
2043 func (*Nat44EiSetAddrAndPortAllocAlg) GetMessageName() string {
2044         return "nat44_ei_set_addr_and_port_alloc_alg"
2045 }
2046 func (*Nat44EiSetAddrAndPortAllocAlg) GetCrcString() string { return "deeb746f" }
2047 func (*Nat44EiSetAddrAndPortAllocAlg) GetMessageType() api.MessageType {
2048         return api.RequestMessage
2049 }
2050
2051 func (m *Nat44EiSetAddrAndPortAllocAlg) Size() (size int) {
2052         if m == nil {
2053                 return 0
2054         }
2055         size += 1 // m.Alg
2056         size += 1 // m.PsidOffset
2057         size += 1 // m.PsidLength
2058         size += 2 // m.Psid
2059         size += 2 // m.StartPort
2060         size += 2 // m.EndPort
2061         return size
2062 }
2063 func (m *Nat44EiSetAddrAndPortAllocAlg) Marshal(b []byte) ([]byte, error) {
2064         if b == nil {
2065                 b = make([]byte, m.Size())
2066         }
2067         buf := codec.NewBuffer(b)
2068         buf.EncodeUint8(m.Alg)
2069         buf.EncodeUint8(m.PsidOffset)
2070         buf.EncodeUint8(m.PsidLength)
2071         buf.EncodeUint16(m.Psid)
2072         buf.EncodeUint16(m.StartPort)
2073         buf.EncodeUint16(m.EndPort)
2074         return buf.Bytes(), nil
2075 }
2076 func (m *Nat44EiSetAddrAndPortAllocAlg) Unmarshal(b []byte) error {
2077         buf := codec.NewBuffer(b)
2078         m.Alg = buf.DecodeUint8()
2079         m.PsidOffset = buf.DecodeUint8()
2080         m.PsidLength = buf.DecodeUint8()
2081         m.Psid = buf.DecodeUint16()
2082         m.StartPort = buf.DecodeUint16()
2083         m.EndPort = buf.DecodeUint16()
2084         return nil
2085 }
2086
2087 // Nat44EiSetAddrAndPortAllocAlgReply defines message 'nat44_ei_set_addr_and_port_alloc_alg_reply'.
2088 // InProgress: the message form may change in the future versions
2089 type Nat44EiSetAddrAndPortAllocAlgReply struct {
2090         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2091 }
2092
2093 func (m *Nat44EiSetAddrAndPortAllocAlgReply) Reset() { *m = Nat44EiSetAddrAndPortAllocAlgReply{} }
2094 func (*Nat44EiSetAddrAndPortAllocAlgReply) GetMessageName() string {
2095         return "nat44_ei_set_addr_and_port_alloc_alg_reply"
2096 }
2097 func (*Nat44EiSetAddrAndPortAllocAlgReply) GetCrcString() string { return "e8d4e804" }
2098 func (*Nat44EiSetAddrAndPortAllocAlgReply) GetMessageType() api.MessageType {
2099         return api.ReplyMessage
2100 }
2101
2102 func (m *Nat44EiSetAddrAndPortAllocAlgReply) Size() (size int) {
2103         if m == nil {
2104                 return 0
2105         }
2106         size += 4 // m.Retval
2107         return size
2108 }
2109 func (m *Nat44EiSetAddrAndPortAllocAlgReply) Marshal(b []byte) ([]byte, error) {
2110         if b == nil {
2111                 b = make([]byte, m.Size())
2112         }
2113         buf := codec.NewBuffer(b)
2114         buf.EncodeInt32(m.Retval)
2115         return buf.Bytes(), nil
2116 }
2117 func (m *Nat44EiSetAddrAndPortAllocAlgReply) Unmarshal(b []byte) error {
2118         buf := codec.NewBuffer(b)
2119         m.Retval = buf.DecodeInt32()
2120         return nil
2121 }
2122
2123 // Nat44EiSetFqOptions defines message 'nat44_ei_set_fq_options'.
2124 // InProgress: the message form may change in the future versions
2125 type Nat44EiSetFqOptions struct {
2126         FrameQueueNelts uint32 `binapi:"u32,name=frame_queue_nelts" json:"frame_queue_nelts,omitempty"`
2127 }
2128
2129 func (m *Nat44EiSetFqOptions) Reset()               { *m = Nat44EiSetFqOptions{} }
2130 func (*Nat44EiSetFqOptions) GetMessageName() string { return "nat44_ei_set_fq_options" }
2131 func (*Nat44EiSetFqOptions) GetCrcString() string   { return "2399bd71" }
2132 func (*Nat44EiSetFqOptions) GetMessageType() api.MessageType {
2133         return api.RequestMessage
2134 }
2135
2136 func (m *Nat44EiSetFqOptions) Size() (size int) {
2137         if m == nil {
2138                 return 0
2139         }
2140         size += 4 // m.FrameQueueNelts
2141         return size
2142 }
2143 func (m *Nat44EiSetFqOptions) Marshal(b []byte) ([]byte, error) {
2144         if b == nil {
2145                 b = make([]byte, m.Size())
2146         }
2147         buf := codec.NewBuffer(b)
2148         buf.EncodeUint32(m.FrameQueueNelts)
2149         return buf.Bytes(), nil
2150 }
2151 func (m *Nat44EiSetFqOptions) Unmarshal(b []byte) error {
2152         buf := codec.NewBuffer(b)
2153         m.FrameQueueNelts = buf.DecodeUint32()
2154         return nil
2155 }
2156
2157 // Nat44EiSetFqOptionsReply defines message 'nat44_ei_set_fq_options_reply'.
2158 // InProgress: the message form may change in the future versions
2159 type Nat44EiSetFqOptionsReply struct {
2160         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2161 }
2162
2163 func (m *Nat44EiSetFqOptionsReply) Reset()               { *m = Nat44EiSetFqOptionsReply{} }
2164 func (*Nat44EiSetFqOptionsReply) GetMessageName() string { return "nat44_ei_set_fq_options_reply" }
2165 func (*Nat44EiSetFqOptionsReply) GetCrcString() string   { return "e8d4e804" }
2166 func (*Nat44EiSetFqOptionsReply) GetMessageType() api.MessageType {
2167         return api.ReplyMessage
2168 }
2169
2170 func (m *Nat44EiSetFqOptionsReply) Size() (size int) {
2171         if m == nil {
2172                 return 0
2173         }
2174         size += 4 // m.Retval
2175         return size
2176 }
2177 func (m *Nat44EiSetFqOptionsReply) Marshal(b []byte) ([]byte, error) {
2178         if b == nil {
2179                 b = make([]byte, m.Size())
2180         }
2181         buf := codec.NewBuffer(b)
2182         buf.EncodeInt32(m.Retval)
2183         return buf.Bytes(), nil
2184 }
2185 func (m *Nat44EiSetFqOptionsReply) Unmarshal(b []byte) error {
2186         buf := codec.NewBuffer(b)
2187         m.Retval = buf.DecodeInt32()
2188         return nil
2189 }
2190
2191 // Nat44EiSetLogLevel defines message 'nat44_ei_set_log_level'.
2192 // Deprecated: the message will be removed in the future versions
2193 type Nat44EiSetLogLevel struct {
2194         LogLevel nat_types.NatLogLevel `binapi:"nat_log_level,name=log_level" json:"log_level,omitempty"`
2195 }
2196
2197 func (m *Nat44EiSetLogLevel) Reset()               { *m = Nat44EiSetLogLevel{} }
2198 func (*Nat44EiSetLogLevel) GetMessageName() string { return "nat44_ei_set_log_level" }
2199 func (*Nat44EiSetLogLevel) GetCrcString() string   { return "70076bfe" }
2200 func (*Nat44EiSetLogLevel) GetMessageType() api.MessageType {
2201         return api.RequestMessage
2202 }
2203
2204 func (m *Nat44EiSetLogLevel) Size() (size int) {
2205         if m == nil {
2206                 return 0
2207         }
2208         size += 1 // m.LogLevel
2209         return size
2210 }
2211 func (m *Nat44EiSetLogLevel) Marshal(b []byte) ([]byte, error) {
2212         if b == nil {
2213                 b = make([]byte, m.Size())
2214         }
2215         buf := codec.NewBuffer(b)
2216         buf.EncodeUint8(uint8(m.LogLevel))
2217         return buf.Bytes(), nil
2218 }
2219 func (m *Nat44EiSetLogLevel) Unmarshal(b []byte) error {
2220         buf := codec.NewBuffer(b)
2221         m.LogLevel = nat_types.NatLogLevel(buf.DecodeUint8())
2222         return nil
2223 }
2224
2225 // Nat44EiSetLogLevelReply defines message 'nat44_ei_set_log_level_reply'.
2226 // Deprecated: the message will be removed in the future versions
2227 type Nat44EiSetLogLevelReply struct {
2228         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2229 }
2230
2231 func (m *Nat44EiSetLogLevelReply) Reset()               { *m = Nat44EiSetLogLevelReply{} }
2232 func (*Nat44EiSetLogLevelReply) GetMessageName() string { return "nat44_ei_set_log_level_reply" }
2233 func (*Nat44EiSetLogLevelReply) GetCrcString() string   { return "e8d4e804" }
2234 func (*Nat44EiSetLogLevelReply) GetMessageType() api.MessageType {
2235         return api.ReplyMessage
2236 }
2237
2238 func (m *Nat44EiSetLogLevelReply) Size() (size int) {
2239         if m == nil {
2240                 return 0
2241         }
2242         size += 4 // m.Retval
2243         return size
2244 }
2245 func (m *Nat44EiSetLogLevelReply) Marshal(b []byte) ([]byte, error) {
2246         if b == nil {
2247                 b = make([]byte, m.Size())
2248         }
2249         buf := codec.NewBuffer(b)
2250         buf.EncodeInt32(m.Retval)
2251         return buf.Bytes(), nil
2252 }
2253 func (m *Nat44EiSetLogLevelReply) Unmarshal(b []byte) error {
2254         buf := codec.NewBuffer(b)
2255         m.Retval = buf.DecodeInt32()
2256         return nil
2257 }
2258
2259 // Nat44EiSetMssClamping defines message 'nat44_ei_set_mss_clamping'.
2260 // InProgress: the message form may change in the future versions
2261 type Nat44EiSetMssClamping struct {
2262         MssValue uint16 `binapi:"u16,name=mss_value" json:"mss_value,omitempty"`
2263         Enable   bool   `binapi:"bool,name=enable" json:"enable,omitempty"`
2264 }
2265
2266 func (m *Nat44EiSetMssClamping) Reset()               { *m = Nat44EiSetMssClamping{} }
2267 func (*Nat44EiSetMssClamping) GetMessageName() string { return "nat44_ei_set_mss_clamping" }
2268 func (*Nat44EiSetMssClamping) GetCrcString() string   { return "25e90abb" }
2269 func (*Nat44EiSetMssClamping) GetMessageType() api.MessageType {
2270         return api.RequestMessage
2271 }
2272
2273 func (m *Nat44EiSetMssClamping) Size() (size int) {
2274         if m == nil {
2275                 return 0
2276         }
2277         size += 2 // m.MssValue
2278         size += 1 // m.Enable
2279         return size
2280 }
2281 func (m *Nat44EiSetMssClamping) Marshal(b []byte) ([]byte, error) {
2282         if b == nil {
2283                 b = make([]byte, m.Size())
2284         }
2285         buf := codec.NewBuffer(b)
2286         buf.EncodeUint16(m.MssValue)
2287         buf.EncodeBool(m.Enable)
2288         return buf.Bytes(), nil
2289 }
2290 func (m *Nat44EiSetMssClamping) Unmarshal(b []byte) error {
2291         buf := codec.NewBuffer(b)
2292         m.MssValue = buf.DecodeUint16()
2293         m.Enable = buf.DecodeBool()
2294         return nil
2295 }
2296
2297 // Nat44EiSetMssClampingReply defines message 'nat44_ei_set_mss_clamping_reply'.
2298 // InProgress: the message form may change in the future versions
2299 type Nat44EiSetMssClampingReply struct {
2300         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2301 }
2302
2303 func (m *Nat44EiSetMssClampingReply) Reset()               { *m = Nat44EiSetMssClampingReply{} }
2304 func (*Nat44EiSetMssClampingReply) GetMessageName() string { return "nat44_ei_set_mss_clamping_reply" }
2305 func (*Nat44EiSetMssClampingReply) GetCrcString() string   { return "e8d4e804" }
2306 func (*Nat44EiSetMssClampingReply) GetMessageType() api.MessageType {
2307         return api.ReplyMessage
2308 }
2309
2310 func (m *Nat44EiSetMssClampingReply) Size() (size int) {
2311         if m == nil {
2312                 return 0
2313         }
2314         size += 4 // m.Retval
2315         return size
2316 }
2317 func (m *Nat44EiSetMssClampingReply) Marshal(b []byte) ([]byte, error) {
2318         if b == nil {
2319                 b = make([]byte, m.Size())
2320         }
2321         buf := codec.NewBuffer(b)
2322         buf.EncodeInt32(m.Retval)
2323         return buf.Bytes(), nil
2324 }
2325 func (m *Nat44EiSetMssClampingReply) Unmarshal(b []byte) error {
2326         buf := codec.NewBuffer(b)
2327         m.Retval = buf.DecodeInt32()
2328         return nil
2329 }
2330
2331 // Nat44EiSetTimeouts defines message 'nat44_ei_set_timeouts'.
2332 // InProgress: the message form may change in the future versions
2333 type Nat44EiSetTimeouts struct {
2334         UDP            uint32 `binapi:"u32,name=udp" json:"udp,omitempty"`
2335         TCPEstablished uint32 `binapi:"u32,name=tcp_established" json:"tcp_established,omitempty"`
2336         TCPTransitory  uint32 `binapi:"u32,name=tcp_transitory" json:"tcp_transitory,omitempty"`
2337         ICMP           uint32 `binapi:"u32,name=icmp" json:"icmp,omitempty"`
2338 }
2339
2340 func (m *Nat44EiSetTimeouts) Reset()               { *m = Nat44EiSetTimeouts{} }
2341 func (*Nat44EiSetTimeouts) GetMessageName() string { return "nat44_ei_set_timeouts" }
2342 func (*Nat44EiSetTimeouts) GetCrcString() string   { return "d4746b16" }
2343 func (*Nat44EiSetTimeouts) GetMessageType() api.MessageType {
2344         return api.RequestMessage
2345 }
2346
2347 func (m *Nat44EiSetTimeouts) Size() (size int) {
2348         if m == nil {
2349                 return 0
2350         }
2351         size += 4 // m.UDP
2352         size += 4 // m.TCPEstablished
2353         size += 4 // m.TCPTransitory
2354         size += 4 // m.ICMP
2355         return size
2356 }
2357 func (m *Nat44EiSetTimeouts) Marshal(b []byte) ([]byte, error) {
2358         if b == nil {
2359                 b = make([]byte, m.Size())
2360         }
2361         buf := codec.NewBuffer(b)
2362         buf.EncodeUint32(m.UDP)
2363         buf.EncodeUint32(m.TCPEstablished)
2364         buf.EncodeUint32(m.TCPTransitory)
2365         buf.EncodeUint32(m.ICMP)
2366         return buf.Bytes(), nil
2367 }
2368 func (m *Nat44EiSetTimeouts) Unmarshal(b []byte) error {
2369         buf := codec.NewBuffer(b)
2370         m.UDP = buf.DecodeUint32()
2371         m.TCPEstablished = buf.DecodeUint32()
2372         m.TCPTransitory = buf.DecodeUint32()
2373         m.ICMP = buf.DecodeUint32()
2374         return nil
2375 }
2376
2377 // Nat44EiSetTimeoutsReply defines message 'nat44_ei_set_timeouts_reply'.
2378 // InProgress: the message form may change in the future versions
2379 type Nat44EiSetTimeoutsReply struct {
2380         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2381 }
2382
2383 func (m *Nat44EiSetTimeoutsReply) Reset()               { *m = Nat44EiSetTimeoutsReply{} }
2384 func (*Nat44EiSetTimeoutsReply) GetMessageName() string { return "nat44_ei_set_timeouts_reply" }
2385 func (*Nat44EiSetTimeoutsReply) GetCrcString() string   { return "e8d4e804" }
2386 func (*Nat44EiSetTimeoutsReply) GetMessageType() api.MessageType {
2387         return api.ReplyMessage
2388 }
2389
2390 func (m *Nat44EiSetTimeoutsReply) Size() (size int) {
2391         if m == nil {
2392                 return 0
2393         }
2394         size += 4 // m.Retval
2395         return size
2396 }
2397 func (m *Nat44EiSetTimeoutsReply) Marshal(b []byte) ([]byte, error) {
2398         if b == nil {
2399                 b = make([]byte, m.Size())
2400         }
2401         buf := codec.NewBuffer(b)
2402         buf.EncodeInt32(m.Retval)
2403         return buf.Bytes(), nil
2404 }
2405 func (m *Nat44EiSetTimeoutsReply) Unmarshal(b []byte) error {
2406         buf := codec.NewBuffer(b)
2407         m.Retval = buf.DecodeInt32()
2408         return nil
2409 }
2410
2411 // Nat44EiSetWorkers defines message 'nat44_ei_set_workers'.
2412 // InProgress: the message form may change in the future versions
2413 type Nat44EiSetWorkers struct {
2414         WorkerMask uint64 `binapi:"u64,name=worker_mask" json:"worker_mask,omitempty"`
2415 }
2416
2417 func (m *Nat44EiSetWorkers) Reset()               { *m = Nat44EiSetWorkers{} }
2418 func (*Nat44EiSetWorkers) GetMessageName() string { return "nat44_ei_set_workers" }
2419 func (*Nat44EiSetWorkers) GetCrcString() string   { return "da926638" }
2420 func (*Nat44EiSetWorkers) GetMessageType() api.MessageType {
2421         return api.RequestMessage
2422 }
2423
2424 func (m *Nat44EiSetWorkers) Size() (size int) {
2425         if m == nil {
2426                 return 0
2427         }
2428         size += 8 // m.WorkerMask
2429         return size
2430 }
2431 func (m *Nat44EiSetWorkers) Marshal(b []byte) ([]byte, error) {
2432         if b == nil {
2433                 b = make([]byte, m.Size())
2434         }
2435         buf := codec.NewBuffer(b)
2436         buf.EncodeUint64(m.WorkerMask)
2437         return buf.Bytes(), nil
2438 }
2439 func (m *Nat44EiSetWorkers) Unmarshal(b []byte) error {
2440         buf := codec.NewBuffer(b)
2441         m.WorkerMask = buf.DecodeUint64()
2442         return nil
2443 }
2444
2445 // Nat44EiSetWorkersReply defines message 'nat44_ei_set_workers_reply'.
2446 // InProgress: the message form may change in the future versions
2447 type Nat44EiSetWorkersReply struct {
2448         Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2449 }
2450
2451 func (m *Nat44EiSetWorkersReply) Reset()               { *m = Nat44EiSetWorkersReply{} }
2452 func (*Nat44EiSetWorkersReply) GetMessageName() string { return "nat44_ei_set_workers_reply" }
2453 func (*Nat44EiSetWorkersReply) GetCrcString() string   { return "e8d4e804" }
2454 func (*Nat44EiSetWorkersReply) GetMessageType() api.MessageType {
2455         return api.ReplyMessage
2456 }
2457
2458 func (m *Nat44EiSetWorkersReply) Size() (size int) {
2459         if m == nil {
2460                 return 0
2461         }
2462         size += 4 // m.Retval
2463         return size
2464 }
2465 func (m *Nat44EiSetWorkersReply) Marshal(b []byte) ([]byte, error) {
2466         if b == nil {
2467                 b = make([]byte, m.Size())
2468         }
2469         buf := codec.NewBuffer(b)
2470         buf.EncodeInt32(m.Retval)
2471         return buf.Bytes(), nil
2472 }
2473 func (m *Nat44EiSetWorkersReply) Unmarshal(b []byte) error {
2474         buf := codec.NewBuffer(b)
2475         m.Retval = buf.DecodeInt32()
2476         return nil
2477 }
2478
2479 // Nat44EiShowFqOptions defines message 'nat44_ei_show_fq_options'.
2480 // InProgress: the message form may change in the future versions
2481 type Nat44EiShowFqOptions struct{}
2482
2483 func (m *Nat44EiShowFqOptions) Reset()               { *m = Nat44EiShowFqOptions{} }
2484 func (*Nat44EiShowFqOptions) GetMessageName() string { return "nat44_ei_show_fq_options" }
2485 func (*Nat44EiShowFqOptions) GetCrcString() string   { return "51077d14" }
2486 func (*Nat44EiShowFqOptions) GetMessageType() api.MessageType {
2487         return api.RequestMessage
2488 }
2489
2490 func (m *Nat44EiShowFqOptions) Size() (size int) {
2491         if m == nil {
2492                 return 0
2493         }
2494         return size
2495 }
2496 func (m *Nat44EiShowFqOptions) Marshal(b []byte) ([]byte, error) {
2497         if b == nil {
2498                 b = make([]byte, m.Size())
2499         }
2500         buf := codec.NewBuffer(b)
2501         return buf.Bytes(), nil
2502 }
2503 func (m *Nat44EiShowFqOptions) Unmarshal(b []byte) error {
2504         return nil
2505 }
2506
2507 // Nat44EiShowFqOptionsReply defines message 'nat44_ei_show_fq_options_reply'.
2508 // InProgress: the message form may change in the future versions
2509 type Nat44EiShowFqOptionsReply struct {
2510         Retval          int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
2511         FrameQueueNelts uint32 `binapi:"u32,name=frame_queue_nelts" json:"frame_queue_nelts,omitempty"`
2512 }
2513
2514 func (m *Nat44EiShowFqOptionsReply) Reset()               { *m = Nat44EiShowFqOptionsReply{} }
2515 func (*Nat44EiShowFqOptionsReply) GetMessageName() string { return "nat44_ei_show_fq_options_reply" }
2516 func (*Nat44EiShowFqOptionsReply) GetCrcString() string   { return "7213b545" }
2517 func (*Nat44EiShowFqOptionsReply) GetMessageType() api.MessageType {
2518         return api.ReplyMessage
2519 }
2520
2521 func (m *Nat44EiShowFqOptionsReply) Size() (size int) {
2522         if m == nil {
2523                 return 0
2524         }
2525         size += 4 // m.Retval
2526         size += 4 // m.FrameQueueNelts
2527         return size
2528 }
2529 func (m *Nat44EiShowFqOptionsReply) Marshal(b []byte) ([]byte, error) {
2530         if b == nil {
2531                 b = make([]byte, m.Size())
2532         }
2533         buf := codec.NewBuffer(b)
2534         buf.EncodeInt32(m.Retval)
2535         buf.EncodeUint32(m.FrameQueueNelts)
2536         return buf.Bytes(), nil
2537 }
2538 func (m *Nat44EiShowFqOptionsReply) Unmarshal(b []byte) error {
2539         buf := codec.NewBuffer(b)
2540         m.Retval = buf.DecodeInt32()
2541         m.FrameQueueNelts = buf.DecodeUint32()
2542         return nil
2543 }
2544
2545 // Nat44EiShowRunningConfig defines message 'nat44_ei_show_running_config'.
2546 // InProgress: the message form may change in the future versions
2547 type Nat44EiShowRunningConfig struct{}
2548
2549 func (m *Nat44EiShowRunningConfig) Reset()               { *m = Nat44EiShowRunningConfig{} }
2550 func (*Nat44EiShowRunningConfig) GetMessageName() string { return "nat44_ei_show_running_config" }
2551 func (*Nat44EiShowRunningConfig) GetCrcString() string   { return "51077d14" }
2552 func (*Nat44EiShowRunningConfig) GetMessageType() api.MessageType {
2553         return api.RequestMessage
2554 }
2555
2556 func (m *Nat44EiShowRunningConfig) Size() (size int) {
2557         if m == nil {
2558                 return 0
2559         }
2560         return size
2561 }
2562 func (m *Nat44EiShowRunningConfig) Marshal(b []byte) ([]byte, error) {
2563         if b == nil {
2564                 b = make([]byte, m.Size())
2565         }
2566         buf := codec.NewBuffer(b)
2567         return buf.Bytes(), nil
2568 }
2569 func (m *Nat44EiShowRunningConfig) Unmarshal(b []byte) error {
2570         return nil
2571 }
2572
2573 // Nat44EiShowRunningConfigReply defines message 'nat44_ei_show_running_config_reply'.
2574 // InProgress: the message form may change in the future versions
2575 type Nat44EiShowRunningConfigReply struct {
2576         Retval              int32                 `binapi:"i32,name=retval" json:"retval,omitempty"`
2577         InsideVrf           uint32                `binapi:"u32,name=inside_vrf" json:"inside_vrf,omitempty"`
2578         OutsideVrf          uint32                `binapi:"u32,name=outside_vrf" json:"outside_vrf,omitempty"`
2579         Users               uint32                `binapi:"u32,name=users" json:"users,omitempty"`
2580         Sessions            uint32                `binapi:"u32,name=sessions" json:"sessions,omitempty"`
2581         UserSessions        uint32                `binapi:"u32,name=user_sessions" json:"user_sessions,omitempty"`
2582         UserBuckets         uint32                `binapi:"u32,name=user_buckets" json:"user_buckets,omitempty"`
2583         TranslationBuckets  uint32                `binapi:"u32,name=translation_buckets" json:"translation_buckets,omitempty"`
2584         ForwardingEnabled   bool                  `binapi:"bool,name=forwarding_enabled" json:"forwarding_enabled,omitempty"`
2585         IpfixLoggingEnabled bool                  `binapi:"bool,name=ipfix_logging_enabled" json:"ipfix_logging_enabled,omitempty"`
2586         Timeouts            nat_types.NatTimeouts `binapi:"nat_timeouts,name=timeouts" json:"timeouts,omitempty"`
2587         LogLevel            nat_types.NatLogLevel `binapi:"nat_log_level,name=log_level" json:"log_level,omitempty"`
2588         Flags               Nat44EiConfigFlags    `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
2589 }
2590
2591 func (m *Nat44EiShowRunningConfigReply) Reset() { *m = Nat44EiShowRunningConfigReply{} }
2592 func (*Nat44EiShowRunningConfigReply) GetMessageName() string {
2593         return "nat44_ei_show_running_config_reply"
2594 }
2595 func (*Nat44EiShowRunningConfigReply) GetCrcString() string { return "41b66a81" }
2596 func (*Nat44EiShowRunningConfigReply) GetMessageType() api.MessageType {
2597         return api.ReplyMessage
2598 }
2599
2600 func (m *Nat44EiShowRunningConfigReply) Size() (size int) {
2601         if m == nil {
2602                 return 0
2603         }
2604         size += 4 // m.Retval
2605         size += 4 // m.InsideVrf
2606         size += 4 // m.OutsideVrf
2607         size += 4 // m.Users
2608         size += 4 // m.Sessions
2609         size += 4 // m.UserSessions
2610         size += 4 // m.UserBuckets
2611         size += 4 // m.TranslationBuckets
2612         size += 1 // m.ForwardingEnabled
2613         size += 1 // m.IpfixLoggingEnabled
2614         size += 4 // m.Timeouts.UDP
2615         size += 4 // m.Timeouts.TCPEstablished
2616         size += 4 // m.Timeouts.TCPTransitory
2617         size += 4 // m.Timeouts.ICMP
2618         size += 1 // m.LogLevel
2619         size += 1 // m.Flags
2620         return size
2621 }
2622 func (m *Nat44EiShowRunningConfigReply) Marshal(b []byte) ([]byte, error) {
2623         if b == nil {
2624                 b = make([]byte, m.Size())
2625         }
2626         buf := codec.NewBuffer(b)
2627         buf.EncodeInt32(m.Retval)
2628         buf.EncodeUint32(m.InsideVrf)
2629         buf.EncodeUint32(m.OutsideVrf)
2630         buf.EncodeUint32(m.Users)
2631         buf.EncodeUint32(m.Sessions)
2632         buf.EncodeUint32(m.UserSessions)
2633         buf.EncodeUint32(m.UserBuckets)
2634         buf.EncodeUint32(m.TranslationBuckets)
2635         buf.EncodeBool(m.ForwardingEnabled)
2636         buf.EncodeBool(m.IpfixLoggingEnabled)
2637         buf.EncodeUint32(m.Timeouts.UDP)
2638         buf.EncodeUint32(m.Timeouts.TCPEstablished)
2639         buf.EncodeUint32(m.Timeouts.TCPTransitory)
2640         buf.EncodeUint32(m.Timeouts.ICMP)
2641         buf.EncodeUint8(uint8(m.LogLevel))
2642         buf.EncodeUint8(uint8(m.Flags))
2643         return buf.Bytes(), nil
2644 }
2645 func (m *Nat44EiShowRunningConfigReply) Unmarshal(b []byte) error {
2646         buf := codec.NewBuffer(b)
2647         m.Retval = buf.DecodeInt32()
2648         m.InsideVrf = buf.DecodeUint32()
2649         m.OutsideVrf = buf.DecodeUint32()
2650         m.Users = buf.DecodeUint32()
2651         m.Sessions = buf.DecodeUint32()
2652         m.UserSessions = buf.DecodeUint32()
2653         m.UserBuckets = buf.DecodeUint32()
2654         m.TranslationBuckets = buf.DecodeUint32()
2655         m.ForwardingEnabled = buf.DecodeBool()
2656         m.IpfixLoggingEnabled = buf.DecodeBool()
2657         m.Timeouts.UDP = buf.DecodeUint32()
2658         m.Timeouts.TCPEstablished = buf.DecodeUint32()
2659         m.Timeouts.TCPTransitory = buf.DecodeUint32()
2660         m.Timeouts.ICMP = buf.DecodeUint32()
2661         m.LogLevel = nat_types.NatLogLevel(buf.DecodeUint8())
2662         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
2663         return nil
2664 }
2665
2666 // Nat44EiStaticMappingDetails defines message 'nat44_ei_static_mapping_details'.
2667 // InProgress: the message form may change in the future versions
2668 type Nat44EiStaticMappingDetails struct {
2669         Flags             Nat44EiConfigFlags             `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
2670         LocalIPAddress    ip_types.IP4Address            `binapi:"ip4_address,name=local_ip_address" json:"local_ip_address,omitempty"`
2671         ExternalIPAddress ip_types.IP4Address            `binapi:"ip4_address,name=external_ip_address" json:"external_ip_address,omitempty"`
2672         Protocol          uint8                          `binapi:"u8,name=protocol" json:"protocol,omitempty"`
2673         LocalPort         uint16                         `binapi:"u16,name=local_port" json:"local_port,omitempty"`
2674         ExternalPort      uint16                         `binapi:"u16,name=external_port" json:"external_port,omitempty"`
2675         ExternalSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=external_sw_if_index" json:"external_sw_if_index,omitempty"`
2676         VrfID             uint32                         `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
2677         Tag               string                         `binapi:"string[64],name=tag" json:"tag,omitempty"`
2678 }
2679
2680 func (m *Nat44EiStaticMappingDetails) Reset()               { *m = Nat44EiStaticMappingDetails{} }
2681 func (*Nat44EiStaticMappingDetails) GetMessageName() string { return "nat44_ei_static_mapping_details" }
2682 func (*Nat44EiStaticMappingDetails) GetCrcString() string   { return "6b51ca6e" }
2683 func (*Nat44EiStaticMappingDetails) GetMessageType() api.MessageType {
2684         return api.ReplyMessage
2685 }
2686
2687 func (m *Nat44EiStaticMappingDetails) Size() (size int) {
2688         if m == nil {
2689                 return 0
2690         }
2691         size += 1     // m.Flags
2692         size += 1 * 4 // m.LocalIPAddress
2693         size += 1 * 4 // m.ExternalIPAddress
2694         size += 1     // m.Protocol
2695         size += 2     // m.LocalPort
2696         size += 2     // m.ExternalPort
2697         size += 4     // m.ExternalSwIfIndex
2698         size += 4     // m.VrfID
2699         size += 64    // m.Tag
2700         return size
2701 }
2702 func (m *Nat44EiStaticMappingDetails) Marshal(b []byte) ([]byte, error) {
2703         if b == nil {
2704                 b = make([]byte, m.Size())
2705         }
2706         buf := codec.NewBuffer(b)
2707         buf.EncodeUint8(uint8(m.Flags))
2708         buf.EncodeBytes(m.LocalIPAddress[:], 4)
2709         buf.EncodeBytes(m.ExternalIPAddress[:], 4)
2710         buf.EncodeUint8(m.Protocol)
2711         buf.EncodeUint16(m.LocalPort)
2712         buf.EncodeUint16(m.ExternalPort)
2713         buf.EncodeUint32(uint32(m.ExternalSwIfIndex))
2714         buf.EncodeUint32(m.VrfID)
2715         buf.EncodeString(m.Tag, 64)
2716         return buf.Bytes(), nil
2717 }
2718 func (m *Nat44EiStaticMappingDetails) Unmarshal(b []byte) error {
2719         buf := codec.NewBuffer(b)
2720         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
2721         copy(m.LocalIPAddress[:], buf.DecodeBytes(4))
2722         copy(m.ExternalIPAddress[:], buf.DecodeBytes(4))
2723         m.Protocol = buf.DecodeUint8()
2724         m.LocalPort = buf.DecodeUint16()
2725         m.ExternalPort = buf.DecodeUint16()
2726         m.ExternalSwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
2727         m.VrfID = buf.DecodeUint32()
2728         m.Tag = buf.DecodeString(64)
2729         return nil
2730 }
2731
2732 // Nat44EiStaticMappingDump defines message 'nat44_ei_static_mapping_dump'.
2733 // InProgress: the message form may change in the future versions
2734 type Nat44EiStaticMappingDump struct{}
2735
2736 func (m *Nat44EiStaticMappingDump) Reset()               { *m = Nat44EiStaticMappingDump{} }
2737 func (*Nat44EiStaticMappingDump) GetMessageName() string { return "nat44_ei_static_mapping_dump" }
2738 func (*Nat44EiStaticMappingDump) GetCrcString() string   { return "51077d14" }
2739 func (*Nat44EiStaticMappingDump) GetMessageType() api.MessageType {
2740         return api.RequestMessage
2741 }
2742
2743 func (m *Nat44EiStaticMappingDump) Size() (size int) {
2744         if m == nil {
2745                 return 0
2746         }
2747         return size
2748 }
2749 func (m *Nat44EiStaticMappingDump) Marshal(b []byte) ([]byte, error) {
2750         if b == nil {
2751                 b = make([]byte, m.Size())
2752         }
2753         buf := codec.NewBuffer(b)
2754         return buf.Bytes(), nil
2755 }
2756 func (m *Nat44EiStaticMappingDump) Unmarshal(b []byte) error {
2757         return nil
2758 }
2759
2760 // Nat44EiUserDetails defines message 'nat44_ei_user_details'.
2761 // InProgress: the message form may change in the future versions
2762 type Nat44EiUserDetails struct {
2763         VrfID           uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
2764         IPAddress       ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
2765         Nsessions       uint32              `binapi:"u32,name=nsessions" json:"nsessions,omitempty"`
2766         Nstaticsessions uint32              `binapi:"u32,name=nstaticsessions" json:"nstaticsessions,omitempty"`
2767 }
2768
2769 func (m *Nat44EiUserDetails) Reset()               { *m = Nat44EiUserDetails{} }
2770 func (*Nat44EiUserDetails) GetMessageName() string { return "nat44_ei_user_details" }
2771 func (*Nat44EiUserDetails) GetCrcString() string   { return "355896c2" }
2772 func (*Nat44EiUserDetails) GetMessageType() api.MessageType {
2773         return api.ReplyMessage
2774 }
2775
2776 func (m *Nat44EiUserDetails) Size() (size int) {
2777         if m == nil {
2778                 return 0
2779         }
2780         size += 4     // m.VrfID
2781         size += 1 * 4 // m.IPAddress
2782         size += 4     // m.Nsessions
2783         size += 4     // m.Nstaticsessions
2784         return size
2785 }
2786 func (m *Nat44EiUserDetails) Marshal(b []byte) ([]byte, error) {
2787         if b == nil {
2788                 b = make([]byte, m.Size())
2789         }
2790         buf := codec.NewBuffer(b)
2791         buf.EncodeUint32(m.VrfID)
2792         buf.EncodeBytes(m.IPAddress[:], 4)
2793         buf.EncodeUint32(m.Nsessions)
2794         buf.EncodeUint32(m.Nstaticsessions)
2795         return buf.Bytes(), nil
2796 }
2797 func (m *Nat44EiUserDetails) Unmarshal(b []byte) error {
2798         buf := codec.NewBuffer(b)
2799         m.VrfID = buf.DecodeUint32()
2800         copy(m.IPAddress[:], buf.DecodeBytes(4))
2801         m.Nsessions = buf.DecodeUint32()
2802         m.Nstaticsessions = buf.DecodeUint32()
2803         return nil
2804 }
2805
2806 // Nat44EiUserDump defines message 'nat44_ei_user_dump'.
2807 // InProgress: the message form may change in the future versions
2808 type Nat44EiUserDump struct{}
2809
2810 func (m *Nat44EiUserDump) Reset()               { *m = Nat44EiUserDump{} }
2811 func (*Nat44EiUserDump) GetMessageName() string { return "nat44_ei_user_dump" }
2812 func (*Nat44EiUserDump) GetCrcString() string   { return "51077d14" }
2813 func (*Nat44EiUserDump) GetMessageType() api.MessageType {
2814         return api.RequestMessage
2815 }
2816
2817 func (m *Nat44EiUserDump) Size() (size int) {
2818         if m == nil {
2819                 return 0
2820         }
2821         return size
2822 }
2823 func (m *Nat44EiUserDump) Marshal(b []byte) ([]byte, error) {
2824         if b == nil {
2825                 b = make([]byte, m.Size())
2826         }
2827         buf := codec.NewBuffer(b)
2828         return buf.Bytes(), nil
2829 }
2830 func (m *Nat44EiUserDump) Unmarshal(b []byte) error {
2831         return nil
2832 }
2833
2834 // Nat44EiUserSessionDetails defines message 'nat44_ei_user_session_details'.
2835 // InProgress: the message form may change in the future versions
2836 type Nat44EiUserSessionDetails struct {
2837         OutsideIPAddress ip_types.IP4Address `binapi:"ip4_address,name=outside_ip_address" json:"outside_ip_address,omitempty"`
2838         OutsidePort      uint16              `binapi:"u16,name=outside_port" json:"outside_port,omitempty"`
2839         InsideIPAddress  ip_types.IP4Address `binapi:"ip4_address,name=inside_ip_address" json:"inside_ip_address,omitempty"`
2840         InsidePort       uint16              `binapi:"u16,name=inside_port" json:"inside_port,omitempty"`
2841         Protocol         uint16              `binapi:"u16,name=protocol" json:"protocol,omitempty"`
2842         Flags            Nat44EiConfigFlags  `binapi:"nat44_ei_config_flags,name=flags" json:"flags,omitempty"`
2843         LastHeard        uint64              `binapi:"u64,name=last_heard" json:"last_heard,omitempty"`
2844         TotalBytes       uint64              `binapi:"u64,name=total_bytes" json:"total_bytes,omitempty"`
2845         TotalPkts        uint32              `binapi:"u32,name=total_pkts" json:"total_pkts,omitempty"`
2846         ExtHostAddress   ip_types.IP4Address `binapi:"ip4_address,name=ext_host_address" json:"ext_host_address,omitempty"`
2847         ExtHostPort      uint16              `binapi:"u16,name=ext_host_port" json:"ext_host_port,omitempty"`
2848 }
2849
2850 func (m *Nat44EiUserSessionDetails) Reset()               { *m = Nat44EiUserSessionDetails{} }
2851 func (*Nat44EiUserSessionDetails) GetMessageName() string { return "nat44_ei_user_session_details" }
2852 func (*Nat44EiUserSessionDetails) GetCrcString() string   { return "19b7c0ac" }
2853 func (*Nat44EiUserSessionDetails) GetMessageType() api.MessageType {
2854         return api.ReplyMessage
2855 }
2856
2857 func (m *Nat44EiUserSessionDetails) Size() (size int) {
2858         if m == nil {
2859                 return 0
2860         }
2861         size += 1 * 4 // m.OutsideIPAddress
2862         size += 2     // m.OutsidePort
2863         size += 1 * 4 // m.InsideIPAddress
2864         size += 2     // m.InsidePort
2865         size += 2     // m.Protocol
2866         size += 1     // m.Flags
2867         size += 8     // m.LastHeard
2868         size += 8     // m.TotalBytes
2869         size += 4     // m.TotalPkts
2870         size += 1 * 4 // m.ExtHostAddress
2871         size += 2     // m.ExtHostPort
2872         return size
2873 }
2874 func (m *Nat44EiUserSessionDetails) Marshal(b []byte) ([]byte, error) {
2875         if b == nil {
2876                 b = make([]byte, m.Size())
2877         }
2878         buf := codec.NewBuffer(b)
2879         buf.EncodeBytes(m.OutsideIPAddress[:], 4)
2880         buf.EncodeUint16(m.OutsidePort)
2881         buf.EncodeBytes(m.InsideIPAddress[:], 4)
2882         buf.EncodeUint16(m.InsidePort)
2883         buf.EncodeUint16(m.Protocol)
2884         buf.EncodeUint8(uint8(m.Flags))
2885         buf.EncodeUint64(m.LastHeard)
2886         buf.EncodeUint64(m.TotalBytes)
2887         buf.EncodeUint32(m.TotalPkts)
2888         buf.EncodeBytes(m.ExtHostAddress[:], 4)
2889         buf.EncodeUint16(m.ExtHostPort)
2890         return buf.Bytes(), nil
2891 }
2892 func (m *Nat44EiUserSessionDetails) Unmarshal(b []byte) error {
2893         buf := codec.NewBuffer(b)
2894         copy(m.OutsideIPAddress[:], buf.DecodeBytes(4))
2895         m.OutsidePort = buf.DecodeUint16()
2896         copy(m.InsideIPAddress[:], buf.DecodeBytes(4))
2897         m.InsidePort = buf.DecodeUint16()
2898         m.Protocol = buf.DecodeUint16()
2899         m.Flags = Nat44EiConfigFlags(buf.DecodeUint8())
2900         m.LastHeard = buf.DecodeUint64()
2901         m.TotalBytes = buf.DecodeUint64()
2902         m.TotalPkts = buf.DecodeUint32()
2903         copy(m.ExtHostAddress[:], buf.DecodeBytes(4))
2904         m.ExtHostPort = buf.DecodeUint16()
2905         return nil
2906 }
2907
2908 // Nat44EiUserSessionDump defines message 'nat44_ei_user_session_dump'.
2909 // InProgress: the message form may change in the future versions
2910 type Nat44EiUserSessionDump struct {
2911         IPAddress ip_types.IP4Address `binapi:"ip4_address,name=ip_address" json:"ip_address,omitempty"`
2912         VrfID     uint32              `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
2913 }
2914
2915 func (m *Nat44EiUserSessionDump) Reset()               { *m = Nat44EiUserSessionDump{} }
2916 func (*Nat44EiUserSessionDump) GetMessageName() string { return "nat44_ei_user_session_dump" }
2917 func (*Nat44EiUserSessionDump) GetCrcString() string   { return "e1899c98" }
2918 func (*Nat44EiUserSessionDump) GetMessageType() api.MessageType {
2919         return api.RequestMessage
2920 }
2921
2922 func (m *Nat44EiUserSessionDump) Size() (size int) {
2923         if m == nil {
2924                 return 0
2925         }
2926         size += 1 * 4 // m.IPAddress
2927         size += 4     // m.VrfID
2928         return size
2929 }
2930 func (m *Nat44EiUserSessionDump) Marshal(b []byte) ([]byte, error) {
2931         if b == nil {
2932                 b = make([]byte, m.Size())
2933         }
2934         buf := codec.NewBuffer(b)
2935         buf.EncodeBytes(m.IPAddress[:], 4)
2936         buf.EncodeUint32(m.VrfID)
2937         return buf.Bytes(), nil
2938 }
2939 func (m *Nat44EiUserSessionDump) Unmarshal(b []byte) error {
2940         buf := codec.NewBuffer(b)
2941         copy(m.IPAddress[:], buf.DecodeBytes(4))
2942         m.VrfID = buf.DecodeUint32()
2943         return nil
2944 }
2945
2946 // Nat44EiWorkerDetails defines message 'nat44_ei_worker_details'.
2947 // InProgress: the message form may change in the future versions
2948 type Nat44EiWorkerDetails struct {
2949         WorkerIndex uint32 `binapi:"u32,name=worker_index" json:"worker_index,omitempty"`
2950         LcoreID     uint32 `binapi:"u32,name=lcore_id" json:"lcore_id,omitempty"`
2951         Name        string `binapi:"string[64],name=name" json:"name,omitempty"`
2952 }
2953
2954 func (m *Nat44EiWorkerDetails) Reset()               { *m = Nat44EiWorkerDetails{} }
2955 func (*Nat44EiWorkerDetails) GetMessageName() string { return "nat44_ei_worker_details" }
2956 func (*Nat44EiWorkerDetails) GetCrcString() string   { return "84bf06fc" }
2957 func (*Nat44EiWorkerDetails) GetMessageType() api.MessageType {
2958         return api.ReplyMessage
2959 }
2960
2961 func (m *Nat44EiWorkerDetails) Size() (size int) {
2962         if m == nil {
2963                 return 0
2964         }
2965         size += 4  // m.WorkerIndex
2966         size += 4  // m.LcoreID
2967         size += 64 // m.Name
2968         return size
2969 }
2970 func (m *Nat44EiWorkerDetails) Marshal(b []byte) ([]byte, error) {
2971         if b == nil {
2972                 b = make([]byte, m.Size())
2973         }
2974         buf := codec.NewBuffer(b)
2975         buf.EncodeUint32(m.WorkerIndex)
2976         buf.EncodeUint32(m.LcoreID)
2977         buf.EncodeString(m.Name, 64)
2978         return buf.Bytes(), nil
2979 }
2980 func (m *Nat44EiWorkerDetails) Unmarshal(b []byte) error {
2981         buf := codec.NewBuffer(b)
2982         m.WorkerIndex = buf.DecodeUint32()
2983         m.LcoreID = buf.DecodeUint32()
2984         m.Name = buf.DecodeString(64)
2985         return nil
2986 }
2987
2988 // Nat44EiWorkerDump defines message 'nat44_ei_worker_dump'.
2989 // InProgress: the message form may change in the future versions
2990 type Nat44EiWorkerDump struct{}
2991
2992 func (m *Nat44EiWorkerDump) Reset()               { *m = Nat44EiWorkerDump{} }
2993 func (*Nat44EiWorkerDump) GetMessageName() string { return "nat44_ei_worker_dump" }
2994 func (*Nat44EiWorkerDump) GetCrcString() string   { return "51077d14" }
2995 func (*Nat44EiWorkerDump) GetMessageType() api.MessageType {
2996         return api.RequestMessage
2997 }
2998
2999 func (m *Nat44EiWorkerDump) Size() (size int) {
3000         if m == nil {
3001                 return 0
3002         }
3003         return size
3004 }
3005 func (m *Nat44EiWorkerDump) Marshal(b []byte) ([]byte, error) {
3006         if b == nil {
3007                 b = make([]byte, m.Size())
3008         }
3009         buf := codec.NewBuffer(b)
3010         return buf.Bytes(), nil
3011 }
3012 func (m *Nat44EiWorkerDump) Unmarshal(b []byte) error {
3013         return nil
3014 }
3015
3016 func init() { file_nat44_ei_binapi_init() }
3017 func file_nat44_ei_binapi_init() {
3018         api.RegisterMessage((*Nat44EiAddDelAddressRange)(nil), "nat44_ei_add_del_address_range_35f21abc")
3019         api.RegisterMessage((*Nat44EiAddDelAddressRangeReply)(nil), "nat44_ei_add_del_address_range_reply_e8d4e804")
3020         api.RegisterMessage((*Nat44EiAddDelIdentityMapping)(nil), "nat44_ei_add_del_identity_mapping_cb8606b9")
3021         api.RegisterMessage((*Nat44EiAddDelIdentityMappingReply)(nil), "nat44_ei_add_del_identity_mapping_reply_e8d4e804")
3022         api.RegisterMessage((*Nat44EiAddDelInterfaceAddr)(nil), "nat44_ei_add_del_interface_addr_883abbcc")
3023         api.RegisterMessage((*Nat44EiAddDelInterfaceAddrReply)(nil), "nat44_ei_add_del_interface_addr_reply_e8d4e804")
3024         api.RegisterMessage((*Nat44EiAddDelStaticMapping)(nil), "nat44_ei_add_del_static_mapping_b404b7fe")
3025         api.RegisterMessage((*Nat44EiAddDelStaticMappingReply)(nil), "nat44_ei_add_del_static_mapping_reply_e8d4e804")
3026         api.RegisterMessage((*Nat44EiAddressDetails)(nil), "nat44_ei_address_details_318f1202")
3027         api.RegisterMessage((*Nat44EiAddressDump)(nil), "nat44_ei_address_dump_51077d14")
3028         api.RegisterMessage((*Nat44EiDelSession)(nil), "nat44_ei_del_session_74969ffe")
3029         api.RegisterMessage((*Nat44EiDelSessionReply)(nil), "nat44_ei_del_session_reply_e8d4e804")
3030         api.RegisterMessage((*Nat44EiDelUser)(nil), "nat44_ei_del_user_99a9f998")
3031         api.RegisterMessage((*Nat44EiDelUserReply)(nil), "nat44_ei_del_user_reply_e8d4e804")
3032         api.RegisterMessage((*Nat44EiForwardingEnableDisable)(nil), "nat44_ei_forwarding_enable_disable_b3e225d2")
3033         api.RegisterMessage((*Nat44EiForwardingEnableDisableReply)(nil), "nat44_ei_forwarding_enable_disable_reply_e8d4e804")
3034         api.RegisterMessage((*Nat44EiGetAddrAndPortAllocAlg)(nil), "nat44_ei_get_addr_and_port_alloc_alg_51077d14")
3035         api.RegisterMessage((*Nat44EiGetAddrAndPortAllocAlgReply)(nil), "nat44_ei_get_addr_and_port_alloc_alg_reply_3607a7d0")
3036         api.RegisterMessage((*Nat44EiGetMssClamping)(nil), "nat44_ei_get_mss_clamping_51077d14")
3037         api.RegisterMessage((*Nat44EiGetMssClampingReply)(nil), "nat44_ei_get_mss_clamping_reply_1c0b2a78")
3038         api.RegisterMessage((*Nat44EiHaFlush)(nil), "nat44_ei_ha_flush_51077d14")
3039         api.RegisterMessage((*Nat44EiHaFlushReply)(nil), "nat44_ei_ha_flush_reply_e8d4e804")
3040         api.RegisterMessage((*Nat44EiHaGetFailover)(nil), "nat44_ei_ha_get_failover_51077d14")
3041         api.RegisterMessage((*Nat44EiHaGetFailoverReply)(nil), "nat44_ei_ha_get_failover_reply_a67d8752")
3042         api.RegisterMessage((*Nat44EiHaGetListener)(nil), "nat44_ei_ha_get_listener_51077d14")
3043         api.RegisterMessage((*Nat44EiHaGetListenerReply)(nil), "nat44_ei_ha_get_listener_reply_123ea41f")
3044         api.RegisterMessage((*Nat44EiHaResync)(nil), "nat44_ei_ha_resync_c8ab9e03")
3045         api.RegisterMessage((*Nat44EiHaResyncCompletedEvent)(nil), "nat44_ei_ha_resync_completed_event_fdc598fb")
3046         api.RegisterMessage((*Nat44EiHaResyncReply)(nil), "nat44_ei_ha_resync_reply_e8d4e804")
3047         api.RegisterMessage((*Nat44EiHaSetFailover)(nil), "nat44_ei_ha_set_failover_718246af")
3048         api.RegisterMessage((*Nat44EiHaSetFailoverReply)(nil), "nat44_ei_ha_set_failover_reply_e8d4e804")
3049         api.RegisterMessage((*Nat44EiHaSetListener)(nil), "nat44_ei_ha_set_listener_e4a8cb4e")
3050         api.RegisterMessage((*Nat44EiHaSetListenerReply)(nil), "nat44_ei_ha_set_listener_reply_e8d4e804")
3051         api.RegisterMessage((*Nat44EiIdentityMappingDetails)(nil), "nat44_ei_identity_mapping_details_30d53e26")
3052         api.RegisterMessage((*Nat44EiIdentityMappingDump)(nil), "nat44_ei_identity_mapping_dump_51077d14")
3053         api.RegisterMessage((*Nat44EiInterfaceAddDelFeature)(nil), "nat44_ei_interface_add_del_feature_63a2db8b")
3054         api.RegisterMessage((*Nat44EiInterfaceAddDelFeatureReply)(nil), "nat44_ei_interface_add_del_feature_reply_e8d4e804")
3055         api.RegisterMessage((*Nat44EiInterfaceAddDelOutputFeature)(nil), "nat44_ei_interface_add_del_output_feature_63a2db8b")
3056         api.RegisterMessage((*Nat44EiInterfaceAddDelOutputFeatureReply)(nil), "nat44_ei_interface_add_del_output_feature_reply_e8d4e804")
3057         api.RegisterMessage((*Nat44EiInterfaceAddrDetails)(nil), "nat44_ei_interface_addr_details_0b45011c")
3058         api.RegisterMessage((*Nat44EiInterfaceAddrDump)(nil), "nat44_ei_interface_addr_dump_51077d14")
3059         api.RegisterMessage((*Nat44EiInterfaceDetails)(nil), "nat44_ei_interface_details_f446e508")
3060         api.RegisterMessage((*Nat44EiInterfaceDump)(nil), "nat44_ei_interface_dump_51077d14")
3061         api.RegisterMessage((*Nat44EiInterfaceOutputFeatureDetails)(nil), "nat44_ei_interface_output_feature_details_f446e508")
3062         api.RegisterMessage((*Nat44EiInterfaceOutputFeatureDump)(nil), "nat44_ei_interface_output_feature_dump_51077d14")
3063         api.RegisterMessage((*Nat44EiIpfixEnableDisable)(nil), "nat44_ei_ipfix_enable_disable_9af4a2d2")
3064         api.RegisterMessage((*Nat44EiIpfixEnableDisableReply)(nil), "nat44_ei_ipfix_enable_disable_reply_e8d4e804")
3065         api.RegisterMessage((*Nat44EiPluginEnableDisable)(nil), "nat44_ei_plugin_enable_disable_bf692144")
3066         api.RegisterMessage((*Nat44EiPluginEnableDisableReply)(nil), "nat44_ei_plugin_enable_disable_reply_e8d4e804")
3067         api.RegisterMessage((*Nat44EiSetAddrAndPortAllocAlg)(nil), "nat44_ei_set_addr_and_port_alloc_alg_deeb746f")
3068         api.RegisterMessage((*Nat44EiSetAddrAndPortAllocAlgReply)(nil), "nat44_ei_set_addr_and_port_alloc_alg_reply_e8d4e804")
3069         api.RegisterMessage((*Nat44EiSetFqOptions)(nil), "nat44_ei_set_fq_options_2399bd71")
3070         api.RegisterMessage((*Nat44EiSetFqOptionsReply)(nil), "nat44_ei_set_fq_options_reply_e8d4e804")
3071         api.RegisterMessage((*Nat44EiSetLogLevel)(nil), "nat44_ei_set_log_level_70076bfe")
3072         api.RegisterMessage((*Nat44EiSetLogLevelReply)(nil), "nat44_ei_set_log_level_reply_e8d4e804")
3073         api.RegisterMessage((*Nat44EiSetMssClamping)(nil), "nat44_ei_set_mss_clamping_25e90abb")
3074         api.RegisterMessage((*Nat44EiSetMssClampingReply)(nil), "nat44_ei_set_mss_clamping_reply_e8d4e804")
3075         api.RegisterMessage((*Nat44EiSetTimeouts)(nil), "nat44_ei_set_timeouts_d4746b16")
3076         api.RegisterMessage((*Nat44EiSetTimeoutsReply)(nil), "nat44_ei_set_timeouts_reply_e8d4e804")
3077         api.RegisterMessage((*Nat44EiSetWorkers)(nil), "nat44_ei_set_workers_da926638")
3078         api.RegisterMessage((*Nat44EiSetWorkersReply)(nil), "nat44_ei_set_workers_reply_e8d4e804")
3079         api.RegisterMessage((*Nat44EiShowFqOptions)(nil), "nat44_ei_show_fq_options_51077d14")
3080         api.RegisterMessage((*Nat44EiShowFqOptionsReply)(nil), "nat44_ei_show_fq_options_reply_7213b545")
3081         api.RegisterMessage((*Nat44EiShowRunningConfig)(nil), "nat44_ei_show_running_config_51077d14")
3082         api.RegisterMessage((*Nat44EiShowRunningConfigReply)(nil), "nat44_ei_show_running_config_reply_41b66a81")
3083         api.RegisterMessage((*Nat44EiStaticMappingDetails)(nil), "nat44_ei_static_mapping_details_6b51ca6e")
3084         api.RegisterMessage((*Nat44EiStaticMappingDump)(nil), "nat44_ei_static_mapping_dump_51077d14")
3085         api.RegisterMessage((*Nat44EiUserDetails)(nil), "nat44_ei_user_details_355896c2")
3086         api.RegisterMessage((*Nat44EiUserDump)(nil), "nat44_ei_user_dump_51077d14")
3087         api.RegisterMessage((*Nat44EiUserSessionDetails)(nil), "nat44_ei_user_session_details_19b7c0ac")
3088         api.RegisterMessage((*Nat44EiUserSessionDump)(nil), "nat44_ei_user_session_dump_e1899c98")
3089         api.RegisterMessage((*Nat44EiWorkerDetails)(nil), "nat44_ei_worker_details_84bf06fc")
3090         api.RegisterMessage((*Nat44EiWorkerDump)(nil), "nat44_ei_worker_dump_51077d14")
3091 }
3092
3093 // Messages returns list of all messages in this module.
3094 func AllMessages() []api.Message {
3095         return []api.Message{
3096                 (*Nat44EiAddDelAddressRange)(nil),
3097                 (*Nat44EiAddDelAddressRangeReply)(nil),
3098                 (*Nat44EiAddDelIdentityMapping)(nil),
3099                 (*Nat44EiAddDelIdentityMappingReply)(nil),
3100                 (*Nat44EiAddDelInterfaceAddr)(nil),
3101                 (*Nat44EiAddDelInterfaceAddrReply)(nil),
3102                 (*Nat44EiAddDelStaticMapping)(nil),
3103                 (*Nat44EiAddDelStaticMappingReply)(nil),
3104                 (*Nat44EiAddressDetails)(nil),
3105                 (*Nat44EiAddressDump)(nil),
3106                 (*Nat44EiDelSession)(nil),
3107                 (*Nat44EiDelSessionReply)(nil),
3108                 (*Nat44EiDelUser)(nil),
3109                 (*Nat44EiDelUserReply)(nil),
3110                 (*Nat44EiForwardingEnableDisable)(nil),
3111                 (*Nat44EiForwardingEnableDisableReply)(nil),
3112                 (*Nat44EiGetAddrAndPortAllocAlg)(nil),
3113                 (*Nat44EiGetAddrAndPortAllocAlgReply)(nil),
3114                 (*Nat44EiGetMssClamping)(nil),
3115                 (*Nat44EiGetMssClampingReply)(nil),
3116                 (*Nat44EiHaFlush)(nil),
3117                 (*Nat44EiHaFlushReply)(nil),
3118                 (*Nat44EiHaGetFailover)(nil),
3119                 (*Nat44EiHaGetFailoverReply)(nil),
3120                 (*Nat44EiHaGetListener)(nil),
3121                 (*Nat44EiHaGetListenerReply)(nil),
3122                 (*Nat44EiHaResync)(nil),
3123                 (*Nat44EiHaResyncCompletedEvent)(nil),
3124                 (*Nat44EiHaResyncReply)(nil),
3125                 (*Nat44EiHaSetFailover)(nil),
3126                 (*Nat44EiHaSetFailoverReply)(nil),
3127                 (*Nat44EiHaSetListener)(nil),
3128                 (*Nat44EiHaSetListenerReply)(nil),
3129                 (*Nat44EiIdentityMappingDetails)(nil),
3130                 (*Nat44EiIdentityMappingDump)(nil),
3131                 (*Nat44EiInterfaceAddDelFeature)(nil),
3132                 (*Nat44EiInterfaceAddDelFeatureReply)(nil),
3133                 (*Nat44EiInterfaceAddDelOutputFeature)(nil),
3134                 (*Nat44EiInterfaceAddDelOutputFeatureReply)(nil),
3135                 (*Nat44EiInterfaceAddrDetails)(nil),
3136                 (*Nat44EiInterfaceAddrDump)(nil),
3137                 (*Nat44EiInterfaceDetails)(nil),
3138                 (*Nat44EiInterfaceDump)(nil),
3139                 (*Nat44EiInterfaceOutputFeatureDetails)(nil),
3140                 (*Nat44EiInterfaceOutputFeatureDump)(nil),
3141                 (*Nat44EiIpfixEnableDisable)(nil),
3142                 (*Nat44EiIpfixEnableDisableReply)(nil),
3143                 (*Nat44EiPluginEnableDisable)(nil),
3144                 (*Nat44EiPluginEnableDisableReply)(nil),
3145                 (*Nat44EiSetAddrAndPortAllocAlg)(nil),
3146                 (*Nat44EiSetAddrAndPortAllocAlgReply)(nil),
3147                 (*Nat44EiSetFqOptions)(nil),
3148                 (*Nat44EiSetFqOptionsReply)(nil),
3149                 (*Nat44EiSetLogLevel)(nil),
3150                 (*Nat44EiSetLogLevelReply)(nil),
3151                 (*Nat44EiSetMssClamping)(nil),
3152                 (*Nat44EiSetMssClampingReply)(nil),
3153                 (*Nat44EiSetTimeouts)(nil),
3154                 (*Nat44EiSetTimeoutsReply)(nil),
3155                 (*Nat44EiSetWorkers)(nil),
3156                 (*Nat44EiSetWorkersReply)(nil),
3157                 (*Nat44EiShowFqOptions)(nil),
3158                 (*Nat44EiShowFqOptionsReply)(nil),
3159                 (*Nat44EiShowRunningConfig)(nil),
3160                 (*Nat44EiShowRunningConfigReply)(nil),
3161                 (*Nat44EiStaticMappingDetails)(nil),
3162                 (*Nat44EiStaticMappingDump)(nil),
3163                 (*Nat44EiUserDetails)(nil),
3164                 (*Nat44EiUserDump)(nil),
3165                 (*Nat44EiUserSessionDetails)(nil),
3166                 (*Nat44EiUserSessionDump)(nil),
3167                 (*Nat44EiWorkerDetails)(nil),
3168                 (*Nat44EiWorkerDump)(nil),
3169         }
3170 }