// 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.
func (*VxlanGpeIoamExportEnableDisable) GetMessageName() string {
return "vxlan_gpe_ioam_export_enable_disable"
}
func (*VxlanGpeIoamExportEnableDisable) GetMessageName() string {
return "vxlan_gpe_ioam_export_enable_disable"
}
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)
return nil
}
func init() { file_vxlan_gpe_ioam_export_binapi_init() }
func file_vxlan_gpe_ioam_export_binapi_init() {
return nil
}
func init() { file_vxlan_gpe_ioam_export_binapi_init() }
func file_vxlan_gpe_ioam_export_binapi_init() {