Improve binapi generator
[govpp.git] / binapi / one / one.ba.go
diff --git a/binapi/one/one.ba.go b/binapi/one/one.ba.go
new file mode 100644 (file)
index 0000000..259e3f2
--- /dev/null
@@ -0,0 +1,4690 @@
+// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
+// versions:
+//  binapi-generator: v0.4.0-dev
+//  VPP:              20.05-release
+// source: /usr/share/vpp/api/core/one.api.json
+
+// Package one contains generated bindings for API file one.api.
+//
+// Contents:
+//   2 enums
+//   3 structs
+// 108 messages
+//
+package one
+
+import (
+       api "git.fd.io/govpp.git/api"
+       ethernet_types "git.fd.io/govpp.git/binapi/ethernet_types"
+       interface_types "git.fd.io/govpp.git/binapi/interface_types"
+       ip_types "git.fd.io/govpp.git/binapi/ip_types"
+       lisp_types "git.fd.io/govpp.git/binapi/lisp_types"
+       codec "git.fd.io/govpp.git/codec"
+       "strconv"
+)
+
+// 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    = "one"
+       APIVersion = "2.0.0"
+       VersionCrc = 0x288aaf5d
+)
+
+// OneFilter defines enum 'one_filter'.
+type OneFilter uint32
+
+const (
+       ONE_FILTER_API_ALL    OneFilter = 0
+       ONE_FILTER_API_LOCAL  OneFilter = 1
+       ONE_FILTER_API_REMOTE OneFilter = 2
+)
+
+var (
+       OneFilter_name = map[uint32]string{
+               0: "ONE_FILTER_API_ALL",
+               1: "ONE_FILTER_API_LOCAL",
+               2: "ONE_FILTER_API_REMOTE",
+       }
+       OneFilter_value = map[string]uint32{
+               "ONE_FILTER_API_ALL":    0,
+               "ONE_FILTER_API_LOCAL":  1,
+               "ONE_FILTER_API_REMOTE": 2,
+       }
+)
+
+func (x OneFilter) String() string {
+       s, ok := OneFilter_name[uint32(x)]
+       if ok {
+               return s
+       }
+       return "OneFilter(" + strconv.Itoa(int(x)) + ")"
+}
+
+// OneMapMode defines enum 'one_map_mode'.
+type OneMapMode uint32
+
+const (
+       ONE_MAP_MODE_API_DST_ONLY OneMapMode = 0
+       ONE_MAP_MODE_API_SRC_DST  OneMapMode = 1
+)
+
+var (
+       OneMapMode_name = map[uint32]string{
+               0: "ONE_MAP_MODE_API_DST_ONLY",
+               1: "ONE_MAP_MODE_API_SRC_DST",
+       }
+       OneMapMode_value = map[string]uint32{
+               "ONE_MAP_MODE_API_DST_ONLY": 0,
+               "ONE_MAP_MODE_API_SRC_DST":  1,
+       }
+)
+
+func (x OneMapMode) String() string {
+       s, ok := OneMapMode_name[uint32(x)]
+       if ok {
+               return s
+       }
+       return "OneMapMode(" + strconv.Itoa(int(x)) + ")"
+}
+
+// OneAdjacency defines type 'one_adjacency'.
+type OneAdjacency struct {
+       Reid lisp_types.Eid `binapi:"eid,name=reid" json:"reid,omitempty"`
+       Leid lisp_types.Eid `binapi:"eid,name=leid" json:"leid,omitempty"`
+}
+
+// OneL2ArpEntry defines type 'one_l2_arp_entry'.
+type OneL2ArpEntry struct {
+       Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"`
+       IP4 ip_types.IP4Address       `binapi:"ip4_address,name=ip4" json:"ip4,omitempty"`
+}
+
+// OneNdpEntry defines type 'one_ndp_entry'.
+type OneNdpEntry struct {
+       Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"`
+       IP6 ip_types.IP6Address       `binapi:"ip6_address,name=ip6" json:"ip6,omitempty"`
+}
+
+// OneAddDelAdjacency defines message 'one_add_del_adjacency'.
+type OneAddDelAdjacency struct {
+       IsAdd uint8          `binapi:"u8,name=is_add" json:"is_add,omitempty"`
+       Vni   uint32         `binapi:"u32,name=vni" json:"vni,omitempty"`
+       Reid  lisp_types.Eid `binapi:"eid,name=reid" json:"reid,omitempty"`
+       Leid  lisp_types.Eid `binapi:"eid,name=leid" json:"leid,omitempty"`
+}
+
+func (m *OneAddDelAdjacency) Reset()               { *m = OneAddDelAdjacency{} }
+func (*OneAddDelAdjacency) GetMessageName() string { return "one_add_del_adjacency" }
+func (*OneAddDelAdjacency) GetCrcString() string   { return "e48e7afe" }
+func (*OneAddDelAdjacency) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelAdjacency) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1     // m.IsAdd
+       size += 4     // m.Vni
+       size += 1     // m.Reid.Type
+       size += 1 * 6 // m.Reid.Address
+       size += 1     // m.Leid.Type
+       size += 1 * 6 // m.Leid.Address
+       return size
+}
+func (m *OneAddDelAdjacency) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint8(uint8(m.IsAdd))
+       buf.EncodeUint32(uint32(m.Vni))
+       buf.EncodeUint8(uint8(m.Reid.Type))
+       buf.EncodeBytes(m.Reid.Address.XXX_UnionData[:], 0)
+       buf.EncodeUint8(uint8(m.Leid.Type))
+       buf.EncodeBytes(m.Leid.Address.XXX_UnionData[:], 0)
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelAdjacency) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeUint8()
+       m.Vni = buf.DecodeUint32()
+       m.Reid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Reid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.Leid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Leid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       return nil
+}
+
+// OneAddDelAdjacencyReply defines message 'one_add_del_adjacency_reply'.
+type OneAddDelAdjacencyReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelAdjacencyReply) Reset()               { *m = OneAddDelAdjacencyReply{} }
+func (*OneAddDelAdjacencyReply) GetMessageName() string { return "one_add_del_adjacency_reply" }
+func (*OneAddDelAdjacencyReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneAddDelAdjacencyReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelAdjacencyReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelAdjacencyReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelAdjacencyReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAddDelL2ArpEntry defines message 'one_add_del_l2_arp_entry'.
+type OneAddDelL2ArpEntry struct {
+       IsAdd bool          `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       Bd    uint32        `binapi:"u32,name=bd" json:"bd,omitempty"`
+       Entry OneL2ArpEntry `binapi:"one_l2_arp_entry,name=entry" json:"entry,omitempty"`
+}
+
+func (m *OneAddDelL2ArpEntry) Reset()               { *m = OneAddDelL2ArpEntry{} }
+func (*OneAddDelL2ArpEntry) GetMessageName() string { return "one_add_del_l2_arp_entry" }
+func (*OneAddDelL2ArpEntry) GetCrcString() string   { return "33209078" }
+func (*OneAddDelL2ArpEntry) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelL2ArpEntry) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1     // m.IsAdd
+       size += 4     // m.Bd
+       size += 1 * 6 // m.Entry.Mac
+       size += 1 * 4 // m.Entry.IP4
+       return size
+}
+func (m *OneAddDelL2ArpEntry) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeUint32(uint32(m.Bd))
+       buf.EncodeBytes(m.Entry.Mac[:], 6)
+       buf.EncodeBytes(m.Entry.IP4[:], 4)
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelL2ArpEntry) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.Bd = buf.DecodeUint32()
+       copy(m.Entry.Mac[:], buf.DecodeBytes(6))
+       copy(m.Entry.IP4[:], buf.DecodeBytes(4))
+       return nil
+}
+
+// OneAddDelL2ArpEntryReply defines message 'one_add_del_l2_arp_entry_reply'.
+type OneAddDelL2ArpEntryReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelL2ArpEntryReply) Reset()               { *m = OneAddDelL2ArpEntryReply{} }
+func (*OneAddDelL2ArpEntryReply) GetMessageName() string { return "one_add_del_l2_arp_entry_reply" }
+func (*OneAddDelL2ArpEntryReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneAddDelL2ArpEntryReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelL2ArpEntryReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelL2ArpEntryReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelL2ArpEntryReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAddDelLocalEid defines message 'one_add_del_local_eid'.
+type OneAddDelLocalEid struct {
+       IsAdd          bool               `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       Eid            lisp_types.Eid     `binapi:"eid,name=eid" json:"eid,omitempty"`
+       LocatorSetName string             `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
+       Vni            uint32             `binapi:"u32,name=vni" json:"vni,omitempty"`
+       Key            lisp_types.HmacKey `binapi:"hmac_key,name=key" json:"key,omitempty"`
+}
+
+func (m *OneAddDelLocalEid) Reset()               { *m = OneAddDelLocalEid{} }
+func (*OneAddDelLocalEid) GetMessageName() string { return "one_add_del_local_eid" }
+func (*OneAddDelLocalEid) GetCrcString() string   { return "21f573bd" }
+func (*OneAddDelLocalEid) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelLocalEid) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1      // m.IsAdd
+       size += 1      // m.Eid.Type
+       size += 1 * 6  // m.Eid.Address
+       size += 64     // m.LocatorSetName
+       size += 4      // m.Vni
+       size += 1      // m.Key.ID
+       size += 1 * 64 // m.Key.Key
+       return size
+}
+func (m *OneAddDelLocalEid) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeUint8(uint8(m.Eid.Type))
+       buf.EncodeBytes(m.Eid.Address.XXX_UnionData[:], 0)
+       buf.EncodeString(m.LocatorSetName, 64)
+       buf.EncodeUint32(uint32(m.Vni))
+       buf.EncodeUint8(uint8(m.Key.ID))
+       buf.EncodeBytes(m.Key.Key[:], 64)
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelLocalEid) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.Eid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Eid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.LocatorSetName = buf.DecodeString(64)
+       m.Vni = buf.DecodeUint32()
+       m.Key.ID = lisp_types.HmacKeyID(buf.DecodeUint8())
+       copy(m.Key.Key[:], buf.DecodeBytes(64))
+       return nil
+}
+
+// OneAddDelLocalEidReply defines message 'one_add_del_local_eid_reply'.
+type OneAddDelLocalEidReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelLocalEidReply) Reset()               { *m = OneAddDelLocalEidReply{} }
+func (*OneAddDelLocalEidReply) GetMessageName() string { return "one_add_del_local_eid_reply" }
+func (*OneAddDelLocalEidReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneAddDelLocalEidReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelLocalEidReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelLocalEidReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelLocalEidReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAddDelLocator defines message 'one_add_del_locator'.
+type OneAddDelLocator struct {
+       IsAdd          bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       LocatorSetName string                         `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
+       SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
+       Priority       uint8                          `binapi:"u8,name=priority" json:"priority,omitempty"`
+       Weight         uint8                          `binapi:"u8,name=weight" json:"weight,omitempty"`
+}
+
+func (m *OneAddDelLocator) Reset()               { *m = OneAddDelLocator{} }
+func (*OneAddDelLocator) GetMessageName() string { return "one_add_del_locator" }
+func (*OneAddDelLocator) GetCrcString() string   { return "af4d8f13" }
+func (*OneAddDelLocator) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelLocator) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1  // m.IsAdd
+       size += 64 // m.LocatorSetName
+       size += 4  // m.SwIfIndex
+       size += 1  // m.Priority
+       size += 1  // m.Weight
+       return size
+}
+func (m *OneAddDelLocator) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeString(m.LocatorSetName, 64)
+       buf.EncodeUint32(uint32(m.SwIfIndex))
+       buf.EncodeUint8(uint8(m.Priority))
+       buf.EncodeUint8(uint8(m.Weight))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelLocator) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.LocatorSetName = buf.DecodeString(64)
+       m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
+       m.Priority = buf.DecodeUint8()
+       m.Weight = buf.DecodeUint8()
+       return nil
+}
+
+// OneAddDelLocatorReply defines message 'one_add_del_locator_reply'.
+type OneAddDelLocatorReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelLocatorReply) Reset()               { *m = OneAddDelLocatorReply{} }
+func (*OneAddDelLocatorReply) GetMessageName() string { return "one_add_del_locator_reply" }
+func (*OneAddDelLocatorReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneAddDelLocatorReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelLocatorReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelLocatorReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelLocatorReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAddDelLocatorSet defines message 'one_add_del_locator_set'.
+type OneAddDelLocatorSet struct {
+       IsAdd          bool                      `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       LocatorSetName string                    `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
+       LocatorNum     uint32                    `binapi:"u32,name=locator_num" json:"-"`
+       Locators       []lisp_types.LocalLocator `binapi:"local_locator[locator_num],name=locators" json:"locators,omitempty"`
+}
+
+func (m *OneAddDelLocatorSet) Reset()               { *m = OneAddDelLocatorSet{} }
+func (*OneAddDelLocatorSet) GetMessageName() string { return "one_add_del_locator_set" }
+func (*OneAddDelLocatorSet) GetCrcString() string   { return "6fcd6471" }
+func (*OneAddDelLocatorSet) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelLocatorSet) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1  // m.IsAdd
+       size += 64 // m.LocatorSetName
+       size += 4  // m.LocatorNum
+       for j1 := 0; j1 < len(m.Locators); j1++ {
+               var s1 lisp_types.LocalLocator
+               _ = s1
+               if j1 < len(m.Locators) {
+                       s1 = m.Locators[j1]
+               }
+               size += 4 // s1.SwIfIndex
+               size += 1 // s1.Priority
+               size += 1 // s1.Weight
+       }
+       return size
+}
+func (m *OneAddDelLocatorSet) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeString(m.LocatorSetName, 64)
+       buf.EncodeUint32(uint32(len(m.Locators)))
+       for j0 := 0; j0 < len(m.Locators); j0++ {
+               var v0 lisp_types.LocalLocator
+               if j0 < len(m.Locators) {
+                       v0 = m.Locators[j0]
+               }
+               buf.EncodeUint32(uint32(v0.SwIfIndex))
+               buf.EncodeUint8(uint8(v0.Priority))
+               buf.EncodeUint8(uint8(v0.Weight))
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelLocatorSet) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.LocatorSetName = buf.DecodeString(64)
+       m.LocatorNum = buf.DecodeUint32()
+       m.Locators = make([]lisp_types.LocalLocator, int(m.LocatorNum))
+       for j0 := 0; j0 < len(m.Locators); j0++ {
+               m.Locators[j0].SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
+               m.Locators[j0].Priority = buf.DecodeUint8()
+               m.Locators[j0].Weight = buf.DecodeUint8()
+       }
+       return nil
+}
+
+// OneAddDelLocatorSetReply defines message 'one_add_del_locator_set_reply'.
+type OneAddDelLocatorSetReply struct {
+       Retval  int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
+       LsIndex uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
+}
+
+func (m *OneAddDelLocatorSetReply) Reset()               { *m = OneAddDelLocatorSetReply{} }
+func (*OneAddDelLocatorSetReply) GetMessageName() string { return "one_add_del_locator_set_reply" }
+func (*OneAddDelLocatorSetReply) GetCrcString() string   { return "b6666db4" }
+func (*OneAddDelLocatorSetReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelLocatorSetReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 4 // m.LsIndex
+       return size
+}
+func (m *OneAddDelLocatorSetReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(m.LsIndex))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelLocatorSetReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.LsIndex = buf.DecodeUint32()
+       return nil
+}
+
+// OneAddDelMapRequestItrRlocs defines message 'one_add_del_map_request_itr_rlocs'.
+type OneAddDelMapRequestItrRlocs struct {
+       IsAdd          bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       LocatorSetName string `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
+}
+
+func (m *OneAddDelMapRequestItrRlocs) Reset() { *m = OneAddDelMapRequestItrRlocs{} }
+func (*OneAddDelMapRequestItrRlocs) GetMessageName() string {
+       return "one_add_del_map_request_itr_rlocs"
+}
+func (*OneAddDelMapRequestItrRlocs) GetCrcString() string { return "6be88e45" }
+func (*OneAddDelMapRequestItrRlocs) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelMapRequestItrRlocs) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1  // m.IsAdd
+       size += 64 // m.LocatorSetName
+       return size
+}
+func (m *OneAddDelMapRequestItrRlocs) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeString(m.LocatorSetName, 64)
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelMapRequestItrRlocs) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.LocatorSetName = buf.DecodeString(64)
+       return nil
+}
+
+// OneAddDelMapRequestItrRlocsReply defines message 'one_add_del_map_request_itr_rlocs_reply'.
+type OneAddDelMapRequestItrRlocsReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelMapRequestItrRlocsReply) Reset() { *m = OneAddDelMapRequestItrRlocsReply{} }
+func (*OneAddDelMapRequestItrRlocsReply) GetMessageName() string {
+       return "one_add_del_map_request_itr_rlocs_reply"
+}
+func (*OneAddDelMapRequestItrRlocsReply) GetCrcString() string { return "e8d4e804" }
+func (*OneAddDelMapRequestItrRlocsReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelMapRequestItrRlocsReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelMapRequestItrRlocsReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelMapRequestItrRlocsReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAddDelMapResolver defines message 'one_add_del_map_resolver'.
+type OneAddDelMapResolver struct {
+       IsAdd     bool             `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
+}
+
+func (m *OneAddDelMapResolver) Reset()               { *m = OneAddDelMapResolver{} }
+func (*OneAddDelMapResolver) GetMessageName() string { return "one_add_del_map_resolver" }
+func (*OneAddDelMapResolver) GetCrcString() string   { return "6598ea7c" }
+func (*OneAddDelMapResolver) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelMapResolver) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1      // m.IsAdd
+       size += 1      // m.IPAddress.Af
+       size += 1 * 16 // m.IPAddress.Un
+       return size
+}
+func (m *OneAddDelMapResolver) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeUint8(uint8(m.IPAddress.Af))
+       buf.EncodeBytes(m.IPAddress.Un.XXX_UnionData[:], 0)
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelMapResolver) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.IPAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.IPAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       return nil
+}
+
+// OneAddDelMapResolverReply defines message 'one_add_del_map_resolver_reply'.
+type OneAddDelMapResolverReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelMapResolverReply) Reset()               { *m = OneAddDelMapResolverReply{} }
+func (*OneAddDelMapResolverReply) GetMessageName() string { return "one_add_del_map_resolver_reply" }
+func (*OneAddDelMapResolverReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneAddDelMapResolverReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelMapResolverReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelMapResolverReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelMapResolverReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAddDelMapServer defines message 'one_add_del_map_server'.
+type OneAddDelMapServer struct {
+       IsAdd     bool             `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
+}
+
+func (m *OneAddDelMapServer) Reset()               { *m = OneAddDelMapServer{} }
+func (*OneAddDelMapServer) GetMessageName() string { return "one_add_del_map_server" }
+func (*OneAddDelMapServer) GetCrcString() string   { return "6598ea7c" }
+func (*OneAddDelMapServer) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelMapServer) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1      // m.IsAdd
+       size += 1      // m.IPAddress.Af
+       size += 1 * 16 // m.IPAddress.Un
+       return size
+}
+func (m *OneAddDelMapServer) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeUint8(uint8(m.IPAddress.Af))
+       buf.EncodeBytes(m.IPAddress.Un.XXX_UnionData[:], 0)
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelMapServer) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.IPAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.IPAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       return nil
+}
+
+// OneAddDelMapServerReply defines message 'one_add_del_map_server_reply'.
+type OneAddDelMapServerReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelMapServerReply) Reset()               { *m = OneAddDelMapServerReply{} }
+func (*OneAddDelMapServerReply) GetMessageName() string { return "one_add_del_map_server_reply" }
+func (*OneAddDelMapServerReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneAddDelMapServerReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelMapServerReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelMapServerReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelMapServerReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAddDelNdpEntry defines message 'one_add_del_ndp_entry'.
+type OneAddDelNdpEntry struct {
+       IsAdd bool        `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       Bd    uint32      `binapi:"u32,name=bd" json:"bd,omitempty"`
+       Entry OneNdpEntry `binapi:"one_ndp_entry,name=entry" json:"entry,omitempty"`
+}
+
+func (m *OneAddDelNdpEntry) Reset()               { *m = OneAddDelNdpEntry{} }
+func (*OneAddDelNdpEntry) GetMessageName() string { return "one_add_del_ndp_entry" }
+func (*OneAddDelNdpEntry) GetCrcString() string   { return "d1629a2f" }
+func (*OneAddDelNdpEntry) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelNdpEntry) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1      // m.IsAdd
+       size += 4      // m.Bd
+       size += 1 * 6  // m.Entry.Mac
+       size += 1 * 16 // m.Entry.IP6
+       return size
+}
+func (m *OneAddDelNdpEntry) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeUint32(uint32(m.Bd))
+       buf.EncodeBytes(m.Entry.Mac[:], 6)
+       buf.EncodeBytes(m.Entry.IP6[:], 16)
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelNdpEntry) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.Bd = buf.DecodeUint32()
+       copy(m.Entry.Mac[:], buf.DecodeBytes(6))
+       copy(m.Entry.IP6[:], buf.DecodeBytes(16))
+       return nil
+}
+
+// OneAddDelNdpEntryReply defines message 'one_add_del_ndp_entry_reply'.
+type OneAddDelNdpEntryReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelNdpEntryReply) Reset()               { *m = OneAddDelNdpEntryReply{} }
+func (*OneAddDelNdpEntryReply) GetMessageName() string { return "one_add_del_ndp_entry_reply" }
+func (*OneAddDelNdpEntryReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneAddDelNdpEntryReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelNdpEntryReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelNdpEntryReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelNdpEntryReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAddDelRemoteMapping defines message 'one_add_del_remote_mapping'.
+type OneAddDelRemoteMapping struct {
+       IsAdd    bool                       `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       IsSrcDst bool                       `binapi:"bool,name=is_src_dst" json:"is_src_dst,omitempty"`
+       DelAll   bool                       `binapi:"bool,name=del_all" json:"del_all,omitempty"`
+       Vni      uint32                     `binapi:"u32,name=vni" json:"vni,omitempty"`
+       Action   uint8                      `binapi:"u8,name=action" json:"action,omitempty"`
+       Deid     lisp_types.Eid             `binapi:"eid,name=deid" json:"deid,omitempty"`
+       Seid     lisp_types.Eid             `binapi:"eid,name=seid" json:"seid,omitempty"`
+       RlocNum  uint32                     `binapi:"u32,name=rloc_num" json:"-"`
+       Rlocs    []lisp_types.RemoteLocator `binapi:"remote_locator[rloc_num],name=rlocs" json:"rlocs,omitempty"`
+}
+
+func (m *OneAddDelRemoteMapping) Reset()               { *m = OneAddDelRemoteMapping{} }
+func (*OneAddDelRemoteMapping) GetMessageName() string { return "one_add_del_remote_mapping" }
+func (*OneAddDelRemoteMapping) GetCrcString() string   { return "fae8ed77" }
+func (*OneAddDelRemoteMapping) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAddDelRemoteMapping) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1     // m.IsAdd
+       size += 1     // m.IsSrcDst
+       size += 1     // m.DelAll
+       size += 4     // m.Vni
+       size += 1     // m.Action
+       size += 1     // m.Deid.Type
+       size += 1 * 6 // m.Deid.Address
+       size += 1     // m.Seid.Type
+       size += 1 * 6 // m.Seid.Address
+       size += 4     // m.RlocNum
+       for j1 := 0; j1 < len(m.Rlocs); j1++ {
+               var s1 lisp_types.RemoteLocator
+               _ = s1
+               if j1 < len(m.Rlocs) {
+                       s1 = m.Rlocs[j1]
+               }
+               size += 1      // s1.Priority
+               size += 1      // s1.Weight
+               size += 1      // s1.IPAddress.Af
+               size += 1 * 16 // s1.IPAddress.Un
+       }
+       return size
+}
+func (m *OneAddDelRemoteMapping) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeBool(m.IsSrcDst)
+       buf.EncodeBool(m.DelAll)
+       buf.EncodeUint32(uint32(m.Vni))
+       buf.EncodeUint8(uint8(m.Action))
+       buf.EncodeUint8(uint8(m.Deid.Type))
+       buf.EncodeBytes(m.Deid.Address.XXX_UnionData[:], 0)
+       buf.EncodeUint8(uint8(m.Seid.Type))
+       buf.EncodeBytes(m.Seid.Address.XXX_UnionData[:], 0)
+       buf.EncodeUint32(uint32(len(m.Rlocs)))
+       for j0 := 0; j0 < len(m.Rlocs); j0++ {
+               var v0 lisp_types.RemoteLocator
+               if j0 < len(m.Rlocs) {
+                       v0 = m.Rlocs[j0]
+               }
+               buf.EncodeUint8(uint8(v0.Priority))
+               buf.EncodeUint8(uint8(v0.Weight))
+               buf.EncodeUint8(uint8(v0.IPAddress.Af))
+               buf.EncodeBytes(v0.IPAddress.Un.XXX_UnionData[:], 0)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelRemoteMapping) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.IsSrcDst = buf.DecodeBool()
+       m.DelAll = buf.DecodeBool()
+       m.Vni = buf.DecodeUint32()
+       m.Action = buf.DecodeUint8()
+       m.Deid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Deid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.Seid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Seid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.RlocNum = buf.DecodeUint32()
+       m.Rlocs = make([]lisp_types.RemoteLocator, int(m.RlocNum))
+       for j0 := 0; j0 < len(m.Rlocs); j0++ {
+               m.Rlocs[j0].Priority = buf.DecodeUint8()
+               m.Rlocs[j0].Weight = buf.DecodeUint8()
+               m.Rlocs[j0].IPAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
+               copy(m.Rlocs[j0].IPAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       }
+       return nil
+}
+
+// OneAddDelRemoteMappingReply defines message 'one_add_del_remote_mapping_reply'.
+type OneAddDelRemoteMappingReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneAddDelRemoteMappingReply) Reset() { *m = OneAddDelRemoteMappingReply{} }
+func (*OneAddDelRemoteMappingReply) GetMessageName() string {
+       return "one_add_del_remote_mapping_reply"
+}
+func (*OneAddDelRemoteMappingReply) GetCrcString() string { return "e8d4e804" }
+func (*OneAddDelRemoteMappingReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAddDelRemoteMappingReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneAddDelRemoteMappingReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneAddDelRemoteMappingReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneAdjacenciesGet defines message 'one_adjacencies_get'.
+type OneAdjacenciesGet struct {
+       Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
+}
+
+func (m *OneAdjacenciesGet) Reset()               { *m = OneAdjacenciesGet{} }
+func (*OneAdjacenciesGet) GetMessageName() string { return "one_adjacencies_get" }
+func (*OneAdjacenciesGet) GetCrcString() string   { return "8d1f2fe9" }
+func (*OneAdjacenciesGet) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneAdjacenciesGet) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Vni
+       return size
+}
+func (m *OneAdjacenciesGet) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Vni))
+       return buf.Bytes(), nil
+}
+func (m *OneAdjacenciesGet) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Vni = buf.DecodeUint32()
+       return nil
+}
+
+// OneAdjacenciesGetReply defines message 'one_adjacencies_get_reply'.
+type OneAdjacenciesGetReply struct {
+       Retval      int32          `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Count       uint32         `binapi:"u32,name=count" json:"-"`
+       Adjacencies []OneAdjacency `binapi:"one_adjacency[count],name=adjacencies" json:"adjacencies,omitempty"`
+}
+
+func (m *OneAdjacenciesGetReply) Reset()               { *m = OneAdjacenciesGetReply{} }
+func (*OneAdjacenciesGetReply) GetMessageName() string { return "one_adjacencies_get_reply" }
+func (*OneAdjacenciesGetReply) GetCrcString() string   { return "a8ed89a5" }
+func (*OneAdjacenciesGetReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneAdjacenciesGetReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 4 // m.Count
+       for j1 := 0; j1 < len(m.Adjacencies); j1++ {
+               var s1 OneAdjacency
+               _ = s1
+               if j1 < len(m.Adjacencies) {
+                       s1 = m.Adjacencies[j1]
+               }
+               size += 1     // s1.Reid.Type
+               size += 1 * 6 // s1.Reid.Address
+               size += 1     // s1.Leid.Type
+               size += 1 * 6 // s1.Leid.Address
+       }
+       return size
+}
+func (m *OneAdjacenciesGetReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(len(m.Adjacencies)))
+       for j0 := 0; j0 < len(m.Adjacencies); j0++ {
+               var v0 OneAdjacency
+               if j0 < len(m.Adjacencies) {
+                       v0 = m.Adjacencies[j0]
+               }
+               buf.EncodeUint8(uint8(v0.Reid.Type))
+               buf.EncodeBytes(v0.Reid.Address.XXX_UnionData[:], 0)
+               buf.EncodeUint8(uint8(v0.Leid.Type))
+               buf.EncodeBytes(v0.Leid.Address.XXX_UnionData[:], 0)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneAdjacenciesGetReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Count = buf.DecodeUint32()
+       m.Adjacencies = make([]OneAdjacency, int(m.Count))
+       for j0 := 0; j0 < len(m.Adjacencies); j0++ {
+               m.Adjacencies[j0].Reid.Type = lisp_types.EidType(buf.DecodeUint8())
+               copy(m.Adjacencies[j0].Reid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+               m.Adjacencies[j0].Leid.Type = lisp_types.EidType(buf.DecodeUint8())
+               copy(m.Adjacencies[j0].Leid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       }
+       return nil
+}
+
+// OneEidTableAddDelMap defines message 'one_eid_table_add_del_map'.
+type OneEidTableAddDelMap struct {
+       IsAdd   bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       Vni     uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
+       DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"`
+       IsL2    bool   `binapi:"bool,name=is_l2" json:"is_l2,omitempty"`
+}
+
+func (m *OneEidTableAddDelMap) Reset()               { *m = OneEidTableAddDelMap{} }
+func (*OneEidTableAddDelMap) GetMessageName() string { return "one_eid_table_add_del_map" }
+func (*OneEidTableAddDelMap) GetCrcString() string   { return "9481416b" }
+func (*OneEidTableAddDelMap) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneEidTableAddDelMap) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsAdd
+       size += 4 // m.Vni
+       size += 4 // m.DpTable
+       size += 1 // m.IsL2
+       return size
+}
+func (m *OneEidTableAddDelMap) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeUint32(uint32(m.Vni))
+       buf.EncodeUint32(uint32(m.DpTable))
+       buf.EncodeBool(m.IsL2)
+       return buf.Bytes(), nil
+}
+func (m *OneEidTableAddDelMap) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.Vni = buf.DecodeUint32()
+       m.DpTable = buf.DecodeUint32()
+       m.IsL2 = buf.DecodeBool()
+       return nil
+}
+
+// OneEidTableAddDelMapReply defines message 'one_eid_table_add_del_map_reply'.
+type OneEidTableAddDelMapReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneEidTableAddDelMapReply) Reset()               { *m = OneEidTableAddDelMapReply{} }
+func (*OneEidTableAddDelMapReply) GetMessageName() string { return "one_eid_table_add_del_map_reply" }
+func (*OneEidTableAddDelMapReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneEidTableAddDelMapReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneEidTableAddDelMapReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneEidTableAddDelMapReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneEidTableAddDelMapReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneEidTableDetails defines message 'one_eid_table_details'.
+type OneEidTableDetails struct {
+       LocatorSetIndex uint32             `binapi:"u32,name=locator_set_index" json:"locator_set_index,omitempty"`
+       Action          uint8              `binapi:"u8,name=action" json:"action,omitempty"`
+       IsLocal         bool               `binapi:"bool,name=is_local" json:"is_local,omitempty"`
+       IsSrcDst        bool               `binapi:"bool,name=is_src_dst" json:"is_src_dst,omitempty"`
+       Vni             uint32             `binapi:"u32,name=vni" json:"vni,omitempty"`
+       Deid            lisp_types.Eid     `binapi:"eid,name=deid" json:"deid,omitempty"`
+       Seid            lisp_types.Eid     `binapi:"eid,name=seid" json:"seid,omitempty"`
+       TTL             uint32             `binapi:"u32,name=ttl" json:"ttl,omitempty"`
+       Authoritative   uint8              `binapi:"u8,name=authoritative" json:"authoritative,omitempty"`
+       Key             lisp_types.HmacKey `binapi:"hmac_key,name=key" json:"key,omitempty"`
+}
+
+func (m *OneEidTableDetails) Reset()               { *m = OneEidTableDetails{} }
+func (*OneEidTableDetails) GetMessageName() string { return "one_eid_table_details" }
+func (*OneEidTableDetails) GetCrcString() string   { return "4bc32e3a" }
+func (*OneEidTableDetails) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneEidTableDetails) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4      // m.LocatorSetIndex
+       size += 1      // m.Action
+       size += 1      // m.IsLocal
+       size += 1      // m.IsSrcDst
+       size += 4      // m.Vni
+       size += 1      // m.Deid.Type
+       size += 1 * 6  // m.Deid.Address
+       size += 1      // m.Seid.Type
+       size += 1 * 6  // m.Seid.Address
+       size += 4      // m.TTL
+       size += 1      // m.Authoritative
+       size += 1      // m.Key.ID
+       size += 1 * 64 // m.Key.Key
+       return size
+}
+func (m *OneEidTableDetails) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.LocatorSetIndex))
+       buf.EncodeUint8(uint8(m.Action))
+       buf.EncodeBool(m.IsLocal)
+       buf.EncodeBool(m.IsSrcDst)
+       buf.EncodeUint32(uint32(m.Vni))
+       buf.EncodeUint8(uint8(m.Deid.Type))
+       buf.EncodeBytes(m.Deid.Address.XXX_UnionData[:], 0)
+       buf.EncodeUint8(uint8(m.Seid.Type))
+       buf.EncodeBytes(m.Seid.Address.XXX_UnionData[:], 0)
+       buf.EncodeUint32(uint32(m.TTL))
+       buf.EncodeUint8(uint8(m.Authoritative))
+       buf.EncodeUint8(uint8(m.Key.ID))
+       buf.EncodeBytes(m.Key.Key[:], 64)
+       return buf.Bytes(), nil
+}
+func (m *OneEidTableDetails) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.LocatorSetIndex = buf.DecodeUint32()
+       m.Action = buf.DecodeUint8()
+       m.IsLocal = buf.DecodeBool()
+       m.IsSrcDst = buf.DecodeBool()
+       m.Vni = buf.DecodeUint32()
+       m.Deid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Deid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.Seid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Seid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.TTL = buf.DecodeUint32()
+       m.Authoritative = buf.DecodeUint8()
+       m.Key.ID = lisp_types.HmacKeyID(buf.DecodeUint8())
+       copy(m.Key.Key[:], buf.DecodeBytes(64))
+       return nil
+}
+
+// OneEidTableDump defines message 'one_eid_table_dump'.
+type OneEidTableDump struct {
+       EidSet bool           `binapi:"bool,name=eid_set" json:"eid_set,omitempty"`
+       Vni    uint32         `binapi:"u32,name=vni" json:"vni,omitempty"`
+       Eid    lisp_types.Eid `binapi:"eid,name=eid" json:"eid,omitempty"`
+       Filter OneFilter      `binapi:"one_filter,name=filter" json:"filter,omitempty"`
+}
+
+func (m *OneEidTableDump) Reset()               { *m = OneEidTableDump{} }
+func (*OneEidTableDump) GetMessageName() string { return "one_eid_table_dump" }
+func (*OneEidTableDump) GetCrcString() string   { return "95151038" }
+func (*OneEidTableDump) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneEidTableDump) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1     // m.EidSet
+       size += 4     // m.Vni
+       size += 1     // m.Eid.Type
+       size += 1 * 6 // m.Eid.Address
+       size += 4     // m.Filter
+       return size
+}
+func (m *OneEidTableDump) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.EidSet)
+       buf.EncodeUint32(uint32(m.Vni))
+       buf.EncodeUint8(uint8(m.Eid.Type))
+       buf.EncodeBytes(m.Eid.Address.XXX_UnionData[:], 0)
+       buf.EncodeUint32(uint32(m.Filter))
+       return buf.Bytes(), nil
+}
+func (m *OneEidTableDump) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.EidSet = buf.DecodeBool()
+       m.Vni = buf.DecodeUint32()
+       m.Eid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Eid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.Filter = OneFilter(buf.DecodeUint32())
+       return nil
+}
+
+// OneEidTableMapDetails defines message 'one_eid_table_map_details'.
+type OneEidTableMapDetails struct {
+       Vni     uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
+       DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"`
+}
+
+func (m *OneEidTableMapDetails) Reset()               { *m = OneEidTableMapDetails{} }
+func (*OneEidTableMapDetails) GetMessageName() string { return "one_eid_table_map_details" }
+func (*OneEidTableMapDetails) GetCrcString() string   { return "0b6859e2" }
+func (*OneEidTableMapDetails) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneEidTableMapDetails) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Vni
+       size += 4 // m.DpTable
+       return size
+}
+func (m *OneEidTableMapDetails) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Vni))
+       buf.EncodeUint32(uint32(m.DpTable))
+       return buf.Bytes(), nil
+}
+func (m *OneEidTableMapDetails) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Vni = buf.DecodeUint32()
+       m.DpTable = buf.DecodeUint32()
+       return nil
+}
+
+// OneEidTableMapDump defines message 'one_eid_table_map_dump'.
+type OneEidTableMapDump struct {
+       IsL2 bool `binapi:"bool,name=is_l2" json:"is_l2,omitempty"`
+}
+
+func (m *OneEidTableMapDump) Reset()               { *m = OneEidTableMapDump{} }
+func (*OneEidTableMapDump) GetMessageName() string { return "one_eid_table_map_dump" }
+func (*OneEidTableMapDump) GetCrcString() string   { return "d6cf0c3d" }
+func (*OneEidTableMapDump) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneEidTableMapDump) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsL2
+       return size
+}
+func (m *OneEidTableMapDump) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsL2)
+       return buf.Bytes(), nil
+}
+func (m *OneEidTableMapDump) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsL2 = buf.DecodeBool()
+       return nil
+}
+
+// OneEidTableVniDetails defines message 'one_eid_table_vni_details'.
+type OneEidTableVniDetails struct {
+       Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
+}
+
+func (m *OneEidTableVniDetails) Reset()               { *m = OneEidTableVniDetails{} }
+func (*OneEidTableVniDetails) GetMessageName() string { return "one_eid_table_vni_details" }
+func (*OneEidTableVniDetails) GetCrcString() string   { return "64abc01e" }
+func (*OneEidTableVniDetails) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneEidTableVniDetails) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Vni
+       return size
+}
+func (m *OneEidTableVniDetails) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Vni))
+       return buf.Bytes(), nil
+}
+func (m *OneEidTableVniDetails) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Vni = buf.DecodeUint32()
+       return nil
+}
+
+// OneEidTableVniDump defines message 'one_eid_table_vni_dump'.
+type OneEidTableVniDump struct{}
+
+func (m *OneEidTableVniDump) Reset()               { *m = OneEidTableVniDump{} }
+func (*OneEidTableVniDump) GetMessageName() string { return "one_eid_table_vni_dump" }
+func (*OneEidTableVniDump) GetCrcString() string   { return "51077d14" }
+func (*OneEidTableVniDump) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneEidTableVniDump) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneEidTableVniDump) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneEidTableVniDump) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneEnableDisable defines message 'one_enable_disable'.
+type OneEnableDisable struct {
+       IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
+}
+
+func (m *OneEnableDisable) Reset()               { *m = OneEnableDisable{} }
+func (*OneEnableDisable) GetMessageName() string { return "one_enable_disable" }
+func (*OneEnableDisable) GetCrcString() string   { return "c264d7bf" }
+func (*OneEnableDisable) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneEnableDisable) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneEnableDisable) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneEnableDisable) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneEnableDisablePetrMode defines message 'one_enable_disable_petr_mode'.
+type OneEnableDisablePetrMode struct {
+       IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
+}
+
+func (m *OneEnableDisablePetrMode) Reset()               { *m = OneEnableDisablePetrMode{} }
+func (*OneEnableDisablePetrMode) GetMessageName() string { return "one_enable_disable_petr_mode" }
+func (*OneEnableDisablePetrMode) GetCrcString() string   { return "c264d7bf" }
+func (*OneEnableDisablePetrMode) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneEnableDisablePetrMode) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneEnableDisablePetrMode) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneEnableDisablePetrMode) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneEnableDisablePetrModeReply defines message 'one_enable_disable_petr_mode_reply'.
+type OneEnableDisablePetrModeReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneEnableDisablePetrModeReply) Reset() { *m = OneEnableDisablePetrModeReply{} }
+func (*OneEnableDisablePetrModeReply) GetMessageName() string {
+       return "one_enable_disable_petr_mode_reply"
+}
+func (*OneEnableDisablePetrModeReply) GetCrcString() string { return "e8d4e804" }
+func (*OneEnableDisablePetrModeReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneEnableDisablePetrModeReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneEnableDisablePetrModeReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneEnableDisablePetrModeReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneEnableDisablePitrMode defines message 'one_enable_disable_pitr_mode'.
+type OneEnableDisablePitrMode struct {
+       IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
+}
+
+func (m *OneEnableDisablePitrMode) Reset()               { *m = OneEnableDisablePitrMode{} }
+func (*OneEnableDisablePitrMode) GetMessageName() string { return "one_enable_disable_pitr_mode" }
+func (*OneEnableDisablePitrMode) GetCrcString() string   { return "c264d7bf" }
+func (*OneEnableDisablePitrMode) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneEnableDisablePitrMode) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneEnableDisablePitrMode) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneEnableDisablePitrMode) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneEnableDisablePitrModeReply defines message 'one_enable_disable_pitr_mode_reply'.
+type OneEnableDisablePitrModeReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneEnableDisablePitrModeReply) Reset() { *m = OneEnableDisablePitrModeReply{} }
+func (*OneEnableDisablePitrModeReply) GetMessageName() string {
+       return "one_enable_disable_pitr_mode_reply"
+}
+func (*OneEnableDisablePitrModeReply) GetCrcString() string { return "e8d4e804" }
+func (*OneEnableDisablePitrModeReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneEnableDisablePitrModeReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneEnableDisablePitrModeReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneEnableDisablePitrModeReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneEnableDisableReply defines message 'one_enable_disable_reply'.
+type OneEnableDisableReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneEnableDisableReply) Reset()               { *m = OneEnableDisableReply{} }
+func (*OneEnableDisableReply) GetMessageName() string { return "one_enable_disable_reply" }
+func (*OneEnableDisableReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneEnableDisableReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneEnableDisableReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneEnableDisableReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneEnableDisableReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneEnableDisableXtrMode defines message 'one_enable_disable_xtr_mode'.
+type OneEnableDisableXtrMode struct {
+       IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
+}
+
+func (m *OneEnableDisableXtrMode) Reset()               { *m = OneEnableDisableXtrMode{} }
+func (*OneEnableDisableXtrMode) GetMessageName() string { return "one_enable_disable_xtr_mode" }
+func (*OneEnableDisableXtrMode) GetCrcString() string   { return "c264d7bf" }
+func (*OneEnableDisableXtrMode) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneEnableDisableXtrMode) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneEnableDisableXtrMode) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneEnableDisableXtrMode) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneEnableDisableXtrModeReply defines message 'one_enable_disable_xtr_mode_reply'.
+type OneEnableDisableXtrModeReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneEnableDisableXtrModeReply) Reset() { *m = OneEnableDisableXtrModeReply{} }
+func (*OneEnableDisableXtrModeReply) GetMessageName() string {
+       return "one_enable_disable_xtr_mode_reply"
+}
+func (*OneEnableDisableXtrModeReply) GetCrcString() string { return "e8d4e804" }
+func (*OneEnableDisableXtrModeReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneEnableDisableXtrModeReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneEnableDisableXtrModeReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneEnableDisableXtrModeReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneGetMapRequestItrRlocs defines message 'one_get_map_request_itr_rlocs'.
+type OneGetMapRequestItrRlocs struct{}
+
+func (m *OneGetMapRequestItrRlocs) Reset()               { *m = OneGetMapRequestItrRlocs{} }
+func (*OneGetMapRequestItrRlocs) GetMessageName() string { return "one_get_map_request_itr_rlocs" }
+func (*OneGetMapRequestItrRlocs) GetCrcString() string   { return "51077d14" }
+func (*OneGetMapRequestItrRlocs) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneGetMapRequestItrRlocs) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneGetMapRequestItrRlocs) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneGetMapRequestItrRlocs) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneGetMapRequestItrRlocsReply defines message 'one_get_map_request_itr_rlocs_reply'.
+type OneGetMapRequestItrRlocsReply struct {
+       Retval         int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
+       LocatorSetName string `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
+}
+
+func (m *OneGetMapRequestItrRlocsReply) Reset() { *m = OneGetMapRequestItrRlocsReply{} }
+func (*OneGetMapRequestItrRlocsReply) GetMessageName() string {
+       return "one_get_map_request_itr_rlocs_reply"
+}
+func (*OneGetMapRequestItrRlocsReply) GetCrcString() string { return "76580f3a" }
+func (*OneGetMapRequestItrRlocsReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneGetMapRequestItrRlocsReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4  // m.Retval
+       size += 64 // m.LocatorSetName
+       return size
+}
+func (m *OneGetMapRequestItrRlocsReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeString(m.LocatorSetName, 64)
+       return buf.Bytes(), nil
+}
+func (m *OneGetMapRequestItrRlocsReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.LocatorSetName = buf.DecodeString(64)
+       return nil
+}
+
+// OneGetTransportProtocol defines message 'one_get_transport_protocol'.
+type OneGetTransportProtocol struct{}
+
+func (m *OneGetTransportProtocol) Reset()               { *m = OneGetTransportProtocol{} }
+func (*OneGetTransportProtocol) GetMessageName() string { return "one_get_transport_protocol" }
+func (*OneGetTransportProtocol) GetCrcString() string   { return "51077d14" }
+func (*OneGetTransportProtocol) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneGetTransportProtocol) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneGetTransportProtocol) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneGetTransportProtocol) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneGetTransportProtocolReply defines message 'one_get_transport_protocol_reply'.
+type OneGetTransportProtocolReply struct {
+       Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Protocol uint8 `binapi:"u8,name=protocol" json:"protocol,omitempty"`
+}
+
+func (m *OneGetTransportProtocolReply) Reset() { *m = OneGetTransportProtocolReply{} }
+func (*OneGetTransportProtocolReply) GetMessageName() string {
+       return "one_get_transport_protocol_reply"
+}
+func (*OneGetTransportProtocolReply) GetCrcString() string { return "62a28eb3" }
+func (*OneGetTransportProtocolReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneGetTransportProtocolReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 1 // m.Protocol
+       return size
+}
+func (m *OneGetTransportProtocolReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint8(uint8(m.Protocol))
+       return buf.Bytes(), nil
+}
+func (m *OneGetTransportProtocolReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Protocol = buf.DecodeUint8()
+       return nil
+}
+
+// OneL2ArpBdGet defines message 'one_l2_arp_bd_get'.
+type OneL2ArpBdGet struct{}
+
+func (m *OneL2ArpBdGet) Reset()               { *m = OneL2ArpBdGet{} }
+func (*OneL2ArpBdGet) GetMessageName() string { return "one_l2_arp_bd_get" }
+func (*OneL2ArpBdGet) GetCrcString() string   { return "51077d14" }
+func (*OneL2ArpBdGet) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneL2ArpBdGet) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneL2ArpBdGet) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneL2ArpBdGet) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneL2ArpBdGetReply defines message 'one_l2_arp_bd_get_reply'.
+type OneL2ArpBdGetReply struct {
+       Retval        int32    `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Count         uint32   `binapi:"u32,name=count" json:"-"`
+       BridgeDomains []uint32 `binapi:"u32[count],name=bridge_domains" json:"bridge_domains,omitempty"`
+}
+
+func (m *OneL2ArpBdGetReply) Reset()               { *m = OneL2ArpBdGetReply{} }
+func (*OneL2ArpBdGetReply) GetMessageName() string { return "one_l2_arp_bd_get_reply" }
+func (*OneL2ArpBdGetReply) GetCrcString() string   { return "221ac888" }
+func (*OneL2ArpBdGetReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneL2ArpBdGetReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4                        // m.Retval
+       size += 4                        // m.Count
+       size += 4 * len(m.BridgeDomains) // m.BridgeDomains
+       return size
+}
+func (m *OneL2ArpBdGetReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(len(m.BridgeDomains)))
+       for i := 0; i < len(m.BridgeDomains); i++ {
+               var x uint32
+               if i < len(m.BridgeDomains) {
+                       x = uint32(m.BridgeDomains[i])
+               }
+               buf.EncodeUint32(uint32(x))
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneL2ArpBdGetReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Count = buf.DecodeUint32()
+       m.BridgeDomains = make([]uint32, m.Count)
+       for i := 0; i < len(m.BridgeDomains); i++ {
+               m.BridgeDomains[i] = buf.DecodeUint32()
+       }
+       return nil
+}
+
+// OneL2ArpEntriesGet defines message 'one_l2_arp_entries_get'.
+type OneL2ArpEntriesGet struct {
+       Bd uint32 `binapi:"u32,name=bd" json:"bd,omitempty"`
+}
+
+func (m *OneL2ArpEntriesGet) Reset()               { *m = OneL2ArpEntriesGet{} }
+func (*OneL2ArpEntriesGet) GetMessageName() string { return "one_l2_arp_entries_get" }
+func (*OneL2ArpEntriesGet) GetCrcString() string   { return "4d418cf4" }
+func (*OneL2ArpEntriesGet) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneL2ArpEntriesGet) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Bd
+       return size
+}
+func (m *OneL2ArpEntriesGet) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Bd))
+       return buf.Bytes(), nil
+}
+func (m *OneL2ArpEntriesGet) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Bd = buf.DecodeUint32()
+       return nil
+}
+
+// OneL2ArpEntriesGetReply defines message 'one_l2_arp_entries_get_reply'.
+type OneL2ArpEntriesGetReply struct {
+       Retval  int32           `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Count   uint32          `binapi:"u32,name=count" json:"-"`
+       Entries []OneL2ArpEntry `binapi:"one_l2_arp_entry[count],name=entries" json:"entries,omitempty"`
+}
+
+func (m *OneL2ArpEntriesGetReply) Reset()               { *m = OneL2ArpEntriesGetReply{} }
+func (*OneL2ArpEntriesGetReply) GetMessageName() string { return "one_l2_arp_entries_get_reply" }
+func (*OneL2ArpEntriesGetReply) GetCrcString() string   { return "b0a47bbe" }
+func (*OneL2ArpEntriesGetReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneL2ArpEntriesGetReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 4 // m.Count
+       for j1 := 0; j1 < len(m.Entries); j1++ {
+               var s1 OneL2ArpEntry
+               _ = s1
+               if j1 < len(m.Entries) {
+                       s1 = m.Entries[j1]
+               }
+               size += 1 * 6 // s1.Mac
+               size += 1 * 4 // s1.IP4
+       }
+       return size
+}
+func (m *OneL2ArpEntriesGetReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(len(m.Entries)))
+       for j0 := 0; j0 < len(m.Entries); j0++ {
+               var v0 OneL2ArpEntry
+               if j0 < len(m.Entries) {
+                       v0 = m.Entries[j0]
+               }
+               buf.EncodeBytes(v0.Mac[:], 6)
+               buf.EncodeBytes(v0.IP4[:], 4)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneL2ArpEntriesGetReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Count = buf.DecodeUint32()
+       m.Entries = make([]OneL2ArpEntry, int(m.Count))
+       for j0 := 0; j0 < len(m.Entries); j0++ {
+               copy(m.Entries[j0].Mac[:], buf.DecodeBytes(6))
+               copy(m.Entries[j0].IP4[:], buf.DecodeBytes(4))
+       }
+       return nil
+}
+
+// OneLocatorDetails defines message 'one_locator_details'.
+type OneLocatorDetails struct {
+       Local     uint8                          `binapi:"u8,name=local" json:"local,omitempty"`
+       SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
+       IPAddress ip_types.Address               `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
+       Priority  uint8                          `binapi:"u8,name=priority" json:"priority,omitempty"`
+       Weight    uint8                          `binapi:"u8,name=weight" json:"weight,omitempty"`
+}
+
+func (m *OneLocatorDetails) Reset()               { *m = OneLocatorDetails{} }
+func (*OneLocatorDetails) GetMessageName() string { return "one_locator_details" }
+func (*OneLocatorDetails) GetCrcString() string   { return "c0c4c2a7" }
+func (*OneLocatorDetails) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneLocatorDetails) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1      // m.Local
+       size += 4      // m.SwIfIndex
+       size += 1      // m.IPAddress.Af
+       size += 1 * 16 // m.IPAddress.Un
+       size += 1      // m.Priority
+       size += 1      // m.Weight
+       return size
+}
+func (m *OneLocatorDetails) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint8(uint8(m.Local))
+       buf.EncodeUint32(uint32(m.SwIfIndex))
+       buf.EncodeUint8(uint8(m.IPAddress.Af))
+       buf.EncodeBytes(m.IPAddress.Un.XXX_UnionData[:], 0)
+       buf.EncodeUint8(uint8(m.Priority))
+       buf.EncodeUint8(uint8(m.Weight))
+       return buf.Bytes(), nil
+}
+func (m *OneLocatorDetails) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Local = buf.DecodeUint8()
+       m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
+       m.IPAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.IPAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       m.Priority = buf.DecodeUint8()
+       m.Weight = buf.DecodeUint8()
+       return nil
+}
+
+// OneLocatorDump defines message 'one_locator_dump'.
+type OneLocatorDump struct {
+       LsIndex    uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
+       LsName     string `binapi:"string[64],name=ls_name" json:"ls_name,omitempty"`
+       IsIndexSet bool   `binapi:"bool,name=is_index_set" json:"is_index_set,omitempty"`
+}
+
+func (m *OneLocatorDump) Reset()               { *m = OneLocatorDump{} }
+func (*OneLocatorDump) GetMessageName() string { return "one_locator_dump" }
+func (*OneLocatorDump) GetCrcString() string   { return "9b11076c" }
+func (*OneLocatorDump) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneLocatorDump) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4  // m.LsIndex
+       size += 64 // m.LsName
+       size += 1  // m.IsIndexSet
+       return size
+}
+func (m *OneLocatorDump) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.LsIndex))
+       buf.EncodeString(m.LsName, 64)
+       buf.EncodeBool(m.IsIndexSet)
+       return buf.Bytes(), nil
+}
+func (m *OneLocatorDump) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.LsIndex = buf.DecodeUint32()
+       m.LsName = buf.DecodeString(64)
+       m.IsIndexSet = buf.DecodeBool()
+       return nil
+}
+
+// OneLocatorSetDetails defines message 'one_locator_set_details'.
+type OneLocatorSetDetails struct {
+       LsIndex uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
+       LsName  string `binapi:"string[64],name=ls_name" json:"ls_name,omitempty"`
+}
+
+func (m *OneLocatorSetDetails) Reset()               { *m = OneLocatorSetDetails{} }
+func (*OneLocatorSetDetails) GetMessageName() string { return "one_locator_set_details" }
+func (*OneLocatorSetDetails) GetCrcString() string   { return "5b33a105" }
+func (*OneLocatorSetDetails) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneLocatorSetDetails) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4  // m.LsIndex
+       size += 64 // m.LsName
+       return size
+}
+func (m *OneLocatorSetDetails) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.LsIndex))
+       buf.EncodeString(m.LsName, 64)
+       return buf.Bytes(), nil
+}
+func (m *OneLocatorSetDetails) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.LsIndex = buf.DecodeUint32()
+       m.LsName = buf.DecodeString(64)
+       return nil
+}
+
+// OneLocatorSetDump defines message 'one_locator_set_dump'.
+type OneLocatorSetDump struct {
+       Filter OneFilter `binapi:"one_filter,name=filter" json:"filter,omitempty"`
+}
+
+func (m *OneLocatorSetDump) Reset()               { *m = OneLocatorSetDump{} }
+func (*OneLocatorSetDump) GetMessageName() string { return "one_locator_set_dump" }
+func (*OneLocatorSetDump) GetCrcString() string   { return "71190768" }
+func (*OneLocatorSetDump) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneLocatorSetDump) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Filter
+       return size
+}
+func (m *OneLocatorSetDump) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Filter))
+       return buf.Bytes(), nil
+}
+func (m *OneLocatorSetDump) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Filter = OneFilter(buf.DecodeUint32())
+       return nil
+}
+
+// OneMapRegisterEnableDisable defines message 'one_map_register_enable_disable'.
+type OneMapRegisterEnableDisable struct {
+       IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
+}
+
+func (m *OneMapRegisterEnableDisable) Reset()               { *m = OneMapRegisterEnableDisable{} }
+func (*OneMapRegisterEnableDisable) GetMessageName() string { return "one_map_register_enable_disable" }
+func (*OneMapRegisterEnableDisable) GetCrcString() string   { return "c264d7bf" }
+func (*OneMapRegisterEnableDisable) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneMapRegisterEnableDisable) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneMapRegisterEnableDisable) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneMapRegisterEnableDisable) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneMapRegisterEnableDisableReply defines message 'one_map_register_enable_disable_reply'.
+type OneMapRegisterEnableDisableReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneMapRegisterEnableDisableReply) Reset() { *m = OneMapRegisterEnableDisableReply{} }
+func (*OneMapRegisterEnableDisableReply) GetMessageName() string {
+       return "one_map_register_enable_disable_reply"
+}
+func (*OneMapRegisterEnableDisableReply) GetCrcString() string { return "e8d4e804" }
+func (*OneMapRegisterEnableDisableReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneMapRegisterEnableDisableReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneMapRegisterEnableDisableReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneMapRegisterEnableDisableReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneMapRegisterFallbackThreshold defines message 'one_map_register_fallback_threshold'.
+type OneMapRegisterFallbackThreshold struct {
+       Value uint32 `binapi:"u32,name=value" json:"value,omitempty"`
+}
+
+func (m *OneMapRegisterFallbackThreshold) Reset() { *m = OneMapRegisterFallbackThreshold{} }
+func (*OneMapRegisterFallbackThreshold) GetMessageName() string {
+       return "one_map_register_fallback_threshold"
+}
+func (*OneMapRegisterFallbackThreshold) GetCrcString() string { return "f7d4a475" }
+func (*OneMapRegisterFallbackThreshold) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneMapRegisterFallbackThreshold) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Value
+       return size
+}
+func (m *OneMapRegisterFallbackThreshold) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Value))
+       return buf.Bytes(), nil
+}
+func (m *OneMapRegisterFallbackThreshold) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Value = buf.DecodeUint32()
+       return nil
+}
+
+// OneMapRegisterFallbackThresholdReply defines message 'one_map_register_fallback_threshold_reply'.
+type OneMapRegisterFallbackThresholdReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneMapRegisterFallbackThresholdReply) Reset() { *m = OneMapRegisterFallbackThresholdReply{} }
+func (*OneMapRegisterFallbackThresholdReply) GetMessageName() string {
+       return "one_map_register_fallback_threshold_reply"
+}
+func (*OneMapRegisterFallbackThresholdReply) GetCrcString() string { return "e8d4e804" }
+func (*OneMapRegisterFallbackThresholdReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneMapRegisterFallbackThresholdReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneMapRegisterFallbackThresholdReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneMapRegisterFallbackThresholdReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneMapRegisterSetTTL defines message 'one_map_register_set_ttl'.
+type OneMapRegisterSetTTL struct {
+       TTL uint32 `binapi:"u32,name=ttl" json:"ttl,omitempty"`
+}
+
+func (m *OneMapRegisterSetTTL) Reset()               { *m = OneMapRegisterSetTTL{} }
+func (*OneMapRegisterSetTTL) GetMessageName() string { return "one_map_register_set_ttl" }
+func (*OneMapRegisterSetTTL) GetCrcString() string   { return "dd59f1f3" }
+func (*OneMapRegisterSetTTL) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneMapRegisterSetTTL) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.TTL
+       return size
+}
+func (m *OneMapRegisterSetTTL) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.TTL))
+       return buf.Bytes(), nil
+}
+func (m *OneMapRegisterSetTTL) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.TTL = buf.DecodeUint32()
+       return nil
+}
+
+// OneMapRegisterSetTTLReply defines message 'one_map_register_set_ttl_reply'.
+type OneMapRegisterSetTTLReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneMapRegisterSetTTLReply) Reset()               { *m = OneMapRegisterSetTTLReply{} }
+func (*OneMapRegisterSetTTLReply) GetMessageName() string { return "one_map_register_set_ttl_reply" }
+func (*OneMapRegisterSetTTLReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneMapRegisterSetTTLReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneMapRegisterSetTTLReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneMapRegisterSetTTLReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneMapRegisterSetTTLReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneMapRequestMode defines message 'one_map_request_mode'.
+type OneMapRequestMode struct {
+       Mode OneMapMode `binapi:"one_map_mode,name=mode" json:"mode,omitempty"`
+}
+
+func (m *OneMapRequestMode) Reset()               { *m = OneMapRequestMode{} }
+func (*OneMapRequestMode) GetMessageName() string { return "one_map_request_mode" }
+func (*OneMapRequestMode) GetCrcString() string   { return "ffa5d2f5" }
+func (*OneMapRequestMode) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneMapRequestMode) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Mode
+       return size
+}
+func (m *OneMapRequestMode) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Mode))
+       return buf.Bytes(), nil
+}
+func (m *OneMapRequestMode) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Mode = OneMapMode(buf.DecodeUint32())
+       return nil
+}
+
+// OneMapRequestModeReply defines message 'one_map_request_mode_reply'.
+type OneMapRequestModeReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneMapRequestModeReply) Reset()               { *m = OneMapRequestModeReply{} }
+func (*OneMapRequestModeReply) GetMessageName() string { return "one_map_request_mode_reply" }
+func (*OneMapRequestModeReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneMapRequestModeReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneMapRequestModeReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneMapRequestModeReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneMapRequestModeReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneMapResolverDetails defines message 'one_map_resolver_details'.
+type OneMapResolverDetails struct {
+       IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
+}
+
+func (m *OneMapResolverDetails) Reset()               { *m = OneMapResolverDetails{} }
+func (*OneMapResolverDetails) GetMessageName() string { return "one_map_resolver_details" }
+func (*OneMapResolverDetails) GetCrcString() string   { return "82a09deb" }
+func (*OneMapResolverDetails) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneMapResolverDetails) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1      // m.IPAddress.Af
+       size += 1 * 16 // m.IPAddress.Un
+       return size
+}
+func (m *OneMapResolverDetails) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint8(uint8(m.IPAddress.Af))
+       buf.EncodeBytes(m.IPAddress.Un.XXX_UnionData[:], 0)
+       return buf.Bytes(), nil
+}
+func (m *OneMapResolverDetails) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IPAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.IPAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       return nil
+}
+
+// OneMapResolverDump defines message 'one_map_resolver_dump'.
+type OneMapResolverDump struct{}
+
+func (m *OneMapResolverDump) Reset()               { *m = OneMapResolverDump{} }
+func (*OneMapResolverDump) GetMessageName() string { return "one_map_resolver_dump" }
+func (*OneMapResolverDump) GetCrcString() string   { return "51077d14" }
+func (*OneMapResolverDump) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneMapResolverDump) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneMapResolverDump) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneMapResolverDump) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneMapServerDetails defines message 'one_map_server_details'.
+type OneMapServerDetails struct {
+       IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
+}
+
+func (m *OneMapServerDetails) Reset()               { *m = OneMapServerDetails{} }
+func (*OneMapServerDetails) GetMessageName() string { return "one_map_server_details" }
+func (*OneMapServerDetails) GetCrcString() string   { return "82a09deb" }
+func (*OneMapServerDetails) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneMapServerDetails) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1      // m.IPAddress.Af
+       size += 1 * 16 // m.IPAddress.Un
+       return size
+}
+func (m *OneMapServerDetails) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint8(uint8(m.IPAddress.Af))
+       buf.EncodeBytes(m.IPAddress.Un.XXX_UnionData[:], 0)
+       return buf.Bytes(), nil
+}
+func (m *OneMapServerDetails) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IPAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.IPAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       return nil
+}
+
+// OneMapServerDump defines message 'one_map_server_dump'.
+type OneMapServerDump struct{}
+
+func (m *OneMapServerDump) Reset()               { *m = OneMapServerDump{} }
+func (*OneMapServerDump) GetMessageName() string { return "one_map_server_dump" }
+func (*OneMapServerDump) GetCrcString() string   { return "51077d14" }
+func (*OneMapServerDump) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneMapServerDump) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneMapServerDump) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneMapServerDump) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneNdpBdGet defines message 'one_ndp_bd_get'.
+type OneNdpBdGet struct{}
+
+func (m *OneNdpBdGet) Reset()               { *m = OneNdpBdGet{} }
+func (*OneNdpBdGet) GetMessageName() string { return "one_ndp_bd_get" }
+func (*OneNdpBdGet) GetCrcString() string   { return "51077d14" }
+func (*OneNdpBdGet) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneNdpBdGet) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneNdpBdGet) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneNdpBdGet) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneNdpBdGetReply defines message 'one_ndp_bd_get_reply'.
+type OneNdpBdGetReply struct {
+       Retval        int32    `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Count         uint32   `binapi:"u32,name=count" json:"-"`
+       BridgeDomains []uint32 `binapi:"u32[count],name=bridge_domains" json:"bridge_domains,omitempty"`
+}
+
+func (m *OneNdpBdGetReply) Reset()               { *m = OneNdpBdGetReply{} }
+func (*OneNdpBdGetReply) GetMessageName() string { return "one_ndp_bd_get_reply" }
+func (*OneNdpBdGetReply) GetCrcString() string   { return "221ac888" }
+func (*OneNdpBdGetReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneNdpBdGetReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4                        // m.Retval
+       size += 4                        // m.Count
+       size += 4 * len(m.BridgeDomains) // m.BridgeDomains
+       return size
+}
+func (m *OneNdpBdGetReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(len(m.BridgeDomains)))
+       for i := 0; i < len(m.BridgeDomains); i++ {
+               var x uint32
+               if i < len(m.BridgeDomains) {
+                       x = uint32(m.BridgeDomains[i])
+               }
+               buf.EncodeUint32(uint32(x))
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneNdpBdGetReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Count = buf.DecodeUint32()
+       m.BridgeDomains = make([]uint32, m.Count)
+       for i := 0; i < len(m.BridgeDomains); i++ {
+               m.BridgeDomains[i] = buf.DecodeUint32()
+       }
+       return nil
+}
+
+// OneNdpEntriesGet defines message 'one_ndp_entries_get'.
+type OneNdpEntriesGet struct {
+       Bd uint32 `binapi:"u32,name=bd" json:"bd,omitempty"`
+}
+
+func (m *OneNdpEntriesGet) Reset()               { *m = OneNdpEntriesGet{} }
+func (*OneNdpEntriesGet) GetMessageName() string { return "one_ndp_entries_get" }
+func (*OneNdpEntriesGet) GetCrcString() string   { return "4d418cf4" }
+func (*OneNdpEntriesGet) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneNdpEntriesGet) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Bd
+       return size
+}
+func (m *OneNdpEntriesGet) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Bd))
+       return buf.Bytes(), nil
+}
+func (m *OneNdpEntriesGet) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Bd = buf.DecodeUint32()
+       return nil
+}
+
+// OneNdpEntriesGetReply defines message 'one_ndp_entries_get_reply'.
+type OneNdpEntriesGetReply struct {
+       Retval  int32         `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Count   uint32        `binapi:"u32,name=count" json:"-"`
+       Entries []OneNdpEntry `binapi:"one_ndp_entry[count],name=entries" json:"entries,omitempty"`
+}
+
+func (m *OneNdpEntriesGetReply) Reset()               { *m = OneNdpEntriesGetReply{} }
+func (*OneNdpEntriesGetReply) GetMessageName() string { return "one_ndp_entries_get_reply" }
+func (*OneNdpEntriesGetReply) GetCrcString() string   { return "0bd34161" }
+func (*OneNdpEntriesGetReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneNdpEntriesGetReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 4 // m.Count
+       for j1 := 0; j1 < len(m.Entries); j1++ {
+               var s1 OneNdpEntry
+               _ = s1
+               if j1 < len(m.Entries) {
+                       s1 = m.Entries[j1]
+               }
+               size += 1 * 6  // s1.Mac
+               size += 1 * 16 // s1.IP6
+       }
+       return size
+}
+func (m *OneNdpEntriesGetReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(len(m.Entries)))
+       for j0 := 0; j0 < len(m.Entries); j0++ {
+               var v0 OneNdpEntry
+               if j0 < len(m.Entries) {
+                       v0 = m.Entries[j0]
+               }
+               buf.EncodeBytes(v0.Mac[:], 6)
+               buf.EncodeBytes(v0.IP6[:], 16)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneNdpEntriesGetReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Count = buf.DecodeUint32()
+       m.Entries = make([]OneNdpEntry, int(m.Count))
+       for j0 := 0; j0 < len(m.Entries); j0++ {
+               copy(m.Entries[j0].Mac[:], buf.DecodeBytes(6))
+               copy(m.Entries[j0].IP6[:], buf.DecodeBytes(16))
+       }
+       return nil
+}
+
+// OneNshSetLocatorSet defines message 'one_nsh_set_locator_set'.
+type OneNshSetLocatorSet struct {
+       IsAdd  bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       LsName string `binapi:"string[64],name=ls_name" json:"ls_name,omitempty"`
+}
+
+func (m *OneNshSetLocatorSet) Reset()               { *m = OneNshSetLocatorSet{} }
+func (*OneNshSetLocatorSet) GetMessageName() string { return "one_nsh_set_locator_set" }
+func (*OneNshSetLocatorSet) GetCrcString() string   { return "486e2b76" }
+func (*OneNshSetLocatorSet) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneNshSetLocatorSet) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1  // m.IsAdd
+       size += 64 // m.LsName
+       return size
+}
+func (m *OneNshSetLocatorSet) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeString(m.LsName, 64)
+       return buf.Bytes(), nil
+}
+func (m *OneNshSetLocatorSet) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.LsName = buf.DecodeString(64)
+       return nil
+}
+
+// OneNshSetLocatorSetReply defines message 'one_nsh_set_locator_set_reply'.
+type OneNshSetLocatorSetReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneNshSetLocatorSetReply) Reset()               { *m = OneNshSetLocatorSetReply{} }
+func (*OneNshSetLocatorSetReply) GetMessageName() string { return "one_nsh_set_locator_set_reply" }
+func (*OneNshSetLocatorSetReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneNshSetLocatorSetReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneNshSetLocatorSetReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneNshSetLocatorSetReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneNshSetLocatorSetReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OnePitrSetLocatorSet defines message 'one_pitr_set_locator_set'.
+type OnePitrSetLocatorSet struct {
+       IsAdd  bool   `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+       LsName string `binapi:"string[64],name=ls_name" json:"ls_name,omitempty"`
+}
+
+func (m *OnePitrSetLocatorSet) Reset()               { *m = OnePitrSetLocatorSet{} }
+func (*OnePitrSetLocatorSet) GetMessageName() string { return "one_pitr_set_locator_set" }
+func (*OnePitrSetLocatorSet) GetCrcString() string   { return "486e2b76" }
+func (*OnePitrSetLocatorSet) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OnePitrSetLocatorSet) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1  // m.IsAdd
+       size += 64 // m.LsName
+       return size
+}
+func (m *OnePitrSetLocatorSet) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsAdd)
+       buf.EncodeString(m.LsName, 64)
+       return buf.Bytes(), nil
+}
+func (m *OnePitrSetLocatorSet) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsAdd = buf.DecodeBool()
+       m.LsName = buf.DecodeString(64)
+       return nil
+}
+
+// OnePitrSetLocatorSetReply defines message 'one_pitr_set_locator_set_reply'.
+type OnePitrSetLocatorSetReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OnePitrSetLocatorSetReply) Reset()               { *m = OnePitrSetLocatorSetReply{} }
+func (*OnePitrSetLocatorSetReply) GetMessageName() string { return "one_pitr_set_locator_set_reply" }
+func (*OnePitrSetLocatorSetReply) GetCrcString() string   { return "e8d4e804" }
+func (*OnePitrSetLocatorSetReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OnePitrSetLocatorSetReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OnePitrSetLocatorSetReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OnePitrSetLocatorSetReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneRlocProbeEnableDisable defines message 'one_rloc_probe_enable_disable'.
+type OneRlocProbeEnableDisable struct {
+       IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
+}
+
+func (m *OneRlocProbeEnableDisable) Reset()               { *m = OneRlocProbeEnableDisable{} }
+func (*OneRlocProbeEnableDisable) GetMessageName() string { return "one_rloc_probe_enable_disable" }
+func (*OneRlocProbeEnableDisable) GetCrcString() string   { return "c264d7bf" }
+func (*OneRlocProbeEnableDisable) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneRlocProbeEnableDisable) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneRlocProbeEnableDisable) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneRlocProbeEnableDisable) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneRlocProbeEnableDisableReply defines message 'one_rloc_probe_enable_disable_reply'.
+type OneRlocProbeEnableDisableReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneRlocProbeEnableDisableReply) Reset() { *m = OneRlocProbeEnableDisableReply{} }
+func (*OneRlocProbeEnableDisableReply) GetMessageName() string {
+       return "one_rloc_probe_enable_disable_reply"
+}
+func (*OneRlocProbeEnableDisableReply) GetCrcString() string { return "e8d4e804" }
+func (*OneRlocProbeEnableDisableReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneRlocProbeEnableDisableReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneRlocProbeEnableDisableReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneRlocProbeEnableDisableReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneSetTransportProtocol defines message 'one_set_transport_protocol'.
+type OneSetTransportProtocol struct {
+       Protocol uint8 `binapi:"u8,name=protocol" json:"protocol,omitempty"`
+}
+
+func (m *OneSetTransportProtocol) Reset()               { *m = OneSetTransportProtocol{} }
+func (*OneSetTransportProtocol) GetMessageName() string { return "one_set_transport_protocol" }
+func (*OneSetTransportProtocol) GetCrcString() string   { return "07b6b85f" }
+func (*OneSetTransportProtocol) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneSetTransportProtocol) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.Protocol
+       return size
+}
+func (m *OneSetTransportProtocol) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint8(uint8(m.Protocol))
+       return buf.Bytes(), nil
+}
+func (m *OneSetTransportProtocol) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Protocol = buf.DecodeUint8()
+       return nil
+}
+
+// OneSetTransportProtocolReply defines message 'one_set_transport_protocol_reply'.
+type OneSetTransportProtocolReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneSetTransportProtocolReply) Reset() { *m = OneSetTransportProtocolReply{} }
+func (*OneSetTransportProtocolReply) GetMessageName() string {
+       return "one_set_transport_protocol_reply"
+}
+func (*OneSetTransportProtocolReply) GetCrcString() string { return "e8d4e804" }
+func (*OneSetTransportProtocolReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneSetTransportProtocolReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneSetTransportProtocolReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneSetTransportProtocolReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneShowPetrMode defines message 'one_show_petr_mode'.
+type OneShowPetrMode struct{}
+
+func (m *OneShowPetrMode) Reset()               { *m = OneShowPetrMode{} }
+func (*OneShowPetrMode) GetMessageName() string { return "one_show_petr_mode" }
+func (*OneShowPetrMode) GetCrcString() string   { return "51077d14" }
+func (*OneShowPetrMode) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneShowPetrMode) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneShowPetrMode) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneShowPetrMode) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneShowPetrModeReply defines message 'one_show_petr_mode_reply'.
+type OneShowPetrModeReply struct {
+       Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+       IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
+}
+
+func (m *OneShowPetrModeReply) Reset()               { *m = OneShowPetrModeReply{} }
+func (*OneShowPetrModeReply) GetMessageName() string { return "one_show_petr_mode_reply" }
+func (*OneShowPetrModeReply) GetCrcString() string   { return "f15abb16" }
+func (*OneShowPetrModeReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneShowPetrModeReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneShowPetrModeReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneShowPetrModeReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneShowPitrMode defines message 'one_show_pitr_mode'.
+type OneShowPitrMode struct{}
+
+func (m *OneShowPitrMode) Reset()               { *m = OneShowPitrMode{} }
+func (*OneShowPitrMode) GetMessageName() string { return "one_show_pitr_mode" }
+func (*OneShowPitrMode) GetCrcString() string   { return "51077d14" }
+func (*OneShowPitrMode) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneShowPitrMode) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneShowPitrMode) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneShowPitrMode) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneShowPitrModeReply defines message 'one_show_pitr_mode_reply'.
+type OneShowPitrModeReply struct {
+       Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+       IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
+}
+
+func (m *OneShowPitrModeReply) Reset()               { *m = OneShowPitrModeReply{} }
+func (*OneShowPitrModeReply) GetMessageName() string { return "one_show_pitr_mode_reply" }
+func (*OneShowPitrModeReply) GetCrcString() string   { return "f15abb16" }
+func (*OneShowPitrModeReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneShowPitrModeReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneShowPitrModeReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneShowPitrModeReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneShowXtrMode defines message 'one_show_xtr_mode'.
+type OneShowXtrMode struct{}
+
+func (m *OneShowXtrMode) Reset()               { *m = OneShowXtrMode{} }
+func (*OneShowXtrMode) GetMessageName() string { return "one_show_xtr_mode" }
+func (*OneShowXtrMode) GetCrcString() string   { return "51077d14" }
+func (*OneShowXtrMode) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneShowXtrMode) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneShowXtrMode) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneShowXtrMode) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneShowXtrModeReply defines message 'one_show_xtr_mode_reply'.
+type OneShowXtrModeReply struct {
+       Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+       IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
+}
+
+func (m *OneShowXtrModeReply) Reset()               { *m = OneShowXtrModeReply{} }
+func (*OneShowXtrModeReply) GetMessageName() string { return "one_show_xtr_mode_reply" }
+func (*OneShowXtrModeReply) GetCrcString() string   { return "f15abb16" }
+func (*OneShowXtrModeReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneShowXtrModeReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneShowXtrModeReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneShowXtrModeReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneStatsDetails defines message 'one_stats_details'.
+type OneStatsDetails struct {
+       Vni      uint32           `binapi:"u32,name=vni" json:"vni,omitempty"`
+       Deid     lisp_types.Eid   `binapi:"eid,name=deid" json:"deid,omitempty"`
+       Seid     lisp_types.Eid   `binapi:"eid,name=seid" json:"seid,omitempty"`
+       Rloc     ip_types.Address `binapi:"address,name=rloc" json:"rloc,omitempty"`
+       Lloc     ip_types.Address `binapi:"address,name=lloc" json:"lloc,omitempty"`
+       PktCount uint32           `binapi:"u32,name=pkt_count" json:"pkt_count,omitempty"`
+       Bytes    uint32           `binapi:"u32,name=bytes" json:"bytes,omitempty"`
+}
+
+func (m *OneStatsDetails) Reset()               { *m = OneStatsDetails{} }
+func (*OneStatsDetails) GetMessageName() string { return "one_stats_details" }
+func (*OneStatsDetails) GetCrcString() string   { return "ff6ef238" }
+func (*OneStatsDetails) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneStatsDetails) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4      // m.Vni
+       size += 1      // m.Deid.Type
+       size += 1 * 6  // m.Deid.Address
+       size += 1      // m.Seid.Type
+       size += 1 * 6  // m.Seid.Address
+       size += 1      // m.Rloc.Af
+       size += 1 * 16 // m.Rloc.Un
+       size += 1      // m.Lloc.Af
+       size += 1 * 16 // m.Lloc.Un
+       size += 4      // m.PktCount
+       size += 4      // m.Bytes
+       return size
+}
+func (m *OneStatsDetails) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Vni))
+       buf.EncodeUint8(uint8(m.Deid.Type))
+       buf.EncodeBytes(m.Deid.Address.XXX_UnionData[:], 0)
+       buf.EncodeUint8(uint8(m.Seid.Type))
+       buf.EncodeBytes(m.Seid.Address.XXX_UnionData[:], 0)
+       buf.EncodeUint8(uint8(m.Rloc.Af))
+       buf.EncodeBytes(m.Rloc.Un.XXX_UnionData[:], 0)
+       buf.EncodeUint8(uint8(m.Lloc.Af))
+       buf.EncodeBytes(m.Lloc.Un.XXX_UnionData[:], 0)
+       buf.EncodeUint32(uint32(m.PktCount))
+       buf.EncodeUint32(uint32(m.Bytes))
+       return buf.Bytes(), nil
+}
+func (m *OneStatsDetails) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Vni = buf.DecodeUint32()
+       m.Deid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Deid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.Seid.Type = lisp_types.EidType(buf.DecodeUint8())
+       copy(m.Seid.Address.XXX_UnionData[:], buf.DecodeBytes(6))
+       m.Rloc.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.Rloc.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       m.Lloc.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.Lloc.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       m.PktCount = buf.DecodeUint32()
+       m.Bytes = buf.DecodeUint32()
+       return nil
+}
+
+// OneStatsDump defines message 'one_stats_dump'.
+type OneStatsDump struct{}
+
+func (m *OneStatsDump) Reset()               { *m = OneStatsDump{} }
+func (*OneStatsDump) GetMessageName() string { return "one_stats_dump" }
+func (*OneStatsDump) GetCrcString() string   { return "51077d14" }
+func (*OneStatsDump) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneStatsDump) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneStatsDump) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneStatsDump) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneStatsEnableDisable defines message 'one_stats_enable_disable'.
+type OneStatsEnableDisable struct {
+       IsEnable bool `binapi:"bool,name=is_enable,default=true" json:"is_enable,omitempty"`
+}
+
+func (m *OneStatsEnableDisable) Reset()               { *m = OneStatsEnableDisable{} }
+func (*OneStatsEnableDisable) GetMessageName() string { return "one_stats_enable_disable" }
+func (*OneStatsEnableDisable) GetCrcString() string   { return "c264d7bf" }
+func (*OneStatsEnableDisable) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneStatsEnableDisable) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *OneStatsEnableDisable) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *OneStatsEnableDisable) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// OneStatsEnableDisableReply defines message 'one_stats_enable_disable_reply'.
+type OneStatsEnableDisableReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneStatsEnableDisableReply) Reset()               { *m = OneStatsEnableDisableReply{} }
+func (*OneStatsEnableDisableReply) GetMessageName() string { return "one_stats_enable_disable_reply" }
+func (*OneStatsEnableDisableReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneStatsEnableDisableReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneStatsEnableDisableReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneStatsEnableDisableReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneStatsEnableDisableReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneStatsFlush defines message 'one_stats_flush'.
+type OneStatsFlush struct{}
+
+func (m *OneStatsFlush) Reset()               { *m = OneStatsFlush{} }
+func (*OneStatsFlush) GetMessageName() string { return "one_stats_flush" }
+func (*OneStatsFlush) GetCrcString() string   { return "51077d14" }
+func (*OneStatsFlush) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneStatsFlush) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *OneStatsFlush) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *OneStatsFlush) Unmarshal(b []byte) error {
+       return nil
+}
+
+// OneStatsFlushReply defines message 'one_stats_flush_reply'.
+type OneStatsFlushReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneStatsFlushReply) Reset()               { *m = OneStatsFlushReply{} }
+func (*OneStatsFlushReply) GetMessageName() string { return "one_stats_flush_reply" }
+func (*OneStatsFlushReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneStatsFlushReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneStatsFlushReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneStatsFlushReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneStatsFlushReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// OneUsePetr defines message 'one_use_petr'.
+type OneUsePetr struct {
+       IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
+       IsAdd     bool             `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
+}
+
+func (m *OneUsePetr) Reset()               { *m = OneUsePetr{} }
+func (*OneUsePetr) GetMessageName() string { return "one_use_petr" }
+func (*OneUsePetr) GetCrcString() string   { return "9e141831" }
+func (*OneUsePetr) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *OneUsePetr) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 1      // m.IPAddress.Af
+       size += 1 * 16 // m.IPAddress.Un
+       size += 1      // m.IsAdd
+       return size
+}
+func (m *OneUsePetr) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint8(uint8(m.IPAddress.Af))
+       buf.EncodeBytes(m.IPAddress.Un.XXX_UnionData[:], 0)
+       buf.EncodeBool(m.IsAdd)
+       return buf.Bytes(), nil
+}
+func (m *OneUsePetr) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.IPAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.IPAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       m.IsAdd = buf.DecodeBool()
+       return nil
+}
+
+// OneUsePetrReply defines message 'one_use_petr_reply'.
+type OneUsePetrReply struct {
+       Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+}
+
+func (m *OneUsePetrReply) Reset()               { *m = OneUsePetrReply{} }
+func (*OneUsePetrReply) GetMessageName() string { return "one_use_petr_reply" }
+func (*OneUsePetrReply) GetCrcString() string   { return "e8d4e804" }
+func (*OneUsePetrReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *OneUsePetrReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       return size
+}
+func (m *OneUsePetrReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       return buf.Bytes(), nil
+}
+func (m *OneUsePetrReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       return nil
+}
+
+// ShowOneMapRegisterFallbackThreshold defines message 'show_one_map_register_fallback_threshold'.
+type ShowOneMapRegisterFallbackThreshold struct{}
+
+func (m *ShowOneMapRegisterFallbackThreshold) Reset() { *m = ShowOneMapRegisterFallbackThreshold{} }
+func (*ShowOneMapRegisterFallbackThreshold) GetMessageName() string {
+       return "show_one_map_register_fallback_threshold"
+}
+func (*ShowOneMapRegisterFallbackThreshold) GetCrcString() string { return "51077d14" }
+func (*ShowOneMapRegisterFallbackThreshold) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneMapRegisterFallbackThreshold) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneMapRegisterFallbackThreshold) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneMapRegisterFallbackThreshold) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneMapRegisterFallbackThresholdReply defines message 'show_one_map_register_fallback_threshold_reply'.
+type ShowOneMapRegisterFallbackThresholdReply struct {
+       Retval int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Value  uint32 `binapi:"u32,name=value" json:"value,omitempty"`
+}
+
+func (m *ShowOneMapRegisterFallbackThresholdReply) Reset() {
+       *m = ShowOneMapRegisterFallbackThresholdReply{}
+}
+func (*ShowOneMapRegisterFallbackThresholdReply) GetMessageName() string {
+       return "show_one_map_register_fallback_threshold_reply"
+}
+func (*ShowOneMapRegisterFallbackThresholdReply) GetCrcString() string { return "c93a9113" }
+func (*ShowOneMapRegisterFallbackThresholdReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneMapRegisterFallbackThresholdReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 4 // m.Value
+       return size
+}
+func (m *ShowOneMapRegisterFallbackThresholdReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(m.Value))
+       return buf.Bytes(), nil
+}
+func (m *ShowOneMapRegisterFallbackThresholdReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Value = buf.DecodeUint32()
+       return nil
+}
+
+// ShowOneMapRegisterState defines message 'show_one_map_register_state'.
+type ShowOneMapRegisterState struct{}
+
+func (m *ShowOneMapRegisterState) Reset()               { *m = ShowOneMapRegisterState{} }
+func (*ShowOneMapRegisterState) GetMessageName() string { return "show_one_map_register_state" }
+func (*ShowOneMapRegisterState) GetCrcString() string   { return "51077d14" }
+func (*ShowOneMapRegisterState) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneMapRegisterState) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneMapRegisterState) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneMapRegisterState) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneMapRegisterStateReply defines message 'show_one_map_register_state_reply'.
+type ShowOneMapRegisterStateReply struct {
+       Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+       IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
+}
+
+func (m *ShowOneMapRegisterStateReply) Reset() { *m = ShowOneMapRegisterStateReply{} }
+func (*ShowOneMapRegisterStateReply) GetMessageName() string {
+       return "show_one_map_register_state_reply"
+}
+func (*ShowOneMapRegisterStateReply) GetCrcString() string { return "f15abb16" }
+func (*ShowOneMapRegisterStateReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneMapRegisterStateReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *ShowOneMapRegisterStateReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *ShowOneMapRegisterStateReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// ShowOneMapRegisterTTL defines message 'show_one_map_register_ttl'.
+type ShowOneMapRegisterTTL struct{}
+
+func (m *ShowOneMapRegisterTTL) Reset()               { *m = ShowOneMapRegisterTTL{} }
+func (*ShowOneMapRegisterTTL) GetMessageName() string { return "show_one_map_register_ttl" }
+func (*ShowOneMapRegisterTTL) GetCrcString() string   { return "51077d14" }
+func (*ShowOneMapRegisterTTL) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneMapRegisterTTL) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneMapRegisterTTL) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneMapRegisterTTL) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneMapRegisterTTLReply defines message 'show_one_map_register_ttl_reply'.
+type ShowOneMapRegisterTTLReply struct {
+       Retval int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
+       TTL    uint32 `binapi:"u32,name=ttl" json:"ttl,omitempty"`
+}
+
+func (m *ShowOneMapRegisterTTLReply) Reset()               { *m = ShowOneMapRegisterTTLReply{} }
+func (*ShowOneMapRegisterTTLReply) GetMessageName() string { return "show_one_map_register_ttl_reply" }
+func (*ShowOneMapRegisterTTLReply) GetCrcString() string   { return "fa83dd66" }
+func (*ShowOneMapRegisterTTLReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneMapRegisterTTLReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 4 // m.TTL
+       return size
+}
+func (m *ShowOneMapRegisterTTLReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(m.TTL))
+       return buf.Bytes(), nil
+}
+func (m *ShowOneMapRegisterTTLReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.TTL = buf.DecodeUint32()
+       return nil
+}
+
+// ShowOneMapRequestMode defines message 'show_one_map_request_mode'.
+type ShowOneMapRequestMode struct{}
+
+func (m *ShowOneMapRequestMode) Reset()               { *m = ShowOneMapRequestMode{} }
+func (*ShowOneMapRequestMode) GetMessageName() string { return "show_one_map_request_mode" }
+func (*ShowOneMapRequestMode) GetCrcString() string   { return "51077d14" }
+func (*ShowOneMapRequestMode) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneMapRequestMode) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneMapRequestMode) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneMapRequestMode) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneMapRequestModeReply defines message 'show_one_map_request_mode_reply'.
+type ShowOneMapRequestModeReply struct {
+       Retval int32      `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Mode   OneMapMode `binapi:"one_map_mode,name=mode" json:"mode,omitempty"`
+}
+
+func (m *ShowOneMapRequestModeReply) Reset()               { *m = ShowOneMapRequestModeReply{} }
+func (*ShowOneMapRequestModeReply) GetMessageName() string { return "show_one_map_request_mode_reply" }
+func (*ShowOneMapRequestModeReply) GetCrcString() string   { return "d41f3c1d" }
+func (*ShowOneMapRequestModeReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneMapRequestModeReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 4 // m.Mode
+       return size
+}
+func (m *ShowOneMapRequestModeReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeUint32(uint32(m.Mode))
+       return buf.Bytes(), nil
+}
+func (m *ShowOneMapRequestModeReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Mode = OneMapMode(buf.DecodeUint32())
+       return nil
+}
+
+// ShowOneNshMapping defines message 'show_one_nsh_mapping'.
+type ShowOneNshMapping struct{}
+
+func (m *ShowOneNshMapping) Reset()               { *m = ShowOneNshMapping{} }
+func (*ShowOneNshMapping) GetMessageName() string { return "show_one_nsh_mapping" }
+func (*ShowOneNshMapping) GetCrcString() string   { return "51077d14" }
+func (*ShowOneNshMapping) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneNshMapping) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneNshMapping) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneNshMapping) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneNshMappingReply defines message 'show_one_nsh_mapping_reply'.
+type ShowOneNshMappingReply struct {
+       Retval         int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
+       IsSet          bool   `binapi:"bool,name=is_set" json:"is_set,omitempty"`
+       LocatorSetName string `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
+}
+
+func (m *ShowOneNshMappingReply) Reset()               { *m = ShowOneNshMappingReply{} }
+func (*ShowOneNshMappingReply) GetMessageName() string { return "show_one_nsh_mapping_reply" }
+func (*ShowOneNshMappingReply) GetCrcString() string   { return "46478c02" }
+func (*ShowOneNshMappingReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneNshMappingReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4  // m.Retval
+       size += 1  // m.IsSet
+       size += 64 // m.LocatorSetName
+       return size
+}
+func (m *ShowOneNshMappingReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.IsSet)
+       buf.EncodeString(m.LocatorSetName, 64)
+       return buf.Bytes(), nil
+}
+func (m *ShowOneNshMappingReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.IsSet = buf.DecodeBool()
+       m.LocatorSetName = buf.DecodeString(64)
+       return nil
+}
+
+// ShowOnePitr defines message 'show_one_pitr'.
+type ShowOnePitr struct{}
+
+func (m *ShowOnePitr) Reset()               { *m = ShowOnePitr{} }
+func (*ShowOnePitr) GetMessageName() string { return "show_one_pitr" }
+func (*ShowOnePitr) GetCrcString() string   { return "51077d14" }
+func (*ShowOnePitr) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOnePitr) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOnePitr) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOnePitr) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOnePitrReply defines message 'show_one_pitr_reply'.
+type ShowOnePitrReply struct {
+       Retval         int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Status         bool   `binapi:"bool,name=status" json:"status,omitempty"`
+       LocatorSetName string `binapi:"string[64],name=locator_set_name" json:"locator_set_name,omitempty"`
+}
+
+func (m *ShowOnePitrReply) Reset()               { *m = ShowOnePitrReply{} }
+func (*ShowOnePitrReply) GetMessageName() string { return "show_one_pitr_reply" }
+func (*ShowOnePitrReply) GetCrcString() string   { return "a2d1a49f" }
+func (*ShowOnePitrReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOnePitrReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4  // m.Retval
+       size += 1  // m.Status
+       size += 64 // m.LocatorSetName
+       return size
+}
+func (m *ShowOnePitrReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.Status)
+       buf.EncodeString(m.LocatorSetName, 64)
+       return buf.Bytes(), nil
+}
+func (m *ShowOnePitrReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Status = buf.DecodeBool()
+       m.LocatorSetName = buf.DecodeString(64)
+       return nil
+}
+
+// ShowOneRlocProbeState defines message 'show_one_rloc_probe_state'.
+type ShowOneRlocProbeState struct{}
+
+func (m *ShowOneRlocProbeState) Reset()               { *m = ShowOneRlocProbeState{} }
+func (*ShowOneRlocProbeState) GetMessageName() string { return "show_one_rloc_probe_state" }
+func (*ShowOneRlocProbeState) GetCrcString() string   { return "51077d14" }
+func (*ShowOneRlocProbeState) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneRlocProbeState) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneRlocProbeState) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneRlocProbeState) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneRlocProbeStateReply defines message 'show_one_rloc_probe_state_reply'.
+type ShowOneRlocProbeStateReply struct {
+       Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+       IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
+}
+
+func (m *ShowOneRlocProbeStateReply) Reset()               { *m = ShowOneRlocProbeStateReply{} }
+func (*ShowOneRlocProbeStateReply) GetMessageName() string { return "show_one_rloc_probe_state_reply" }
+func (*ShowOneRlocProbeStateReply) GetCrcString() string   { return "f15abb16" }
+func (*ShowOneRlocProbeStateReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneRlocProbeStateReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *ShowOneRlocProbeStateReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *ShowOneRlocProbeStateReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// ShowOneStatsEnableDisable defines message 'show_one_stats_enable_disable'.
+type ShowOneStatsEnableDisable struct{}
+
+func (m *ShowOneStatsEnableDisable) Reset()               { *m = ShowOneStatsEnableDisable{} }
+func (*ShowOneStatsEnableDisable) GetMessageName() string { return "show_one_stats_enable_disable" }
+func (*ShowOneStatsEnableDisable) GetCrcString() string   { return "51077d14" }
+func (*ShowOneStatsEnableDisable) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneStatsEnableDisable) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneStatsEnableDisable) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneStatsEnableDisable) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneStatsEnableDisableReply defines message 'show_one_stats_enable_disable_reply'.
+type ShowOneStatsEnableDisableReply struct {
+       Retval   int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+       IsEnable bool  `binapi:"bool,name=is_enable" json:"is_enable,omitempty"`
+}
+
+func (m *ShowOneStatsEnableDisableReply) Reset() { *m = ShowOneStatsEnableDisableReply{} }
+func (*ShowOneStatsEnableDisableReply) GetMessageName() string {
+       return "show_one_stats_enable_disable_reply"
+}
+func (*ShowOneStatsEnableDisableReply) GetCrcString() string { return "f15abb16" }
+func (*ShowOneStatsEnableDisableReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneStatsEnableDisableReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 1 // m.IsEnable
+       return size
+}
+func (m *ShowOneStatsEnableDisableReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.IsEnable)
+       return buf.Bytes(), nil
+}
+func (m *ShowOneStatsEnableDisableReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.IsEnable = buf.DecodeBool()
+       return nil
+}
+
+// ShowOneStatus defines message 'show_one_status'.
+type ShowOneStatus struct{}
+
+func (m *ShowOneStatus) Reset()               { *m = ShowOneStatus{} }
+func (*ShowOneStatus) GetMessageName() string { return "show_one_status" }
+func (*ShowOneStatus) GetCrcString() string   { return "51077d14" }
+func (*ShowOneStatus) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneStatus) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneStatus) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneStatus) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneStatusReply defines message 'show_one_status_reply'.
+type ShowOneStatusReply struct {
+       Retval        int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
+       FeatureStatus bool  `binapi:"bool,name=feature_status" json:"feature_status,omitempty"`
+       GpeStatus     bool  `binapi:"bool,name=gpe_status" json:"gpe_status,omitempty"`
+}
+
+func (m *ShowOneStatusReply) Reset()               { *m = ShowOneStatusReply{} }
+func (*ShowOneStatusReply) GetMessageName() string { return "show_one_status_reply" }
+func (*ShowOneStatusReply) GetCrcString() string   { return "961bb25b" }
+func (*ShowOneStatusReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneStatusReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4 // m.Retval
+       size += 1 // m.FeatureStatus
+       size += 1 // m.GpeStatus
+       return size
+}
+func (m *ShowOneStatusReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.FeatureStatus)
+       buf.EncodeBool(m.GpeStatus)
+       return buf.Bytes(), nil
+}
+func (m *ShowOneStatusReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.FeatureStatus = buf.DecodeBool()
+       m.GpeStatus = buf.DecodeBool()
+       return nil
+}
+
+// ShowOneUsePetr defines message 'show_one_use_petr'.
+type ShowOneUsePetr struct{}
+
+func (m *ShowOneUsePetr) Reset()               { *m = ShowOneUsePetr{} }
+func (*ShowOneUsePetr) GetMessageName() string { return "show_one_use_petr" }
+func (*ShowOneUsePetr) GetCrcString() string   { return "51077d14" }
+func (*ShowOneUsePetr) GetMessageType() api.MessageType {
+       return api.RequestMessage
+}
+
+func (m *ShowOneUsePetr) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       return size
+}
+func (m *ShowOneUsePetr) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       return buf.Bytes(), nil
+}
+func (m *ShowOneUsePetr) Unmarshal(b []byte) error {
+       return nil
+}
+
+// ShowOneUsePetrReply defines message 'show_one_use_petr_reply'.
+type ShowOneUsePetrReply struct {
+       Retval    int32            `binapi:"i32,name=retval" json:"retval,omitempty"`
+       Status    bool             `binapi:"bool,name=status" json:"status,omitempty"`
+       IPAddress ip_types.Address `binapi:"address,name=ip_address" json:"ip_address,omitempty"`
+}
+
+func (m *ShowOneUsePetrReply) Reset()               { *m = ShowOneUsePetrReply{} }
+func (*ShowOneUsePetrReply) GetMessageName() string { return "show_one_use_petr_reply" }
+func (*ShowOneUsePetrReply) GetCrcString() string   { return "10e744a6" }
+func (*ShowOneUsePetrReply) GetMessageType() api.MessageType {
+       return api.ReplyMessage
+}
+
+func (m *ShowOneUsePetrReply) Size() int {
+       if m == nil {
+               return 0
+       }
+       var size int
+       size += 4      // m.Retval
+       size += 1      // m.Status
+       size += 1      // m.IPAddress.Af
+       size += 1 * 16 // m.IPAddress.Un
+       return size
+}
+func (m *ShowOneUsePetrReply) Marshal(b []byte) ([]byte, error) {
+       var buf *codec.Buffer
+       if b == nil {
+               buf = codec.NewBuffer(make([]byte, m.Size()))
+       } else {
+               buf = codec.NewBuffer(b)
+       }
+       buf.EncodeUint32(uint32(m.Retval))
+       buf.EncodeBool(m.Status)
+       buf.EncodeUint8(uint8(m.IPAddress.Af))
+       buf.EncodeBytes(m.IPAddress.Un.XXX_UnionData[:], 0)
+       return buf.Bytes(), nil
+}
+func (m *ShowOneUsePetrReply) Unmarshal(b []byte) error {
+       buf := codec.NewBuffer(b)
+       m.Retval = int32(buf.DecodeUint32())
+       m.Status = buf.DecodeBool()
+       m.IPAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
+       copy(m.IPAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
+       return nil
+}
+
+func init() { file_one_binapi_init() }
+func file_one_binapi_init() {
+       api.RegisterMessage((*OneAddDelAdjacency)(nil), "one_add_del_adjacency_e48e7afe")
+       api.RegisterMessage((*OneAddDelAdjacencyReply)(nil), "one_add_del_adjacency_reply_e8d4e804")
+       api.RegisterMessage((*OneAddDelL2ArpEntry)(nil), "one_add_del_l2_arp_entry_33209078")
+       api.RegisterMessage((*OneAddDelL2ArpEntryReply)(nil), "one_add_del_l2_arp_entry_reply_e8d4e804")
+       api.RegisterMessage((*OneAddDelLocalEid)(nil), "one_add_del_local_eid_21f573bd")
+       api.RegisterMessage((*OneAddDelLocalEidReply)(nil), "one_add_del_local_eid_reply_e8d4e804")
+       api.RegisterMessage((*OneAddDelLocator)(nil), "one_add_del_locator_af4d8f13")
+       api.RegisterMessage((*OneAddDelLocatorReply)(nil), "one_add_del_locator_reply_e8d4e804")
+       api.RegisterMessage((*OneAddDelLocatorSet)(nil), "one_add_del_locator_set_6fcd6471")
+       api.RegisterMessage((*OneAddDelLocatorSetReply)(nil), "one_add_del_locator_set_reply_b6666db4")
+       api.RegisterMessage((*OneAddDelMapRequestItrRlocs)(nil), "one_add_del_map_request_itr_rlocs_6be88e45")
+       api.RegisterMessage((*OneAddDelMapRequestItrRlocsReply)(nil), "one_add_del_map_request_itr_rlocs_reply_e8d4e804")
+       api.RegisterMessage((*OneAddDelMapResolver)(nil), "one_add_del_map_resolver_6598ea7c")
+       api.RegisterMessage((*OneAddDelMapResolverReply)(nil), "one_add_del_map_resolver_reply_e8d4e804")
+       api.RegisterMessage((*OneAddDelMapServer)(nil), "one_add_del_map_server_6598ea7c")
+       api.RegisterMessage((*OneAddDelMapServerReply)(nil), "one_add_del_map_server_reply_e8d4e804")
+       api.RegisterMessage((*OneAddDelNdpEntry)(nil), "one_add_del_ndp_entry_d1629a2f")
+       api.RegisterMessage((*OneAddDelNdpEntryReply)(nil), "one_add_del_ndp_entry_reply_e8d4e804")
+       api.RegisterMessage((*OneAddDelRemoteMapping)(nil), "one_add_del_remote_mapping_fae8ed77")
+       api.RegisterMessage((*OneAddDelRemoteMappingReply)(nil), "one_add_del_remote_mapping_reply_e8d4e804")
+       api.RegisterMessage((*OneAdjacenciesGet)(nil), "one_adjacencies_get_8d1f2fe9")
+       api.RegisterMessage((*OneAdjacenciesGetReply)(nil), "one_adjacencies_get_reply_a8ed89a5")
+       api.RegisterMessage((*OneEidTableAddDelMap)(nil), "one_eid_table_add_del_map_9481416b")
+       api.RegisterMessage((*OneEidTableAddDelMapReply)(nil), "one_eid_table_add_del_map_reply_e8d4e804")
+       api.RegisterMessage((*OneEidTableDetails)(nil), "one_eid_table_details_4bc32e3a")
+       api.RegisterMessage((*OneEidTableDump)(nil), "one_eid_table_dump_95151038")
+       api.RegisterMessage((*OneEidTableMapDetails)(nil), "one_eid_table_map_details_0b6859e2")
+       api.RegisterMessage((*OneEidTableMapDump)(nil), "one_eid_table_map_dump_d6cf0c3d")
+       api.RegisterMessage((*OneEidTableVniDetails)(nil), "one_eid_table_vni_details_64abc01e")
+       api.RegisterMessage((*OneEidTableVniDump)(nil), "one_eid_table_vni_dump_51077d14")
+       api.RegisterMessage((*OneEnableDisable)(nil), "one_enable_disable_c264d7bf")
+       api.RegisterMessage((*OneEnableDisablePetrMode)(nil), "one_enable_disable_petr_mode_c264d7bf")
+       api.RegisterMessage((*OneEnableDisablePetrModeReply)(nil), "one_enable_disable_petr_mode_reply_e8d4e804")
+       api.RegisterMessage((*OneEnableDisablePitrMode)(nil), "one_enable_disable_pitr_mode_c264d7bf")
+       api.RegisterMessage((*OneEnableDisablePitrModeReply)(nil), "one_enable_disable_pitr_mode_reply_e8d4e804")
+       api.RegisterMessage((*OneEnableDisableReply)(nil), "one_enable_disable_reply_e8d4e804")
+       api.RegisterMessage((*OneEnableDisableXtrMode)(nil), "one_enable_disable_xtr_mode_c264d7bf")
+       api.RegisterMessage((*OneEnableDisableXtrModeReply)(nil), "one_enable_disable_xtr_mode_reply_e8d4e804")
+       api.RegisterMessage((*OneGetMapRequestItrRlocs)(nil), "one_get_map_request_itr_rlocs_51077d14")
+       api.RegisterMessage((*OneGetMapRequestItrRlocsReply)(nil), "one_get_map_request_itr_rlocs_reply_76580f3a")
+       api.RegisterMessage((*OneGetTransportProtocol)(nil), "one_get_transport_protocol_51077d14")
+       api.RegisterMessage((*OneGetTransportProtocolReply)(nil), "one_get_transport_protocol_reply_62a28eb3")
+       api.RegisterMessage((*OneL2ArpBdGet)(nil), "one_l2_arp_bd_get_51077d14")
+       api.RegisterMessage((*OneL2ArpBdGetReply)(nil), "one_l2_arp_bd_get_reply_221ac888")
+       api.RegisterMessage((*OneL2ArpEntriesGet)(nil), "one_l2_arp_entries_get_4d418cf4")
+       api.RegisterMessage((*OneL2ArpEntriesGetReply)(nil), "one_l2_arp_entries_get_reply_b0a47bbe")
+       api.RegisterMessage((*OneLocatorDetails)(nil), "one_locator_details_c0c4c2a7")
+       api.RegisterMessage((*OneLocatorDump)(nil), "one_locator_dump_9b11076c")
+       api.RegisterMessage((*OneLocatorSetDetails)(nil), "one_locator_set_details_5b33a105")
+       api.RegisterMessage((*OneLocatorSetDump)(nil), "one_locator_set_dump_71190768")
+       api.RegisterMessage((*OneMapRegisterEnableDisable)(nil), "one_map_register_enable_disable_c264d7bf")
+       api.RegisterMessage((*OneMapRegisterEnableDisableReply)(nil), "one_map_register_enable_disable_reply_e8d4e804")
+       api.RegisterMessage((*OneMapRegisterFallbackThreshold)(nil), "one_map_register_fallback_threshold_f7d4a475")
+       api.RegisterMessage((*OneMapRegisterFallbackThresholdReply)(nil), "one_map_register_fallback_threshold_reply_e8d4e804")
+       api.RegisterMessage((*OneMapRegisterSetTTL)(nil), "one_map_register_set_ttl_dd59f1f3")
+       api.RegisterMessage((*OneMapRegisterSetTTLReply)(nil), "one_map_register_set_ttl_reply_e8d4e804")
+       api.RegisterMessage((*OneMapRequestMode)(nil), "one_map_request_mode_ffa5d2f5")
+       api.RegisterMessage((*OneMapRequestModeReply)(nil), "one_map_request_mode_reply_e8d4e804")
+       api.RegisterMessage((*OneMapResolverDetails)(nil), "one_map_resolver_details_82a09deb")
+       api.RegisterMessage((*OneMapResolverDump)(nil), "one_map_resolver_dump_51077d14")
+       api.RegisterMessage((*OneMapServerDetails)(nil), "one_map_server_details_82a09deb")
+       api.RegisterMessage((*OneMapServerDump)(nil), "one_map_server_dump_51077d14")
+       api.RegisterMessage((*OneNdpBdGet)(nil), "one_ndp_bd_get_51077d14")
+       api.RegisterMessage((*OneNdpBdGetReply)(nil), "one_ndp_bd_get_reply_221ac888")
+       api.RegisterMessage((*OneNdpEntriesGet)(nil), "one_ndp_entries_get_4d418cf4")
+       api.RegisterMessage((*OneNdpEntriesGetReply)(nil), "one_ndp_entries_get_reply_0bd34161")
+       api.RegisterMessage((*OneNshSetLocatorSet)(nil), "one_nsh_set_locator_set_486e2b76")
+       api.RegisterMessage((*OneNshSetLocatorSetReply)(nil), "one_nsh_set_locator_set_reply_e8d4e804")
+       api.RegisterMessage((*OnePitrSetLocatorSet)(nil), "one_pitr_set_locator_set_486e2b76")
+       api.RegisterMessage((*OnePitrSetLocatorSetReply)(nil), "one_pitr_set_locator_set_reply_e8d4e804")
+       api.RegisterMessage((*OneRlocProbeEnableDisable)(nil), "one_rloc_probe_enable_disable_c264d7bf")
+       api.RegisterMessage((*OneRlocProbeEnableDisableReply)(nil), "one_rloc_probe_enable_disable_reply_e8d4e804")
+       api.RegisterMessage((*OneSetTransportProtocol)(nil), "one_set_transport_protocol_07b6b85f")
+       api.RegisterMessage((*OneSetTransportProtocolReply)(nil), "one_set_transport_protocol_reply_e8d4e804")
+       api.RegisterMessage((*OneShowPetrMode)(nil), "one_show_petr_mode_51077d14")
+       api.RegisterMessage((*OneShowPetrModeReply)(nil), "one_show_petr_mode_reply_f15abb16")
+       api.RegisterMessage((*OneShowPitrMode)(nil), "one_show_pitr_mode_51077d14")
+       api.RegisterMessage((*OneShowPitrModeReply)(nil), "one_show_pitr_mode_reply_f15abb16")
+       api.RegisterMessage((*OneShowXtrMode)(nil), "one_show_xtr_mode_51077d14")
+       api.RegisterMessage((*OneShowXtrModeReply)(nil), "one_show_xtr_mode_reply_f15abb16")
+       api.RegisterMessage((*OneStatsDetails)(nil), "one_stats_details_ff6ef238")
+       api.RegisterMessage((*OneStatsDump)(nil), "one_stats_dump_51077d14")
+       api.RegisterMessage((*OneStatsEnableDisable)(nil), "one_stats_enable_disable_c264d7bf")
+       api.RegisterMessage((*OneStatsEnableDisableReply)(nil), "one_stats_enable_disable_reply_e8d4e804")
+       api.RegisterMessage((*OneStatsFlush)(nil), "one_stats_flush_51077d14")
+       api.RegisterMessage((*OneStatsFlushReply)(nil), "one_stats_flush_reply_e8d4e804")
+       api.RegisterMessage((*OneUsePetr)(nil), "one_use_petr_9e141831")
+       api.RegisterMessage((*OneUsePetrReply)(nil), "one_use_petr_reply_e8d4e804")
+       api.RegisterMessage((*ShowOneMapRegisterFallbackThreshold)(nil), "show_one_map_register_fallback_threshold_51077d14")
+       api.RegisterMessage((*ShowOneMapRegisterFallbackThresholdReply)(nil), "show_one_map_register_fallback_threshold_reply_c93a9113")
+       api.RegisterMessage((*ShowOneMapRegisterState)(nil), "show_one_map_register_state_51077d14")
+       api.RegisterMessage((*ShowOneMapRegisterStateReply)(nil), "show_one_map_register_state_reply_f15abb16")
+       api.RegisterMessage((*ShowOneMapRegisterTTL)(nil), "show_one_map_register_ttl_51077d14")
+       api.RegisterMessage((*ShowOneMapRegisterTTLReply)(nil), "show_one_map_register_ttl_reply_fa83dd66")
+       api.RegisterMessage((*ShowOneMapRequestMode)(nil), "show_one_map_request_mode_51077d14")
+       api.RegisterMessage((*ShowOneMapRequestModeReply)(nil), "show_one_map_request_mode_reply_d41f3c1d")
+       api.RegisterMessage((*ShowOneNshMapping)(nil), "show_one_nsh_mapping_51077d14")
+       api.RegisterMessage((*ShowOneNshMappingReply)(nil), "show_one_nsh_mapping_reply_46478c02")
+       api.RegisterMessage((*ShowOnePitr)(nil), "show_one_pitr_51077d14")
+       api.RegisterMessage((*ShowOnePitrReply)(nil), "show_one_pitr_reply_a2d1a49f")
+       api.RegisterMessage((*ShowOneRlocProbeState)(nil), "show_one_rloc_probe_state_51077d14")
+       api.RegisterMessage((*ShowOneRlocProbeStateReply)(nil), "show_one_rloc_probe_state_reply_f15abb16")
+       api.RegisterMessage((*ShowOneStatsEnableDisable)(nil), "show_one_stats_enable_disable_51077d14")
+       api.RegisterMessage((*ShowOneStatsEnableDisableReply)(nil), "show_one_stats_enable_disable_reply_f15abb16")
+       api.RegisterMessage((*ShowOneStatus)(nil), "show_one_status_51077d14")
+       api.RegisterMessage((*ShowOneStatusReply)(nil), "show_one_status_reply_961bb25b")
+       api.RegisterMessage((*ShowOneUsePetr)(nil), "show_one_use_petr_51077d14")
+       api.RegisterMessage((*ShowOneUsePetrReply)(nil), "show_one_use_petr_reply_10e744a6")
+}
+
+// Messages returns list of all messages in this module.
+func AllMessages() []api.Message {
+       return []api.Message{
+               (*OneAddDelAdjacency)(nil),
+               (*OneAddDelAdjacencyReply)(nil),
+               (*OneAddDelL2ArpEntry)(nil),
+               (*OneAddDelL2ArpEntryReply)(nil),
+               (*OneAddDelLocalEid)(nil),
+               (*OneAddDelLocalEidReply)(nil),
+               (*OneAddDelLocator)(nil),
+               (*OneAddDelLocatorReply)(nil),
+               (*OneAddDelLocatorSet)(nil),
+               (*OneAddDelLocatorSetReply)(nil),
+               (*OneAddDelMapRequestItrRlocs)(nil),
+               (*OneAddDelMapRequestItrRlocsReply)(nil),
+               (*OneAddDelMapResolver)(nil),
+               (*OneAddDelMapResolverReply)(nil),
+               (*OneAddDelMapServer)(nil),
+               (*OneAddDelMapServerReply)(nil),
+               (*OneAddDelNdpEntry)(nil),
+               (*OneAddDelNdpEntryReply)(nil),
+               (*OneAddDelRemoteMapping)(nil),
+               (*OneAddDelRemoteMappingReply)(nil),
+               (*OneAdjacenciesGet)(nil),
+               (*OneAdjacenciesGetReply)(nil),
+               (*OneEidTableAddDelMap)(nil),
+               (*OneEidTableAddDelMapReply)(nil),
+               (*OneEidTableDetails)(nil),
+               (*OneEidTableDump)(nil),
+               (*OneEidTableMapDetails)(nil),
+               (*OneEidTableMapDump)(nil),
+               (*OneEidTableVniDetails)(nil),
+               (*OneEidTableVniDump)(nil),
+               (*OneEnableDisable)(nil),
+               (*OneEnableDisablePetrMode)(nil),
+               (*OneEnableDisablePetrModeReply)(nil),
+               (*OneEnableDisablePitrMode)(nil),
+               (*OneEnableDisablePitrModeReply)(nil),
+               (*OneEnableDisableReply)(nil),
+               (*OneEnableDisableXtrMode)(nil),
+               (*OneEnableDisableXtrModeReply)(nil),
+               (*OneGetMapRequestItrRlocs)(nil),
+               (*OneGetMapRequestItrRlocsReply)(nil),
+               (*OneGetTransportProtocol)(nil),
+               (*OneGetTransportProtocolReply)(nil),
+               (*OneL2ArpBdGet)(nil),
+               (*OneL2ArpBdGetReply)(nil),
+               (*OneL2ArpEntriesGet)(nil),
+               (*OneL2ArpEntriesGetReply)(nil),
+               (*OneLocatorDetails)(nil),
+               (*OneLocatorDump)(nil),
+               (*OneLocatorSetDetails)(nil),
+               (*OneLocatorSetDump)(nil),
+               (*OneMapRegisterEnableDisable)(nil),
+               (*OneMapRegisterEnableDisableReply)(nil),
+               (*OneMapRegisterFallbackThreshold)(nil),
+               (*OneMapRegisterFallbackThresholdReply)(nil),
+               (*OneMapRegisterSetTTL)(nil),
+               (*OneMapRegisterSetTTLReply)(nil),
+               (*OneMapRequestMode)(nil),
+               (*OneMapRequestModeReply)(nil),
+               (*OneMapResolverDetails)(nil),
+               (*OneMapResolverDump)(nil),
+               (*OneMapServerDetails)(nil),
+               (*OneMapServerDump)(nil),
+               (*OneNdpBdGet)(nil),
+               (*OneNdpBdGetReply)(nil),
+               (*OneNdpEntriesGet)(nil),
+               (*OneNdpEntriesGetReply)(nil),
+               (*OneNshSetLocatorSet)(nil),
+               (*OneNshSetLocatorSetReply)(nil),
+               (*OnePitrSetLocatorSet)(nil),
+               (*OnePitrSetLocatorSetReply)(nil),
+               (*OneRlocProbeEnableDisable)(nil),
+               (*OneRlocProbeEnableDisableReply)(nil),
+               (*OneSetTransportProtocol)(nil),
+               (*OneSetTransportProtocolReply)(nil),
+               (*OneShowPetrMode)(nil),
+               (*OneShowPetrModeReply)(nil),
+               (*OneShowPitrMode)(nil),
+               (*OneShowPitrModeReply)(nil),
+               (*OneShowXtrMode)(nil),
+               (*OneShowXtrModeReply)(nil),
+               (*OneStatsDetails)(nil),
+               (*OneStatsDump)(nil),
+               (*OneStatsEnableDisable)(nil),
+               (*OneStatsEnableDisableReply)(nil),
+               (*OneStatsFlush)(nil),
+               (*OneStatsFlushReply)(nil),
+               (*OneUsePetr)(nil),
+               (*OneUsePetrReply)(nil),
+               (*ShowOneMapRegisterFallbackThreshold)(nil),
+               (*ShowOneMapRegisterFallbackThresholdReply)(nil),
+               (*ShowOneMapRegisterState)(nil),
+               (*ShowOneMapRegisterStateReply)(nil),
+               (*ShowOneMapRegisterTTL)(nil),
+               (*ShowOneMapRegisterTTLReply)(nil),
+               (*ShowOneMapRequestMode)(nil),
+               (*ShowOneMapRequestModeReply)(nil),
+               (*ShowOneNshMapping)(nil),
+               (*ShowOneNshMappingReply)(nil),
+               (*ShowOnePitr)(nil),
+               (*ShowOnePitrReply)(nil),
+               (*ShowOneRlocProbeState)(nil),
+               (*ShowOneRlocProbeStateReply)(nil),
+               (*ShowOneStatsEnableDisable)(nil),
+               (*ShowOneStatsEnableDisableReply)(nil),
+               (*ShowOneStatus)(nil),
+               (*ShowOneStatusReply)(nil),
+               (*ShowOneUsePetr)(nil),
+               (*ShowOneUsePetrReply)(nil),
+       }
+}