// source: /usr/share/vpp/api/plugins/vxlan_gpe_ioam_export.api.json
// Package vxlan_gpe_ioam_export contains generated bindings for API file vxlan_gpe_ioam_export.api.
// source: /usr/share/vpp/api/plugins/vxlan_gpe_ioam_export.api.json
// Package vxlan_gpe_ioam_export contains generated bindings for API file vxlan_gpe_ioam_export.api.
size += 1 // m.IsDisable
size += 1 * 4 // m.CollectorAddress
size += 1 * 4 // m.SrcAddress
return size
}
func (m *VxlanGpeIoamExportEnableDisable) Marshal(b []byte) ([]byte, error) {
size += 1 // m.IsDisable
size += 1 * 4 // m.CollectorAddress
size += 1 * 4 // m.SrcAddress
return size
}
func (m *VxlanGpeIoamExportEnableDisable) Marshal(b []byte) ([]byte, error) {
buf.EncodeBool(m.IsDisable)
buf.EncodeBytes(m.CollectorAddress[:], 4)
buf.EncodeBytes(m.SrcAddress[:], 4)
buf.EncodeBool(m.IsDisable)
buf.EncodeBytes(m.CollectorAddress[:], 4)
buf.EncodeBytes(m.SrcAddress[:], 4)