aboutsummaryrefslogtreecommitdiffstats
path: root/binapi/ipfix_export/ipfix_export.ba.go
blob: 3a9b754f2fd21203e4c5489f663b7e531e1888bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
// versions:
//  binapi-generator: v0.4.0-dev
//  VPP:              20.05-release

// Package ipfix_export contains generated bindings for API file ipfix_export.api.
//
// Contents:
//  14 messages
//
package ipfix_export

import (
	api "git.fd.io/govpp.git/api"
	ip_types "git.fd.io/govpp.git/binapi/ip_types"
	codec "git.fd.io/govpp.git/codec"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the GoVPP api package it is being compiled against.
// A compilation error at this line likely means your copy of the
// GoVPP api package needs to be updated.
const _ = api.GoVppAPIPackageIsVersion2

const (
	APIFile    = "ipfix_export"
	APIVersion = "2.0.1"
	VersionCrc = 0xb7e9cad2
)

// IpfixClassifyStreamDetails defines message 'ipfix_classify_stream_details'.
type IpfixClassifyStreamDetails struct {
	DomainID uint32 `binapi:"u32,name=domain_id" json:"domain_id,omitempty"`
	SrcPort  uint16 `binapi:"u16,name=src_port" json:"src_port,omitempty"`
}

func (m *IpfixClassifyStreamDetails) Reset()               { *m = IpfixClassifyStreamDetails{} }
func (*IpfixClassifyStreamDetails) GetMessageName() string { return "ipfix_classify_stream_details" }
func (*IpfixClassifyStreamDetails) GetCrcString() string   { return "2903539d" }
func (*IpfixClassifyStreamDetails) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func (m *IpfixClassifyStreamDetails) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.DomainID
	size += 2 // m.SrcPort
	return size
}
func (m *IpfixClassifyStreamDetails) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeUint32(m.DomainID)
	buf.EncodeUint16(m.SrcPort)
	return buf.Bytes(), nil
}
func (m *IpfixClassifyStreamDetails) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.DomainID = buf.DecodeUint32()
	m.SrcPort = buf.DecodeUint16()
	return nil
}

// IpfixClassifyStreamDump defines message 'ipfix_classify_stream_dump'.
type IpfixClassifyStreamDump struct{}

func (m *IpfixClassifyStreamDump) Reset()               { *m = IpfixClassifyStreamDump{} }
func (*IpfixClassifyStreamDump) GetMessageName() string { return "ipfix_classify_stream_dump" }
func (*IpfixClassifyStreamDump) GetCrcString() string   { return "51077d14" }
func (*IpfixClassifyStreamDump) GetMessageType() api.MessageType {
	return api.RequestMessage
}

func (m *IpfixClassifyStreamDump) Size() (size int) {
	if m == nil {
		return 0
	}
	return size
}
func (m *IpfixClassifyStreamDump) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	return buf.Bytes(), nil
}
func (m *IpfixClassifyStreamDump) Unmarshal(b []byte) error {
	return nil
}

// IpfixClassifyTableAddDel defines message 'ipfix_classify_table_add_del'.
type IpfixClassifyTableAddDel struct {
	TableID           uint32                 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	IPVersion         ip_types.AddressFamily `binapi:"address_family,name=ip_version" json:"ip_version,omitempty"`
	TransportProtocol ip_types.IPProto       `binapi:"ip_proto,name=transport_protocol" json:"transport_protocol,omitempty"`
	IsAdd             bool                   `binapi:"bool,name=is_add" json:"is_add,omitempty"`
}

func (m *IpfixClassifyTableAddDel) Reset()               { *m = IpfixClassifyTableAddDel{} }
func (*IpfixClassifyTableAddDel) GetMessageName() string { return "ipfix_classify_table_add_del" }
func (*IpfixClassifyTableAddDel) GetCrcString() string   { return "3e449bb9" }
func (*IpfixClassifyTableAddDel) GetMessageType() api.MessageType {
	return api.RequestMessage
}

func (m *IpfixClassifyTableAddDel) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.TableID
	size += 1 // m.IPVersion
	size += 1 // m.TransportProtocol
	size += 1 // m.IsAdd
	return size
}
func (m *IpfixClassifyTableAddDel) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeUint32(m.TableID)
	buf.EncodeUint8(uint8(m.IPVersion))
	buf.EncodeUint8(uint8(m.TransportProtocol))
	buf.EncodeBool(m.IsAdd)
	return buf.Bytes(), nil
}
func (m *IpfixClassifyTableAddDel) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.TableID = buf.DecodeUint32()
	m.IPVersion = ip_types.AddressFamily(buf.DecodeUint8())
	m.TransportProtocol = ip_types.IPProto(buf.DecodeUint8())
	m.IsAdd = buf.DecodeBool()
	return nil
}

// IpfixClassifyTableAddDelReply defines message 'ipfix_classify_table_add_del_reply'.
type IpfixClassifyTableAddDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

func (m *IpfixClassifyTableAddDelReply) Reset() { *m = IpfixClassifyTableAddDelReply{} }
func (*IpfixClassifyTableAddDelReply) GetMessageName() string {
	return "ipfix_classify_table_add_del_reply"
}
func (*IpfixClassifyTableAddDelReply) GetCrcString() string { return "e8d4e804" }
func (*IpfixClassifyTableAddDelReply) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func (m *IpfixClassifyTableAddDelReply) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.Retval
	return size
}
func (m *IpfixClassifyTableAddDelReply) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeInt32(m.Retval)
	return buf.Bytes(), nil
}
func (m *IpfixClassifyTableAddDelReply) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.Retval = buf.DecodeInt32()
	return nil
}

// IpfixClassifyTableDetails defines message 'ipfix_classify_table_details'.
type IpfixClassifyTableDetails struct {
	TableID           uint32                 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	IPVersion         ip_types.AddressFamily `binapi:"address_family,name=ip_version" json:"ip_version,omitempty"`
	TransportProtocol ip_types.IPProto       `binapi:"ip_proto,name=transport_protocol" json:"transport_protocol,omitempty"`
}

func (m *IpfixClassifyTableDetails) Reset()               { *m = IpfixClassifyTableDetails{} }
func (*IpfixClassifyTableDetails) GetMessageName() string { return "ipfix_classify_table_details" }
func (*IpfixClassifyTableDetails) GetCrcString() string   { return "1af8c28c" }
func (*IpfixClassifyTableDetails) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func (m *IpfixClassifyTableDetails) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.TableID
	size += 1 // m.IPVersion
	size += 1 // m.TransportProtocol
	return size
}
func (m *IpfixClassifyTableDetails) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeUint32(m.TableID)
	buf.EncodeUint8(uint8(m.IPVersion))
	buf.EncodeUint8(uint8(m.TransportProtocol))
	return buf.Bytes(), nil
}
func (m *IpfixClassifyTableDetails) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.TableID = buf.DecodeUint32()
	m.IPVersion = ip_types.AddressFamily(buf.DecodeUint8())
	m.TransportProtocol = ip_types.IPProto(buf.DecodeUint8())
	return nil
}

// IpfixClassifyTableDump defines message 'ipfix_classify_table_dump'.
type IpfixClassifyTableDump struct{}

func (m *IpfixClassifyTableDump) Reset()               { *m = IpfixClassifyTableDump{} }
func (*IpfixClassifyTableDump) GetMessageName() string { return "ipfix_classify_table_dump" }
func (*IpfixClassifyTableDump) GetCrcString() string   { return "51077d14" }
func (*IpfixClassifyTableDump) GetMessageType() api.MessageType {
	return api.RequestMessage
}

func (m *IpfixClassifyTableDump) Size() (size int) {
	if m == nil {
		return 0
	}
	return size
}
func (m *IpfixClassifyTableDump) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	return buf.Bytes(), nil
}
func (m *IpfixClassifyTableDump) Unmarshal(b []byte) error {
	return nil
}

// IpfixExporterDetails defines message 'ipfix_exporter_details'.
type IpfixExporterDetails struct {
	CollectorAddress ip_types.Address `binapi:"address,name=collector_address" json:"collector_address,omitempty"`
	CollectorPort    uint16           `binapi:"u16,name=collector_port" json:"collector_port,omitempty"`
	SrcAddress       ip_types.Address `binapi:"address,name=src_address" json:"src_address,omitempty"`
	VrfID            uint32           `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	PathMtu          uint32           `binapi:"u32,name=path_mtu" json:"path_mtu,omitempty"`
	TemplateInterval uint32           `binapi:"u32,name=template_interval" json:"template_interval,omitempty"`
	UDPChecksum      bool             `binapi:"bool,name=udp_checksum" json:"udp_checksum,omitempty"`
}

func (m *IpfixExporterDetails) Reset()               { *m = IpfixExporterDetails{} }
func (*IpfixExporterDetails) GetMessageName() string { return "ipfix_exporter_details" }
func (*IpfixExporterDetails) GetCrcString() string   { return "11e07413" }
func (*IpfixExporterDetails) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func (m *IpfixExporterDetails) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 1      // m.CollectorAddress.Af
	size += 1 * 16 // m.CollectorAddress.Un
	size += 2      // m.CollectorPort
	size += 1      // m.SrcAddress.Af
	size += 1 * 16 // m.SrcAddress.Un
	size += 4      // m.VrfID
	size += 4      // m.PathMtu
	size += 4      // m.TemplateInterval
	size += 1      // m.UDPChecksum
	return size
}
func (m *IpfixExporterDetails) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeUint8(uint8(m.CollectorAddress.Af))
	buf.EncodeBytes(m.CollectorAddress.Un.XXX_UnionData[:], 16)
	buf.EncodeUint16(m.CollectorPort)
	buf.EncodeUint8(uint8(m.SrcAddress.Af))
	buf.EncodeBytes(m.SrcAddress.Un.XXX_UnionData[:], 16)
	buf.EncodeUint32(m.VrfID)
	buf.EncodeUint32(m.PathMtu)
	buf.EncodeUint32(m.TemplateInterval)
	buf.EncodeBool(m.UDPChecksum)
	return buf.Bytes(), nil
}
func (m *IpfixExporterDetails) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.CollectorAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
	copy(m.CollectorAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
	m.CollectorPort = buf.DecodeUint16()
	m.SrcAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
	copy(m.SrcAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
	m.VrfID = buf.DecodeUint32()
	m.PathMtu = buf.DecodeUint32()
	m.TemplateInterval = buf.DecodeUint32()
	m.UDPChecksum = buf.DecodeBool()
	return nil
}

// IpfixExporterDump defines message 'ipfix_exporter_dump'.
type IpfixExporterDump struct{}

func (m *IpfixExporterDump) Reset()               { *m = IpfixExporterDump{} }
func (*IpfixExporterDump) GetMessageName() string { return "ipfix_exporter_dump" }
func (*IpfixExporterDump) GetCrcString() string   { return "51077d14" }
func (*IpfixExporterDump) GetMessageType() api.MessageType {
	return api.RequestMessage
}

func (m *IpfixExporterDump) Size() (size int) {
	if m == nil {
		return 0
	}
	return size
}
func (m *IpfixExporterDump) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	return buf.Bytes(), nil
}
func (m *IpfixExporterDump) Unmarshal(b []byte) error {
	return nil
}

// IpfixFlush defines message 'ipfix_flush'.
type IpfixFlush struct{}

func (m *IpfixFlush) Reset()               { *m = IpfixFlush{} }
func (*IpfixFlush) GetMessageName() string { return "ipfix_flush" }
func (*IpfixFlush) GetCrcString() string   { return "51077d14" }
func (*IpfixFlush) GetMessageType() api.MessageType {
	return api.RequestMessage
}

func (m *IpfixFlush) Size() (size int) {
	if m == nil {
		return 0
	}
	return size
}
func (m *IpfixFlush) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	return buf.Bytes(), nil
}
func (m *IpfixFlush) Unmarshal(b []byte) error {
	return nil
}

// IpfixFlushReply defines message 'ipfix_flush_reply'.
type IpfixFlushReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

func (m *IpfixFlushReply) Reset()               { *m = IpfixFlushReply{} }
func (*IpfixFlushReply) GetMessageName() string { return "ipfix_flush_reply" }
func (*IpfixFlushReply) GetCrcString() string   { return "e8d4e804" }
func (*IpfixFlushReply) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func (m *IpfixFlushReply) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.Retval
	return size
}
func (m *IpfixFlushReply) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeInt32(m.Retval)
	return buf.Bytes(), nil
}
func (m *IpfixFlushReply) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.Retval = buf.DecodeInt32()
	return nil
}

// SetIpfixClassifyStream defines message 'set_ipfix_classify_stream'.
type SetIpfixClassifyStream struct {
	DomainID uint32 `binapi:"u32,name=domain_id" json:"domain_id,omitempty"`
	SrcPort  uint16 `binapi:"u16,name=src_port" json:"src_port,omitempty"`
}

func (m *SetIpfixClassifyStream) Reset()               { *m = SetIpfixClassifyStream{} }
func (*SetIpfixClassifyStream) GetMessageName() string { return "set_ipfix_classify_stream" }
func (*SetIpfixClassifyStream) GetCrcString() string   { return "c9cbe053" }
func (*SetIpfixClassifyStream) GetMessageType() api.MessageType {
	return api.RequestMessage
}

func (m *SetIpfixClassifyStream) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.DomainID
	size += 2 // m.SrcPort
	return size
}
func (m *SetIpfixClassifyStream) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeUint32(m.DomainID)
	buf.EncodeUint16(m.SrcPort)
	return buf.Bytes(), nil
}
func (m *SetIpfixClassifyStream) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.DomainID = buf.DecodeUint32()
	m.SrcPort = buf.DecodeUint16()
	return nil
}

// SetIpfixClassifyStreamReply defines message 'set_ipfix_classify_stream_reply'.
type SetIpfixClassifyStreamReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

func (m *SetIpfixClassifyStreamReply) Reset()               { *m = SetIpfixClassifyStreamReply{} }
func (*SetIpfixClassifyStreamReply) GetMessageName() string { return "set_ipfix_classify_stream_reply" }
func (*SetIpfixClassifyStreamReply) GetCrcString() string   { return "e8d4e804" }
func (*SetIpfixClassifyStreamReply) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func (m *SetIpfixClassifyStreamReply) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.Retval
	return size
}
func (m *SetIpfixClassifyStreamReply) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeInt32(m.Retval)
	return buf.Bytes(), nil
}
func (m *SetIpfixClassifyStreamReply) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.Retval = buf.DecodeInt32()
	return nil
}

// SetIpfixExporter defines message 'set_ipfix_exporter'.
type SetIpfixExporter struct {
	CollectorAddress ip_types.Address `binapi:"address,name=collector_address" json:"collector_address,omitempty"`
	CollectorPort    uint16           `binapi:"u16,name=collector_port" json:"collector_port,omitempty"`
	SrcAddress       ip_types.Address `binapi:"address,name=src_address" json:"src_address,omitempty"`
	VrfID            uint32           `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	PathMtu          uint32           `binapi:"u32,name=path_mtu" json:"path_mtu,omitempty"`
	TemplateInterval uint32           `binapi:"u32,name=template_interval" json:"template_interval,omitempty"`
	UDPChecksum      bool             `binapi:"bool,name=udp_checksum" json:"udp_checksum,omitempty"`
}

func (m *SetIpfixExporter) Reset()               { *m = SetIpfixExporter{} }
func (*SetIpfixExporter) GetMessageName() string { return "set_ipfix_exporter" }
func (*SetIpfixExporter) GetCrcString() string   { return "69284e07" }
func (*SetIpfixExporter) GetMessageType() api.MessageType {
	return api.RequestMessage
}

func (m *SetIpfixExporter) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 1      // m.CollectorAddress.Af
	size += 1 * 16 // m.CollectorAddress.Un
	size += 2      // m.CollectorPort
	size += 1      // m.SrcAddress.Af
	size += 1 * 16 // m.SrcAddress.Un
	size += 4      // m.VrfID
	size += 4      // m.PathMtu
	size += 4      // m.TemplateInterval
	size += 1      // m.UDPChecksum
	return size
}
func (m *SetIpfixExporter) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeUint8(uint8(m.CollectorAddress.Af))
	buf.EncodeBytes(m.CollectorAddress.Un.XXX_UnionData[:], 16)
	buf.EncodeUint16(m.CollectorPort)
	buf.EncodeUint8(uint8(m.SrcAddress.Af))
	buf.EncodeBytes(m.SrcAddress.Un.XXX_UnionData[:], 16)
	buf.EncodeUint32(m.VrfID)
	buf.EncodeUint32(m.PathMtu)
	buf.EncodeUint32(m.TemplateInterval)
	buf.EncodeBool(m.UDPChecksum)
	return buf.Bytes(), nil
}
func (m *SetIpfixExporter) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.CollectorAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
	copy(m.CollectorAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
	m.CollectorPort = buf.DecodeUint16()
	m.SrcAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
	copy(m.SrcAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
	m.VrfID = buf.DecodeUint32()
	m.PathMtu = buf.DecodeUint32()
	m.TemplateInterval = buf.DecodeUint32()
	m.UDPChecksum = buf.DecodeBool()
	return nil
}

// SetIpfixExporterReply defines message 'set_ipfix_exporter_reply'.
type SetIpfixExporterReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

func (m *SetIpfixExporterReply) Reset()               { *m = SetIpfixExporterReply{} }
func (*SetIpfixExporterReply) GetMessageName() string { return "set_ipfix_exporter_reply" }
func (*SetIpfixExporterReply) GetCrcString() string   { return "e8d4e804" }
func (*SetIpfixExporterReply) GetMessageType() api.MessageType {
	return api.ReplyMessage
}

func (m *SetIpfixExporterReply) Size() (size int) {
	if m == nil {
		return 0
	}
	size += 4 // m.Retval
	return size
}
func (m *SetIpfixExporterReply) Marshal(b []byte) ([]byte, error) {
	if b == nil {
		b = make([]byte, m.Size())
	}
	buf := codec.NewBuffer(b)
	buf.EncodeInt32(m.Retval)
	return buf.Bytes(), nil
}
func (m *SetIpfixExporterReply) Unmarshal(b []byte) error {
	buf := codec.NewBuffer(b)
	m.Retval = buf.DecodeInt32()
	return nil
}

func init() { file_ipfix_export_binapi_init() }
func file_ipfix_export_binapi_init() {
	api.RegisterMessage((*IpfixClassifyStreamDetails)(nil), "ipfix_classify_stream_details_2903539d")
	api.RegisterMessage((*IpfixClassifyStreamDump)(nil), "ipfix_classify_stream_dump_51077d14")
	api.RegisterMessage((*IpfixClassifyTableAddDel)(nil), "ipfix_classify_table_add_del_3e449bb9")
	api.RegisterMessage((*IpfixClassifyTableAddDelReply)(nil), "ipfix_classify_table_add_del_reply_e8d4e804")
	api.RegisterMessage((*IpfixClassifyTableDetails)(nil), "ipfix_classify_table_details_1af8c28c")
	api.RegisterMessage((*IpfixClassifyTableDump)(nil), "ipfix_classify_table_dump_51077d14")
	api.RegisterMessage((*IpfixExporterDetails)(nil), "ipfix_exporter_details_11e07413")
	api.RegisterMessage((*IpfixExporterDump)(nil), "ipfix_exporter_dump_51077d14")
	api.RegisterMessage((*IpfixFlush)(nil), "ipfix_flush_51077d14")
	api.RegisterMessage((*IpfixFlushReply)(nil), "ipfix_flush_reply_e8d4e804")
	api.RegisterMessage((*SetIpfixClassifyStream)(nil), "set_ipfix_classify_stream_c9cbe053")
	api.RegisterMessage((*SetIpfixClassifyStreamReply)(nil), "set_ipfix_classify_stream_reply_e8d4e804")
	api.RegisterMessage((*SetIpfixExporter)(nil), "set_ipfix_exporter_69284e07")
	api.RegisterMessage((*SetIpfixExporterReply)(nil), "set_ipfix_exporter_reply_e8d4e804")
}

// Messages returns list of all messages in this module.
func AllMessages() []api.Message {
	return []api.Message{
		(*IpfixClassifyStreamDetails)(nil),
		(*IpfixClassifyStreamDump)(nil),
		(*IpfixClassifyTableAddDel)(nil),
		(*IpfixClassifyTableAddDelReply)(nil),
		(*IpfixClassifyTableDetails)(nil),
		(*IpfixClassifyTableDump)(nil),
		(*IpfixExporterDetails)(nil),
		(*IpfixExporterDump)(nil),
		(*IpfixFlush)(nil),
		(*IpfixFlushReply)(nil),
		(*SetIpfixClassifyStream)(nil),
		(*SetIpfixClassifyStreamReply)(nil),
		(*SetIpfixExporter)(nil),
		(*SetIpfixExporterReply)(nil),
	}
}