1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
3 // binapi-generator: v0.4.0-dev
5 // source: .vppapi/core/lisp.api.json
7 // Package lisp contains generated bindings for API file lisp.api.
16 api "git.fd.io/govpp.git/api"
17 codec "git.fd.io/govpp.git/codec"
20 // This is a compile-time assertion to ensure that this generated file
21 // is compatible with the GoVPP api package it is being compiled against.
22 // A compilation error at this line likely means your copy of the
23 // GoVPP api package needs to be updated.
24 const _ = api.GoVppAPIPackageIsVersion2
29 VersionCrc = 0x681568f8
32 // LispAdjacency defines type 'lisp_adjacency'.
33 type LispAdjacency struct {
34 EidType uint8 `binapi:"u8,name=eid_type" json:"eid_type,omitempty"`
35 Reid []byte `binapi:"u8[16],name=reid" json:"reid,omitempty"`
36 Leid []byte `binapi:"u8[16],name=leid" json:"leid,omitempty"`
37 ReidPrefixLen uint8 `binapi:"u8,name=reid_prefix_len" json:"reid_prefix_len,omitempty"`
38 LeidPrefixLen uint8 `binapi:"u8,name=leid_prefix_len" json:"leid_prefix_len,omitempty"`
41 // LocalLocator defines type 'local_locator'.
42 type LocalLocator struct {
43 SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
44 Priority uint8 `binapi:"u8,name=priority" json:"priority,omitempty"`
45 Weight uint8 `binapi:"u8,name=weight" json:"weight,omitempty"`
48 // RemoteLocator defines type 'remote_locator'.
49 type RemoteLocator struct {
50 IsIP4 uint8 `binapi:"u8,name=is_ip4" json:"is_ip4,omitempty"`
51 Priority uint8 `binapi:"u8,name=priority" json:"priority,omitempty"`
52 Weight uint8 `binapi:"u8,name=weight" json:"weight,omitempty"`
53 Addr []byte `binapi:"u8[16],name=addr" json:"addr,omitempty"`
56 // LispAddDelAdjacency defines message 'lisp_add_del_adjacency'.
57 type LispAddDelAdjacency struct {
58 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
59 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
60 EidType uint8 `binapi:"u8,name=eid_type" json:"eid_type,omitempty"`
61 Reid []byte `binapi:"u8[16],name=reid" json:"reid,omitempty"`
62 Leid []byte `binapi:"u8[16],name=leid" json:"leid,omitempty"`
63 ReidLen uint8 `binapi:"u8,name=reid_len" json:"reid_len,omitempty"`
64 LeidLen uint8 `binapi:"u8,name=leid_len" json:"leid_len,omitempty"`
67 func (m *LispAddDelAdjacency) Reset() { *m = LispAddDelAdjacency{} }
68 func (*LispAddDelAdjacency) GetMessageName() string { return "lisp_add_del_adjacency" }
69 func (*LispAddDelAdjacency) GetCrcString() string { return "f047390d" }
70 func (*LispAddDelAdjacency) GetMessageType() api.MessageType {
71 return api.RequestMessage
74 func (m *LispAddDelAdjacency) Size() (size int) {
80 size += 1 // m.EidType
81 size += 1 * 16 // m.Reid
82 size += 1 * 16 // m.Leid
83 size += 1 // m.ReidLen
84 size += 1 // m.LeidLen
87 func (m *LispAddDelAdjacency) Marshal(b []byte) ([]byte, error) {
89 b = make([]byte, m.Size())
91 buf := codec.NewBuffer(b)
92 buf.EncodeUint8(m.IsAdd)
93 buf.EncodeUint32(m.Vni)
94 buf.EncodeUint8(m.EidType)
95 buf.EncodeBytes(m.Reid, 16)
96 buf.EncodeBytes(m.Leid, 16)
97 buf.EncodeUint8(m.ReidLen)
98 buf.EncodeUint8(m.LeidLen)
99 return buf.Bytes(), nil
101 func (m *LispAddDelAdjacency) Unmarshal(b []byte) error {
102 buf := codec.NewBuffer(b)
103 m.IsAdd = buf.DecodeUint8()
104 m.Vni = buf.DecodeUint32()
105 m.EidType = buf.DecodeUint8()
106 m.Reid = make([]byte, 16)
107 copy(m.Reid, buf.DecodeBytes(len(m.Reid)))
108 m.Leid = make([]byte, 16)
109 copy(m.Leid, buf.DecodeBytes(len(m.Leid)))
110 m.ReidLen = buf.DecodeUint8()
111 m.LeidLen = buf.DecodeUint8()
115 // LispAddDelAdjacencyReply defines message 'lisp_add_del_adjacency_reply'.
116 type LispAddDelAdjacencyReply struct {
117 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
120 func (m *LispAddDelAdjacencyReply) Reset() { *m = LispAddDelAdjacencyReply{} }
121 func (*LispAddDelAdjacencyReply) GetMessageName() string { return "lisp_add_del_adjacency_reply" }
122 func (*LispAddDelAdjacencyReply) GetCrcString() string { return "e8d4e804" }
123 func (*LispAddDelAdjacencyReply) GetMessageType() api.MessageType {
124 return api.ReplyMessage
127 func (m *LispAddDelAdjacencyReply) Size() (size int) {
131 size += 4 // m.Retval
134 func (m *LispAddDelAdjacencyReply) Marshal(b []byte) ([]byte, error) {
136 b = make([]byte, m.Size())
138 buf := codec.NewBuffer(b)
139 buf.EncodeInt32(m.Retval)
140 return buf.Bytes(), nil
142 func (m *LispAddDelAdjacencyReply) Unmarshal(b []byte) error {
143 buf := codec.NewBuffer(b)
144 m.Retval = buf.DecodeInt32()
148 // LispAddDelLocalEid defines message 'lisp_add_del_local_eid'.
149 type LispAddDelLocalEid struct {
150 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
151 EidType uint8 `binapi:"u8,name=eid_type" json:"eid_type,omitempty"`
152 Eid []byte `binapi:"u8[16],name=eid" json:"eid,omitempty"`
153 PrefixLen uint8 `binapi:"u8,name=prefix_len" json:"prefix_len,omitempty"`
154 LocatorSetName []byte `binapi:"u8[64],name=locator_set_name" json:"locator_set_name,omitempty"`
155 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
156 KeyID uint16 `binapi:"u16,name=key_id" json:"key_id,omitempty"`
157 Key []byte `binapi:"u8[64],name=key" json:"key,omitempty"`
160 func (m *LispAddDelLocalEid) Reset() { *m = LispAddDelLocalEid{} }
161 func (*LispAddDelLocalEid) GetMessageName() string { return "lisp_add_del_local_eid" }
162 func (*LispAddDelLocalEid) GetCrcString() string { return "e6d00717" }
163 func (*LispAddDelLocalEid) GetMessageType() api.MessageType {
164 return api.RequestMessage
167 func (m *LispAddDelLocalEid) Size() (size int) {
172 size += 1 // m.EidType
173 size += 1 * 16 // m.Eid
174 size += 1 // m.PrefixLen
175 size += 1 * 64 // m.LocatorSetName
178 size += 1 * 64 // m.Key
181 func (m *LispAddDelLocalEid) Marshal(b []byte) ([]byte, error) {
183 b = make([]byte, m.Size())
185 buf := codec.NewBuffer(b)
186 buf.EncodeUint8(m.IsAdd)
187 buf.EncodeUint8(m.EidType)
188 buf.EncodeBytes(m.Eid, 16)
189 buf.EncodeUint8(m.PrefixLen)
190 buf.EncodeBytes(m.LocatorSetName, 64)
191 buf.EncodeUint32(m.Vni)
192 buf.EncodeUint16(m.KeyID)
193 buf.EncodeBytes(m.Key, 64)
194 return buf.Bytes(), nil
196 func (m *LispAddDelLocalEid) Unmarshal(b []byte) error {
197 buf := codec.NewBuffer(b)
198 m.IsAdd = buf.DecodeUint8()
199 m.EidType = buf.DecodeUint8()
200 m.Eid = make([]byte, 16)
201 copy(m.Eid, buf.DecodeBytes(len(m.Eid)))
202 m.PrefixLen = buf.DecodeUint8()
203 m.LocatorSetName = make([]byte, 64)
204 copy(m.LocatorSetName, buf.DecodeBytes(len(m.LocatorSetName)))
205 m.Vni = buf.DecodeUint32()
206 m.KeyID = buf.DecodeUint16()
207 m.Key = make([]byte, 64)
208 copy(m.Key, buf.DecodeBytes(len(m.Key)))
212 // LispAddDelLocalEidReply defines message 'lisp_add_del_local_eid_reply'.
213 type LispAddDelLocalEidReply struct {
214 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
217 func (m *LispAddDelLocalEidReply) Reset() { *m = LispAddDelLocalEidReply{} }
218 func (*LispAddDelLocalEidReply) GetMessageName() string { return "lisp_add_del_local_eid_reply" }
219 func (*LispAddDelLocalEidReply) GetCrcString() string { return "e8d4e804" }
220 func (*LispAddDelLocalEidReply) GetMessageType() api.MessageType {
221 return api.ReplyMessage
224 func (m *LispAddDelLocalEidReply) Size() (size int) {
228 size += 4 // m.Retval
231 func (m *LispAddDelLocalEidReply) Marshal(b []byte) ([]byte, error) {
233 b = make([]byte, m.Size())
235 buf := codec.NewBuffer(b)
236 buf.EncodeInt32(m.Retval)
237 return buf.Bytes(), nil
239 func (m *LispAddDelLocalEidReply) Unmarshal(b []byte) error {
240 buf := codec.NewBuffer(b)
241 m.Retval = buf.DecodeInt32()
245 // LispAddDelLocator defines message 'lisp_add_del_locator'.
246 type LispAddDelLocator struct {
247 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
248 LocatorSetName []byte `binapi:"u8[64],name=locator_set_name" json:"locator_set_name,omitempty"`
249 SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
250 Priority uint8 `binapi:"u8,name=priority" json:"priority,omitempty"`
251 Weight uint8 `binapi:"u8,name=weight" json:"weight,omitempty"`
254 func (m *LispAddDelLocator) Reset() { *m = LispAddDelLocator{} }
255 func (*LispAddDelLocator) GetMessageName() string { return "lisp_add_del_locator" }
256 func (*LispAddDelLocator) GetCrcString() string { return "006a4240" }
257 func (*LispAddDelLocator) GetMessageType() api.MessageType {
258 return api.RequestMessage
261 func (m *LispAddDelLocator) Size() (size int) {
266 size += 1 * 64 // m.LocatorSetName
267 size += 4 // m.SwIfIndex
268 size += 1 // m.Priority
269 size += 1 // m.Weight
272 func (m *LispAddDelLocator) Marshal(b []byte) ([]byte, error) {
274 b = make([]byte, m.Size())
276 buf := codec.NewBuffer(b)
277 buf.EncodeUint8(m.IsAdd)
278 buf.EncodeBytes(m.LocatorSetName, 64)
279 buf.EncodeUint32(m.SwIfIndex)
280 buf.EncodeUint8(m.Priority)
281 buf.EncodeUint8(m.Weight)
282 return buf.Bytes(), nil
284 func (m *LispAddDelLocator) Unmarshal(b []byte) error {
285 buf := codec.NewBuffer(b)
286 m.IsAdd = buf.DecodeUint8()
287 m.LocatorSetName = make([]byte, 64)
288 copy(m.LocatorSetName, buf.DecodeBytes(len(m.LocatorSetName)))
289 m.SwIfIndex = buf.DecodeUint32()
290 m.Priority = buf.DecodeUint8()
291 m.Weight = buf.DecodeUint8()
295 // LispAddDelLocatorReply defines message 'lisp_add_del_locator_reply'.
296 type LispAddDelLocatorReply struct {
297 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
300 func (m *LispAddDelLocatorReply) Reset() { *m = LispAddDelLocatorReply{} }
301 func (*LispAddDelLocatorReply) GetMessageName() string { return "lisp_add_del_locator_reply" }
302 func (*LispAddDelLocatorReply) GetCrcString() string { return "e8d4e804" }
303 func (*LispAddDelLocatorReply) GetMessageType() api.MessageType {
304 return api.ReplyMessage
307 func (m *LispAddDelLocatorReply) Size() (size int) {
311 size += 4 // m.Retval
314 func (m *LispAddDelLocatorReply) Marshal(b []byte) ([]byte, error) {
316 b = make([]byte, m.Size())
318 buf := codec.NewBuffer(b)
319 buf.EncodeInt32(m.Retval)
320 return buf.Bytes(), nil
322 func (m *LispAddDelLocatorReply) Unmarshal(b []byte) error {
323 buf := codec.NewBuffer(b)
324 m.Retval = buf.DecodeInt32()
328 // LispAddDelLocatorSet defines message 'lisp_add_del_locator_set'.
329 type LispAddDelLocatorSet struct {
330 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
331 LocatorSetName []byte `binapi:"u8[64],name=locator_set_name" json:"locator_set_name,omitempty"`
332 LocatorNum uint32 `binapi:"u32,name=locator_num" json:"-"`
333 Locators []LocalLocator `binapi:"local_locator[locator_num],name=locators" json:"locators,omitempty"`
336 func (m *LispAddDelLocatorSet) Reset() { *m = LispAddDelLocatorSet{} }
337 func (*LispAddDelLocatorSet) GetMessageName() string { return "lisp_add_del_locator_set" }
338 func (*LispAddDelLocatorSet) GetCrcString() string { return "06968e38" }
339 func (*LispAddDelLocatorSet) GetMessageType() api.MessageType {
340 return api.RequestMessage
343 func (m *LispAddDelLocatorSet) Size() (size int) {
348 size += 1 * 64 // m.LocatorSetName
349 size += 4 // m.LocatorNum
350 for j1 := 0; j1 < len(m.Locators); j1++ {
353 if j1 < len(m.Locators) {
356 size += 4 // s1.SwIfIndex
357 size += 1 // s1.Priority
358 size += 1 // s1.Weight
362 func (m *LispAddDelLocatorSet) Marshal(b []byte) ([]byte, error) {
364 b = make([]byte, m.Size())
366 buf := codec.NewBuffer(b)
367 buf.EncodeUint8(m.IsAdd)
368 buf.EncodeBytes(m.LocatorSetName, 64)
369 buf.EncodeUint32(uint32(len(m.Locators)))
370 for j0 := 0; j0 < len(m.Locators); j0++ {
371 var v0 LocalLocator // Locators
372 if j0 < len(m.Locators) {
375 buf.EncodeUint32(v0.SwIfIndex)
376 buf.EncodeUint8(v0.Priority)
377 buf.EncodeUint8(v0.Weight)
379 return buf.Bytes(), nil
381 func (m *LispAddDelLocatorSet) Unmarshal(b []byte) error {
382 buf := codec.NewBuffer(b)
383 m.IsAdd = buf.DecodeUint8()
384 m.LocatorSetName = make([]byte, 64)
385 copy(m.LocatorSetName, buf.DecodeBytes(len(m.LocatorSetName)))
386 m.LocatorNum = buf.DecodeUint32()
387 m.Locators = make([]LocalLocator, m.LocatorNum)
388 for j0 := 0; j0 < len(m.Locators); j0++ {
389 m.Locators[j0].SwIfIndex = buf.DecodeUint32()
390 m.Locators[j0].Priority = buf.DecodeUint8()
391 m.Locators[j0].Weight = buf.DecodeUint8()
396 // LispAddDelLocatorSetReply defines message 'lisp_add_del_locator_set_reply'.
397 type LispAddDelLocatorSetReply struct {
398 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
399 LsIndex uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
402 func (m *LispAddDelLocatorSetReply) Reset() { *m = LispAddDelLocatorSetReply{} }
403 func (*LispAddDelLocatorSetReply) GetMessageName() string { return "lisp_add_del_locator_set_reply" }
404 func (*LispAddDelLocatorSetReply) GetCrcString() string { return "b6666db4" }
405 func (*LispAddDelLocatorSetReply) GetMessageType() api.MessageType {
406 return api.ReplyMessage
409 func (m *LispAddDelLocatorSetReply) Size() (size int) {
413 size += 4 // m.Retval
414 size += 4 // m.LsIndex
417 func (m *LispAddDelLocatorSetReply) Marshal(b []byte) ([]byte, error) {
419 b = make([]byte, m.Size())
421 buf := codec.NewBuffer(b)
422 buf.EncodeInt32(m.Retval)
423 buf.EncodeUint32(m.LsIndex)
424 return buf.Bytes(), nil
426 func (m *LispAddDelLocatorSetReply) Unmarshal(b []byte) error {
427 buf := codec.NewBuffer(b)
428 m.Retval = buf.DecodeInt32()
429 m.LsIndex = buf.DecodeUint32()
433 // LispAddDelMapRequestItrRlocs defines message 'lisp_add_del_map_request_itr_rlocs'.
434 type LispAddDelMapRequestItrRlocs struct {
435 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
436 LocatorSetName []byte `binapi:"u8[64],name=locator_set_name" json:"locator_set_name,omitempty"`
439 func (m *LispAddDelMapRequestItrRlocs) Reset() { *m = LispAddDelMapRequestItrRlocs{} }
440 func (*LispAddDelMapRequestItrRlocs) GetMessageName() string {
441 return "lisp_add_del_map_request_itr_rlocs"
443 func (*LispAddDelMapRequestItrRlocs) GetCrcString() string { return "c7c6cb2f" }
444 func (*LispAddDelMapRequestItrRlocs) GetMessageType() api.MessageType {
445 return api.RequestMessage
448 func (m *LispAddDelMapRequestItrRlocs) Size() (size int) {
453 size += 1 * 64 // m.LocatorSetName
456 func (m *LispAddDelMapRequestItrRlocs) Marshal(b []byte) ([]byte, error) {
458 b = make([]byte, m.Size())
460 buf := codec.NewBuffer(b)
461 buf.EncodeUint8(m.IsAdd)
462 buf.EncodeBytes(m.LocatorSetName, 64)
463 return buf.Bytes(), nil
465 func (m *LispAddDelMapRequestItrRlocs) Unmarshal(b []byte) error {
466 buf := codec.NewBuffer(b)
467 m.IsAdd = buf.DecodeUint8()
468 m.LocatorSetName = make([]byte, 64)
469 copy(m.LocatorSetName, buf.DecodeBytes(len(m.LocatorSetName)))
473 // LispAddDelMapRequestItrRlocsReply defines message 'lisp_add_del_map_request_itr_rlocs_reply'.
474 type LispAddDelMapRequestItrRlocsReply struct {
475 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
478 func (m *LispAddDelMapRequestItrRlocsReply) Reset() { *m = LispAddDelMapRequestItrRlocsReply{} }
479 func (*LispAddDelMapRequestItrRlocsReply) GetMessageName() string {
480 return "lisp_add_del_map_request_itr_rlocs_reply"
482 func (*LispAddDelMapRequestItrRlocsReply) GetCrcString() string { return "e8d4e804" }
483 func (*LispAddDelMapRequestItrRlocsReply) GetMessageType() api.MessageType {
484 return api.ReplyMessage
487 func (m *LispAddDelMapRequestItrRlocsReply) Size() (size int) {
491 size += 4 // m.Retval
494 func (m *LispAddDelMapRequestItrRlocsReply) Marshal(b []byte) ([]byte, error) {
496 b = make([]byte, m.Size())
498 buf := codec.NewBuffer(b)
499 buf.EncodeInt32(m.Retval)
500 return buf.Bytes(), nil
502 func (m *LispAddDelMapRequestItrRlocsReply) Unmarshal(b []byte) error {
503 buf := codec.NewBuffer(b)
504 m.Retval = buf.DecodeInt32()
508 // LispAddDelMapResolver defines message 'lisp_add_del_map_resolver'.
509 type LispAddDelMapResolver struct {
510 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
511 IsIPv6 uint8 `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
512 IPAddress []byte `binapi:"u8[16],name=ip_address" json:"ip_address,omitempty"`
515 func (m *LispAddDelMapResolver) Reset() { *m = LispAddDelMapResolver{} }
516 func (*LispAddDelMapResolver) GetMessageName() string { return "lisp_add_del_map_resolver" }
517 func (*LispAddDelMapResolver) GetCrcString() string { return "0ebcd37d" }
518 func (*LispAddDelMapResolver) GetMessageType() api.MessageType {
519 return api.RequestMessage
522 func (m *LispAddDelMapResolver) Size() (size int) {
527 size += 1 // m.IsIPv6
528 size += 1 * 16 // m.IPAddress
531 func (m *LispAddDelMapResolver) Marshal(b []byte) ([]byte, error) {
533 b = make([]byte, m.Size())
535 buf := codec.NewBuffer(b)
536 buf.EncodeUint8(m.IsAdd)
537 buf.EncodeUint8(m.IsIPv6)
538 buf.EncodeBytes(m.IPAddress, 16)
539 return buf.Bytes(), nil
541 func (m *LispAddDelMapResolver) Unmarshal(b []byte) error {
542 buf := codec.NewBuffer(b)
543 m.IsAdd = buf.DecodeUint8()
544 m.IsIPv6 = buf.DecodeUint8()
545 m.IPAddress = make([]byte, 16)
546 copy(m.IPAddress, buf.DecodeBytes(len(m.IPAddress)))
550 // LispAddDelMapResolverReply defines message 'lisp_add_del_map_resolver_reply'.
551 type LispAddDelMapResolverReply struct {
552 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
555 func (m *LispAddDelMapResolverReply) Reset() { *m = LispAddDelMapResolverReply{} }
556 func (*LispAddDelMapResolverReply) GetMessageName() string { return "lisp_add_del_map_resolver_reply" }
557 func (*LispAddDelMapResolverReply) GetCrcString() string { return "e8d4e804" }
558 func (*LispAddDelMapResolverReply) GetMessageType() api.MessageType {
559 return api.ReplyMessage
562 func (m *LispAddDelMapResolverReply) Size() (size int) {
566 size += 4 // m.Retval
569 func (m *LispAddDelMapResolverReply) Marshal(b []byte) ([]byte, error) {
571 b = make([]byte, m.Size())
573 buf := codec.NewBuffer(b)
574 buf.EncodeInt32(m.Retval)
575 return buf.Bytes(), nil
577 func (m *LispAddDelMapResolverReply) Unmarshal(b []byte) error {
578 buf := codec.NewBuffer(b)
579 m.Retval = buf.DecodeInt32()
583 // LispAddDelMapServer defines message 'lisp_add_del_map_server'.
584 type LispAddDelMapServer struct {
585 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
586 IsIPv6 uint8 `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
587 IPAddress []byte `binapi:"u8[16],name=ip_address" json:"ip_address,omitempty"`
590 func (m *LispAddDelMapServer) Reset() { *m = LispAddDelMapServer{} }
591 func (*LispAddDelMapServer) GetMessageName() string { return "lisp_add_del_map_server" }
592 func (*LispAddDelMapServer) GetCrcString() string { return "0ebcd37d" }
593 func (*LispAddDelMapServer) GetMessageType() api.MessageType {
594 return api.RequestMessage
597 func (m *LispAddDelMapServer) Size() (size int) {
602 size += 1 // m.IsIPv6
603 size += 1 * 16 // m.IPAddress
606 func (m *LispAddDelMapServer) Marshal(b []byte) ([]byte, error) {
608 b = make([]byte, m.Size())
610 buf := codec.NewBuffer(b)
611 buf.EncodeUint8(m.IsAdd)
612 buf.EncodeUint8(m.IsIPv6)
613 buf.EncodeBytes(m.IPAddress, 16)
614 return buf.Bytes(), nil
616 func (m *LispAddDelMapServer) Unmarshal(b []byte) error {
617 buf := codec.NewBuffer(b)
618 m.IsAdd = buf.DecodeUint8()
619 m.IsIPv6 = buf.DecodeUint8()
620 m.IPAddress = make([]byte, 16)
621 copy(m.IPAddress, buf.DecodeBytes(len(m.IPAddress)))
625 // LispAddDelMapServerReply defines message 'lisp_add_del_map_server_reply'.
626 type LispAddDelMapServerReply struct {
627 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
630 func (m *LispAddDelMapServerReply) Reset() { *m = LispAddDelMapServerReply{} }
631 func (*LispAddDelMapServerReply) GetMessageName() string { return "lisp_add_del_map_server_reply" }
632 func (*LispAddDelMapServerReply) GetCrcString() string { return "e8d4e804" }
633 func (*LispAddDelMapServerReply) GetMessageType() api.MessageType {
634 return api.ReplyMessage
637 func (m *LispAddDelMapServerReply) Size() (size int) {
641 size += 4 // m.Retval
644 func (m *LispAddDelMapServerReply) Marshal(b []byte) ([]byte, error) {
646 b = make([]byte, m.Size())
648 buf := codec.NewBuffer(b)
649 buf.EncodeInt32(m.Retval)
650 return buf.Bytes(), nil
652 func (m *LispAddDelMapServerReply) Unmarshal(b []byte) error {
653 buf := codec.NewBuffer(b)
654 m.Retval = buf.DecodeInt32()
658 // LispAddDelRemoteMapping defines message 'lisp_add_del_remote_mapping'.
659 type LispAddDelRemoteMapping struct {
660 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
661 IsSrcDst uint8 `binapi:"u8,name=is_src_dst" json:"is_src_dst,omitempty"`
662 DelAll uint8 `binapi:"u8,name=del_all" json:"del_all,omitempty"`
663 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
664 Action uint8 `binapi:"u8,name=action" json:"action,omitempty"`
665 EidType uint8 `binapi:"u8,name=eid_type" json:"eid_type,omitempty"`
666 Eid []byte `binapi:"u8[16],name=eid" json:"eid,omitempty"`
667 EidLen uint8 `binapi:"u8,name=eid_len" json:"eid_len,omitempty"`
668 Seid []byte `binapi:"u8[16],name=seid" json:"seid,omitempty"`
669 SeidLen uint8 `binapi:"u8,name=seid_len" json:"seid_len,omitempty"`
670 RlocNum uint32 `binapi:"u32,name=rloc_num" json:"-"`
671 Rlocs []RemoteLocator `binapi:"remote_locator[rloc_num],name=rlocs" json:"rlocs,omitempty"`
674 func (m *LispAddDelRemoteMapping) Reset() { *m = LispAddDelRemoteMapping{} }
675 func (*LispAddDelRemoteMapping) GetMessageName() string { return "lisp_add_del_remote_mapping" }
676 func (*LispAddDelRemoteMapping) GetCrcString() string { return "b879c3a9" }
677 func (*LispAddDelRemoteMapping) GetMessageType() api.MessageType {
678 return api.RequestMessage
681 func (m *LispAddDelRemoteMapping) Size() (size int) {
686 size += 1 // m.IsSrcDst
687 size += 1 // m.DelAll
689 size += 1 // m.Action
690 size += 1 // m.EidType
691 size += 1 * 16 // m.Eid
692 size += 1 // m.EidLen
693 size += 1 * 16 // m.Seid
694 size += 1 // m.SeidLen
695 size += 4 // m.RlocNum
696 for j1 := 0; j1 < len(m.Rlocs); j1++ {
699 if j1 < len(m.Rlocs) {
702 size += 1 // s1.IsIP4
703 size += 1 // s1.Priority
704 size += 1 // s1.Weight
705 size += 1 * 16 // s1.Addr
709 func (m *LispAddDelRemoteMapping) Marshal(b []byte) ([]byte, error) {
711 b = make([]byte, m.Size())
713 buf := codec.NewBuffer(b)
714 buf.EncodeUint8(m.IsAdd)
715 buf.EncodeUint8(m.IsSrcDst)
716 buf.EncodeUint8(m.DelAll)
717 buf.EncodeUint32(m.Vni)
718 buf.EncodeUint8(m.Action)
719 buf.EncodeUint8(m.EidType)
720 buf.EncodeBytes(m.Eid, 16)
721 buf.EncodeUint8(m.EidLen)
722 buf.EncodeBytes(m.Seid, 16)
723 buf.EncodeUint8(m.SeidLen)
724 buf.EncodeUint32(uint32(len(m.Rlocs)))
725 for j0 := 0; j0 < len(m.Rlocs); j0++ {
726 var v0 RemoteLocator // Rlocs
727 if j0 < len(m.Rlocs) {
730 buf.EncodeUint8(v0.IsIP4)
731 buf.EncodeUint8(v0.Priority)
732 buf.EncodeUint8(v0.Weight)
733 buf.EncodeBytes(v0.Addr, 16)
735 return buf.Bytes(), nil
737 func (m *LispAddDelRemoteMapping) Unmarshal(b []byte) error {
738 buf := codec.NewBuffer(b)
739 m.IsAdd = buf.DecodeUint8()
740 m.IsSrcDst = buf.DecodeUint8()
741 m.DelAll = buf.DecodeUint8()
742 m.Vni = buf.DecodeUint32()
743 m.Action = buf.DecodeUint8()
744 m.EidType = buf.DecodeUint8()
745 m.Eid = make([]byte, 16)
746 copy(m.Eid, buf.DecodeBytes(len(m.Eid)))
747 m.EidLen = buf.DecodeUint8()
748 m.Seid = make([]byte, 16)
749 copy(m.Seid, buf.DecodeBytes(len(m.Seid)))
750 m.SeidLen = buf.DecodeUint8()
751 m.RlocNum = buf.DecodeUint32()
752 m.Rlocs = make([]RemoteLocator, m.RlocNum)
753 for j0 := 0; j0 < len(m.Rlocs); j0++ {
754 m.Rlocs[j0].IsIP4 = buf.DecodeUint8()
755 m.Rlocs[j0].Priority = buf.DecodeUint8()
756 m.Rlocs[j0].Weight = buf.DecodeUint8()
757 m.Rlocs[j0].Addr = make([]byte, 16)
758 copy(m.Rlocs[j0].Addr, buf.DecodeBytes(len(m.Rlocs[j0].Addr)))
763 // LispAddDelRemoteMappingReply defines message 'lisp_add_del_remote_mapping_reply'.
764 type LispAddDelRemoteMappingReply struct {
765 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
768 func (m *LispAddDelRemoteMappingReply) Reset() { *m = LispAddDelRemoteMappingReply{} }
769 func (*LispAddDelRemoteMappingReply) GetMessageName() string {
770 return "lisp_add_del_remote_mapping_reply"
772 func (*LispAddDelRemoteMappingReply) GetCrcString() string { return "e8d4e804" }
773 func (*LispAddDelRemoteMappingReply) GetMessageType() api.MessageType {
774 return api.ReplyMessage
777 func (m *LispAddDelRemoteMappingReply) Size() (size int) {
781 size += 4 // m.Retval
784 func (m *LispAddDelRemoteMappingReply) Marshal(b []byte) ([]byte, error) {
786 b = make([]byte, m.Size())
788 buf := codec.NewBuffer(b)
789 buf.EncodeInt32(m.Retval)
790 return buf.Bytes(), nil
792 func (m *LispAddDelRemoteMappingReply) Unmarshal(b []byte) error {
793 buf := codec.NewBuffer(b)
794 m.Retval = buf.DecodeInt32()
798 // LispAdjacenciesGet defines message 'lisp_adjacencies_get'.
799 type LispAdjacenciesGet struct {
800 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
803 func (m *LispAdjacenciesGet) Reset() { *m = LispAdjacenciesGet{} }
804 func (*LispAdjacenciesGet) GetMessageName() string { return "lisp_adjacencies_get" }
805 func (*LispAdjacenciesGet) GetCrcString() string { return "8d1f2fe9" }
806 func (*LispAdjacenciesGet) GetMessageType() api.MessageType {
807 return api.RequestMessage
810 func (m *LispAdjacenciesGet) Size() (size int) {
817 func (m *LispAdjacenciesGet) Marshal(b []byte) ([]byte, error) {
819 b = make([]byte, m.Size())
821 buf := codec.NewBuffer(b)
822 buf.EncodeUint32(m.Vni)
823 return buf.Bytes(), nil
825 func (m *LispAdjacenciesGet) Unmarshal(b []byte) error {
826 buf := codec.NewBuffer(b)
827 m.Vni = buf.DecodeUint32()
831 // LispAdjacenciesGetReply defines message 'lisp_adjacencies_get_reply'.
832 type LispAdjacenciesGetReply struct {
833 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
834 Count uint32 `binapi:"u32,name=count" json:"-"`
835 Adjacencies []LispAdjacency `binapi:"lisp_adjacency[count],name=adjacencies" json:"adjacencies,omitempty"`
838 func (m *LispAdjacenciesGetReply) Reset() { *m = LispAdjacenciesGetReply{} }
839 func (*LispAdjacenciesGetReply) GetMessageName() string { return "lisp_adjacencies_get_reply" }
840 func (*LispAdjacenciesGetReply) GetCrcString() string { return "ada0f464" }
841 func (*LispAdjacenciesGetReply) GetMessageType() api.MessageType {
842 return api.ReplyMessage
845 func (m *LispAdjacenciesGetReply) Size() (size int) {
849 size += 4 // m.Retval
851 for j1 := 0; j1 < len(m.Adjacencies); j1++ {
854 if j1 < len(m.Adjacencies) {
855 s1 = m.Adjacencies[j1]
857 size += 1 // s1.EidType
858 size += 1 * 16 // s1.Reid
859 size += 1 * 16 // s1.Leid
860 size += 1 // s1.ReidPrefixLen
861 size += 1 // s1.LeidPrefixLen
865 func (m *LispAdjacenciesGetReply) Marshal(b []byte) ([]byte, error) {
867 b = make([]byte, m.Size())
869 buf := codec.NewBuffer(b)
870 buf.EncodeInt32(m.Retval)
871 buf.EncodeUint32(uint32(len(m.Adjacencies)))
872 for j0 := 0; j0 < len(m.Adjacencies); j0++ {
873 var v0 LispAdjacency // Adjacencies
874 if j0 < len(m.Adjacencies) {
875 v0 = m.Adjacencies[j0]
877 buf.EncodeUint8(v0.EidType)
878 buf.EncodeBytes(v0.Reid, 16)
879 buf.EncodeBytes(v0.Leid, 16)
880 buf.EncodeUint8(v0.ReidPrefixLen)
881 buf.EncodeUint8(v0.LeidPrefixLen)
883 return buf.Bytes(), nil
885 func (m *LispAdjacenciesGetReply) Unmarshal(b []byte) error {
886 buf := codec.NewBuffer(b)
887 m.Retval = buf.DecodeInt32()
888 m.Count = buf.DecodeUint32()
889 m.Adjacencies = make([]LispAdjacency, m.Count)
890 for j0 := 0; j0 < len(m.Adjacencies); j0++ {
891 m.Adjacencies[j0].EidType = buf.DecodeUint8()
892 m.Adjacencies[j0].Reid = make([]byte, 16)
893 copy(m.Adjacencies[j0].Reid, buf.DecodeBytes(len(m.Adjacencies[j0].Reid)))
894 m.Adjacencies[j0].Leid = make([]byte, 16)
895 copy(m.Adjacencies[j0].Leid, buf.DecodeBytes(len(m.Adjacencies[j0].Leid)))
896 m.Adjacencies[j0].ReidPrefixLen = buf.DecodeUint8()
897 m.Adjacencies[j0].LeidPrefixLen = buf.DecodeUint8()
902 // LispEidTableAddDelMap defines message 'lisp_eid_table_add_del_map'.
903 type LispEidTableAddDelMap struct {
904 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
905 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
906 DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"`
907 IsL2 uint8 `binapi:"u8,name=is_l2" json:"is_l2,omitempty"`
910 func (m *LispEidTableAddDelMap) Reset() { *m = LispEidTableAddDelMap{} }
911 func (*LispEidTableAddDelMap) GetMessageName() string { return "lisp_eid_table_add_del_map" }
912 func (*LispEidTableAddDelMap) GetCrcString() string { return "59e9975e" }
913 func (*LispEidTableAddDelMap) GetMessageType() api.MessageType {
914 return api.RequestMessage
917 func (m *LispEidTableAddDelMap) Size() (size int) {
923 size += 4 // m.DpTable
927 func (m *LispEidTableAddDelMap) Marshal(b []byte) ([]byte, error) {
929 b = make([]byte, m.Size())
931 buf := codec.NewBuffer(b)
932 buf.EncodeUint8(m.IsAdd)
933 buf.EncodeUint32(m.Vni)
934 buf.EncodeUint32(m.DpTable)
935 buf.EncodeUint8(m.IsL2)
936 return buf.Bytes(), nil
938 func (m *LispEidTableAddDelMap) Unmarshal(b []byte) error {
939 buf := codec.NewBuffer(b)
940 m.IsAdd = buf.DecodeUint8()
941 m.Vni = buf.DecodeUint32()
942 m.DpTable = buf.DecodeUint32()
943 m.IsL2 = buf.DecodeUint8()
947 // LispEidTableAddDelMapReply defines message 'lisp_eid_table_add_del_map_reply'.
948 type LispEidTableAddDelMapReply struct {
949 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
952 func (m *LispEidTableAddDelMapReply) Reset() { *m = LispEidTableAddDelMapReply{} }
953 func (*LispEidTableAddDelMapReply) GetMessageName() string { return "lisp_eid_table_add_del_map_reply" }
954 func (*LispEidTableAddDelMapReply) GetCrcString() string { return "e8d4e804" }
955 func (*LispEidTableAddDelMapReply) GetMessageType() api.MessageType {
956 return api.ReplyMessage
959 func (m *LispEidTableAddDelMapReply) Size() (size int) {
963 size += 4 // m.Retval
966 func (m *LispEidTableAddDelMapReply) Marshal(b []byte) ([]byte, error) {
968 b = make([]byte, m.Size())
970 buf := codec.NewBuffer(b)
971 buf.EncodeInt32(m.Retval)
972 return buf.Bytes(), nil
974 func (m *LispEidTableAddDelMapReply) Unmarshal(b []byte) error {
975 buf := codec.NewBuffer(b)
976 m.Retval = buf.DecodeInt32()
980 // LispEidTableDetails defines message 'lisp_eid_table_details'.
981 type LispEidTableDetails struct {
982 LocatorSetIndex uint32 `binapi:"u32,name=locator_set_index" json:"locator_set_index,omitempty"`
983 Action uint8 `binapi:"u8,name=action" json:"action,omitempty"`
984 IsLocal uint8 `binapi:"u8,name=is_local" json:"is_local,omitempty"`
985 EidType uint8 `binapi:"u8,name=eid_type" json:"eid_type,omitempty"`
986 IsSrcDst uint8 `binapi:"u8,name=is_src_dst" json:"is_src_dst,omitempty"`
987 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
988 Eid []byte `binapi:"u8[16],name=eid" json:"eid,omitempty"`
989 EidPrefixLen uint8 `binapi:"u8,name=eid_prefix_len" json:"eid_prefix_len,omitempty"`
990 Seid []byte `binapi:"u8[16],name=seid" json:"seid,omitempty"`
991 SeidPrefixLen uint8 `binapi:"u8,name=seid_prefix_len" json:"seid_prefix_len,omitempty"`
992 TTL uint32 `binapi:"u32,name=ttl" json:"ttl,omitempty"`
993 Authoritative uint8 `binapi:"u8,name=authoritative" json:"authoritative,omitempty"`
994 KeyID uint16 `binapi:"u16,name=key_id" json:"key_id,omitempty"`
995 Key []byte `binapi:"u8[64],name=key" json:"key,omitempty"`
998 func (m *LispEidTableDetails) Reset() { *m = LispEidTableDetails{} }
999 func (*LispEidTableDetails) GetMessageName() string { return "lisp_eid_table_details" }
1000 func (*LispEidTableDetails) GetCrcString() string { return "dcd9f414" }
1001 func (*LispEidTableDetails) GetMessageType() api.MessageType {
1002 return api.ReplyMessage
1005 func (m *LispEidTableDetails) Size() (size int) {
1009 size += 4 // m.LocatorSetIndex
1010 size += 1 // m.Action
1011 size += 1 // m.IsLocal
1012 size += 1 // m.EidType
1013 size += 1 // m.IsSrcDst
1015 size += 1 * 16 // m.Eid
1016 size += 1 // m.EidPrefixLen
1017 size += 1 * 16 // m.Seid
1018 size += 1 // m.SeidPrefixLen
1020 size += 1 // m.Authoritative
1021 size += 2 // m.KeyID
1022 size += 1 * 64 // m.Key
1025 func (m *LispEidTableDetails) Marshal(b []byte) ([]byte, error) {
1027 b = make([]byte, m.Size())
1029 buf := codec.NewBuffer(b)
1030 buf.EncodeUint32(m.LocatorSetIndex)
1031 buf.EncodeUint8(m.Action)
1032 buf.EncodeUint8(m.IsLocal)
1033 buf.EncodeUint8(m.EidType)
1034 buf.EncodeUint8(m.IsSrcDst)
1035 buf.EncodeUint32(m.Vni)
1036 buf.EncodeBytes(m.Eid, 16)
1037 buf.EncodeUint8(m.EidPrefixLen)
1038 buf.EncodeBytes(m.Seid, 16)
1039 buf.EncodeUint8(m.SeidPrefixLen)
1040 buf.EncodeUint32(m.TTL)
1041 buf.EncodeUint8(m.Authoritative)
1042 buf.EncodeUint16(m.KeyID)
1043 buf.EncodeBytes(m.Key, 64)
1044 return buf.Bytes(), nil
1046 func (m *LispEidTableDetails) Unmarshal(b []byte) error {
1047 buf := codec.NewBuffer(b)
1048 m.LocatorSetIndex = buf.DecodeUint32()
1049 m.Action = buf.DecodeUint8()
1050 m.IsLocal = buf.DecodeUint8()
1051 m.EidType = buf.DecodeUint8()
1052 m.IsSrcDst = buf.DecodeUint8()
1053 m.Vni = buf.DecodeUint32()
1054 m.Eid = make([]byte, 16)
1055 copy(m.Eid, buf.DecodeBytes(len(m.Eid)))
1056 m.EidPrefixLen = buf.DecodeUint8()
1057 m.Seid = make([]byte, 16)
1058 copy(m.Seid, buf.DecodeBytes(len(m.Seid)))
1059 m.SeidPrefixLen = buf.DecodeUint8()
1060 m.TTL = buf.DecodeUint32()
1061 m.Authoritative = buf.DecodeUint8()
1062 m.KeyID = buf.DecodeUint16()
1063 m.Key = make([]byte, 64)
1064 copy(m.Key, buf.DecodeBytes(len(m.Key)))
1068 // LispEidTableDump defines message 'lisp_eid_table_dump'.
1069 type LispEidTableDump struct {
1070 EidSet uint8 `binapi:"u8,name=eid_set" json:"eid_set,omitempty"`
1071 PrefixLength uint8 `binapi:"u8,name=prefix_length" json:"prefix_length,omitempty"`
1072 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
1073 EidType uint8 `binapi:"u8,name=eid_type" json:"eid_type,omitempty"`
1074 Eid []byte `binapi:"u8[16],name=eid" json:"eid,omitempty"`
1075 Filter uint8 `binapi:"u8,name=filter" json:"filter,omitempty"`
1078 func (m *LispEidTableDump) Reset() { *m = LispEidTableDump{} }
1079 func (*LispEidTableDump) GetMessageName() string { return "lisp_eid_table_dump" }
1080 func (*LispEidTableDump) GetCrcString() string { return "e0df64da" }
1081 func (*LispEidTableDump) GetMessageType() api.MessageType {
1082 return api.RequestMessage
1085 func (m *LispEidTableDump) Size() (size int) {
1089 size += 1 // m.EidSet
1090 size += 1 // m.PrefixLength
1092 size += 1 // m.EidType
1093 size += 1 * 16 // m.Eid
1094 size += 1 // m.Filter
1097 func (m *LispEidTableDump) Marshal(b []byte) ([]byte, error) {
1099 b = make([]byte, m.Size())
1101 buf := codec.NewBuffer(b)
1102 buf.EncodeUint8(m.EidSet)
1103 buf.EncodeUint8(m.PrefixLength)
1104 buf.EncodeUint32(m.Vni)
1105 buf.EncodeUint8(m.EidType)
1106 buf.EncodeBytes(m.Eid, 16)
1107 buf.EncodeUint8(m.Filter)
1108 return buf.Bytes(), nil
1110 func (m *LispEidTableDump) Unmarshal(b []byte) error {
1111 buf := codec.NewBuffer(b)
1112 m.EidSet = buf.DecodeUint8()
1113 m.PrefixLength = buf.DecodeUint8()
1114 m.Vni = buf.DecodeUint32()
1115 m.EidType = buf.DecodeUint8()
1116 m.Eid = make([]byte, 16)
1117 copy(m.Eid, buf.DecodeBytes(len(m.Eid)))
1118 m.Filter = buf.DecodeUint8()
1122 // LispEidTableMapDetails defines message 'lisp_eid_table_map_details'.
1123 type LispEidTableMapDetails struct {
1124 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
1125 DpTable uint32 `binapi:"u32,name=dp_table" json:"dp_table,omitempty"`
1128 func (m *LispEidTableMapDetails) Reset() { *m = LispEidTableMapDetails{} }
1129 func (*LispEidTableMapDetails) GetMessageName() string { return "lisp_eid_table_map_details" }
1130 func (*LispEidTableMapDetails) GetCrcString() string { return "0b6859e2" }
1131 func (*LispEidTableMapDetails) GetMessageType() api.MessageType {
1132 return api.ReplyMessage
1135 func (m *LispEidTableMapDetails) Size() (size int) {
1140 size += 4 // m.DpTable
1143 func (m *LispEidTableMapDetails) Marshal(b []byte) ([]byte, error) {
1145 b = make([]byte, m.Size())
1147 buf := codec.NewBuffer(b)
1148 buf.EncodeUint32(m.Vni)
1149 buf.EncodeUint32(m.DpTable)
1150 return buf.Bytes(), nil
1152 func (m *LispEidTableMapDetails) Unmarshal(b []byte) error {
1153 buf := codec.NewBuffer(b)
1154 m.Vni = buf.DecodeUint32()
1155 m.DpTable = buf.DecodeUint32()
1159 // LispEidTableMapDump defines message 'lisp_eid_table_map_dump'.
1160 type LispEidTableMapDump struct {
1161 IsL2 uint8 `binapi:"u8,name=is_l2" json:"is_l2,omitempty"`
1164 func (m *LispEidTableMapDump) Reset() { *m = LispEidTableMapDump{} }
1165 func (*LispEidTableMapDump) GetMessageName() string { return "lisp_eid_table_map_dump" }
1166 func (*LispEidTableMapDump) GetCrcString() string { return "67c54650" }
1167 func (*LispEidTableMapDump) GetMessageType() api.MessageType {
1168 return api.RequestMessage
1171 func (m *LispEidTableMapDump) Size() (size int) {
1178 func (m *LispEidTableMapDump) Marshal(b []byte) ([]byte, error) {
1180 b = make([]byte, m.Size())
1182 buf := codec.NewBuffer(b)
1183 buf.EncodeUint8(m.IsL2)
1184 return buf.Bytes(), nil
1186 func (m *LispEidTableMapDump) Unmarshal(b []byte) error {
1187 buf := codec.NewBuffer(b)
1188 m.IsL2 = buf.DecodeUint8()
1192 // LispEidTableVniDetails defines message 'lisp_eid_table_vni_details'.
1193 type LispEidTableVniDetails struct {
1194 Vni uint32 `binapi:"u32,name=vni" json:"vni,omitempty"`
1197 func (m *LispEidTableVniDetails) Reset() { *m = LispEidTableVniDetails{} }
1198 func (*LispEidTableVniDetails) GetMessageName() string { return "lisp_eid_table_vni_details" }
1199 func (*LispEidTableVniDetails) GetCrcString() string { return "64abc01e" }
1200 func (*LispEidTableVniDetails) GetMessageType() api.MessageType {
1201 return api.ReplyMessage
1204 func (m *LispEidTableVniDetails) Size() (size int) {
1211 func (m *LispEidTableVniDetails) Marshal(b []byte) ([]byte, error) {
1213 b = make([]byte, m.Size())
1215 buf := codec.NewBuffer(b)
1216 buf.EncodeUint32(m.Vni)
1217 return buf.Bytes(), nil
1219 func (m *LispEidTableVniDetails) Unmarshal(b []byte) error {
1220 buf := codec.NewBuffer(b)
1221 m.Vni = buf.DecodeUint32()
1225 // LispEidTableVniDump defines message 'lisp_eid_table_vni_dump'.
1226 type LispEidTableVniDump struct{}
1228 func (m *LispEidTableVniDump) Reset() { *m = LispEidTableVniDump{} }
1229 func (*LispEidTableVniDump) GetMessageName() string { return "lisp_eid_table_vni_dump" }
1230 func (*LispEidTableVniDump) GetCrcString() string { return "51077d14" }
1231 func (*LispEidTableVniDump) GetMessageType() api.MessageType {
1232 return api.RequestMessage
1235 func (m *LispEidTableVniDump) Size() (size int) {
1241 func (m *LispEidTableVniDump) Marshal(b []byte) ([]byte, error) {
1243 b = make([]byte, m.Size())
1245 buf := codec.NewBuffer(b)
1246 return buf.Bytes(), nil
1248 func (m *LispEidTableVniDump) Unmarshal(b []byte) error {
1252 // LispEnableDisable defines message 'lisp_enable_disable'.
1253 type LispEnableDisable struct {
1254 IsEn uint8 `binapi:"u8,name=is_en" json:"is_en,omitempty"`
1257 func (m *LispEnableDisable) Reset() { *m = LispEnableDisable{} }
1258 func (*LispEnableDisable) GetMessageName() string { return "lisp_enable_disable" }
1259 func (*LispEnableDisable) GetCrcString() string { return "eb0e943b" }
1260 func (*LispEnableDisable) GetMessageType() api.MessageType {
1261 return api.RequestMessage
1264 func (m *LispEnableDisable) Size() (size int) {
1271 func (m *LispEnableDisable) Marshal(b []byte) ([]byte, error) {
1273 b = make([]byte, m.Size())
1275 buf := codec.NewBuffer(b)
1276 buf.EncodeUint8(m.IsEn)
1277 return buf.Bytes(), nil
1279 func (m *LispEnableDisable) Unmarshal(b []byte) error {
1280 buf := codec.NewBuffer(b)
1281 m.IsEn = buf.DecodeUint8()
1285 // LispEnableDisableReply defines message 'lisp_enable_disable_reply'.
1286 type LispEnableDisableReply struct {
1287 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1290 func (m *LispEnableDisableReply) Reset() { *m = LispEnableDisableReply{} }
1291 func (*LispEnableDisableReply) GetMessageName() string { return "lisp_enable_disable_reply" }
1292 func (*LispEnableDisableReply) GetCrcString() string { return "e8d4e804" }
1293 func (*LispEnableDisableReply) GetMessageType() api.MessageType {
1294 return api.ReplyMessage
1297 func (m *LispEnableDisableReply) Size() (size int) {
1301 size += 4 // m.Retval
1304 func (m *LispEnableDisableReply) Marshal(b []byte) ([]byte, error) {
1306 b = make([]byte, m.Size())
1308 buf := codec.NewBuffer(b)
1309 buf.EncodeInt32(m.Retval)
1310 return buf.Bytes(), nil
1312 func (m *LispEnableDisableReply) Unmarshal(b []byte) error {
1313 buf := codec.NewBuffer(b)
1314 m.Retval = buf.DecodeInt32()
1318 // LispGetMapRequestItrRlocs defines message 'lisp_get_map_request_itr_rlocs'.
1319 type LispGetMapRequestItrRlocs struct{}
1321 func (m *LispGetMapRequestItrRlocs) Reset() { *m = LispGetMapRequestItrRlocs{} }
1322 func (*LispGetMapRequestItrRlocs) GetMessageName() string { return "lisp_get_map_request_itr_rlocs" }
1323 func (*LispGetMapRequestItrRlocs) GetCrcString() string { return "51077d14" }
1324 func (*LispGetMapRequestItrRlocs) GetMessageType() api.MessageType {
1325 return api.RequestMessage
1328 func (m *LispGetMapRequestItrRlocs) Size() (size int) {
1334 func (m *LispGetMapRequestItrRlocs) Marshal(b []byte) ([]byte, error) {
1336 b = make([]byte, m.Size())
1338 buf := codec.NewBuffer(b)
1339 return buf.Bytes(), nil
1341 func (m *LispGetMapRequestItrRlocs) Unmarshal(b []byte) error {
1345 // LispGetMapRequestItrRlocsReply defines message 'lisp_get_map_request_itr_rlocs_reply'.
1346 type LispGetMapRequestItrRlocsReply struct {
1347 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1348 LocatorSetName []byte `binapi:"u8[64],name=locator_set_name" json:"locator_set_name,omitempty"`
1351 func (m *LispGetMapRequestItrRlocsReply) Reset() { *m = LispGetMapRequestItrRlocsReply{} }
1352 func (*LispGetMapRequestItrRlocsReply) GetMessageName() string {
1353 return "lisp_get_map_request_itr_rlocs_reply"
1355 func (*LispGetMapRequestItrRlocsReply) GetCrcString() string { return "9f56f6f7" }
1356 func (*LispGetMapRequestItrRlocsReply) GetMessageType() api.MessageType {
1357 return api.ReplyMessage
1360 func (m *LispGetMapRequestItrRlocsReply) Size() (size int) {
1364 size += 4 // m.Retval
1365 size += 1 * 64 // m.LocatorSetName
1368 func (m *LispGetMapRequestItrRlocsReply) Marshal(b []byte) ([]byte, error) {
1370 b = make([]byte, m.Size())
1372 buf := codec.NewBuffer(b)
1373 buf.EncodeInt32(m.Retval)
1374 buf.EncodeBytes(m.LocatorSetName, 64)
1375 return buf.Bytes(), nil
1377 func (m *LispGetMapRequestItrRlocsReply) Unmarshal(b []byte) error {
1378 buf := codec.NewBuffer(b)
1379 m.Retval = buf.DecodeInt32()
1380 m.LocatorSetName = make([]byte, 64)
1381 copy(m.LocatorSetName, buf.DecodeBytes(len(m.LocatorSetName)))
1385 // LispLocatorDetails defines message 'lisp_locator_details'.
1386 type LispLocatorDetails struct {
1387 Local uint8 `binapi:"u8,name=local" json:"local,omitempty"`
1388 SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
1389 IsIPv6 uint8 `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
1390 IPAddress []byte `binapi:"u8[16],name=ip_address" json:"ip_address,omitempty"`
1391 Priority uint8 `binapi:"u8,name=priority" json:"priority,omitempty"`
1392 Weight uint8 `binapi:"u8,name=weight" json:"weight,omitempty"`
1395 func (m *LispLocatorDetails) Reset() { *m = LispLocatorDetails{} }
1396 func (*LispLocatorDetails) GetMessageName() string { return "lisp_locator_details" }
1397 func (*LispLocatorDetails) GetCrcString() string { return "b3988a30" }
1398 func (*LispLocatorDetails) GetMessageType() api.MessageType {
1399 return api.ReplyMessage
1402 func (m *LispLocatorDetails) Size() (size int) {
1406 size += 1 // m.Local
1407 size += 4 // m.SwIfIndex
1408 size += 1 // m.IsIPv6
1409 size += 1 * 16 // m.IPAddress
1410 size += 1 // m.Priority
1411 size += 1 // m.Weight
1414 func (m *LispLocatorDetails) Marshal(b []byte) ([]byte, error) {
1416 b = make([]byte, m.Size())
1418 buf := codec.NewBuffer(b)
1419 buf.EncodeUint8(m.Local)
1420 buf.EncodeUint32(m.SwIfIndex)
1421 buf.EncodeUint8(m.IsIPv6)
1422 buf.EncodeBytes(m.IPAddress, 16)
1423 buf.EncodeUint8(m.Priority)
1424 buf.EncodeUint8(m.Weight)
1425 return buf.Bytes(), nil
1427 func (m *LispLocatorDetails) Unmarshal(b []byte) error {
1428 buf := codec.NewBuffer(b)
1429 m.Local = buf.DecodeUint8()
1430 m.SwIfIndex = buf.DecodeUint32()
1431 m.IsIPv6 = buf.DecodeUint8()
1432 m.IPAddress = make([]byte, 16)
1433 copy(m.IPAddress, buf.DecodeBytes(len(m.IPAddress)))
1434 m.Priority = buf.DecodeUint8()
1435 m.Weight = buf.DecodeUint8()
1439 // LispLocatorDump defines message 'lisp_locator_dump'.
1440 type LispLocatorDump struct {
1441 LsIndex uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
1442 LsName []byte `binapi:"u8[64],name=ls_name" json:"ls_name,omitempty"`
1443 IsIndexSet uint8 `binapi:"u8,name=is_index_set" json:"is_index_set,omitempty"`
1446 func (m *LispLocatorDump) Reset() { *m = LispLocatorDump{} }
1447 func (*LispLocatorDump) GetMessageName() string { return "lisp_locator_dump" }
1448 func (*LispLocatorDump) GetCrcString() string { return "f27d5050" }
1449 func (*LispLocatorDump) GetMessageType() api.MessageType {
1450 return api.RequestMessage
1453 func (m *LispLocatorDump) Size() (size int) {
1457 size += 4 // m.LsIndex
1458 size += 1 * 64 // m.LsName
1459 size += 1 // m.IsIndexSet
1462 func (m *LispLocatorDump) Marshal(b []byte) ([]byte, error) {
1464 b = make([]byte, m.Size())
1466 buf := codec.NewBuffer(b)
1467 buf.EncodeUint32(m.LsIndex)
1468 buf.EncodeBytes(m.LsName, 64)
1469 buf.EncodeUint8(m.IsIndexSet)
1470 return buf.Bytes(), nil
1472 func (m *LispLocatorDump) Unmarshal(b []byte) error {
1473 buf := codec.NewBuffer(b)
1474 m.LsIndex = buf.DecodeUint32()
1475 m.LsName = make([]byte, 64)
1476 copy(m.LsName, buf.DecodeBytes(len(m.LsName)))
1477 m.IsIndexSet = buf.DecodeUint8()
1481 // LispLocatorSetDetails defines message 'lisp_locator_set_details'.
1482 type LispLocatorSetDetails struct {
1483 LsIndex uint32 `binapi:"u32,name=ls_index" json:"ls_index,omitempty"`
1484 LsName []byte `binapi:"u8[64],name=ls_name" json:"ls_name,omitempty"`
1487 func (m *LispLocatorSetDetails) Reset() { *m = LispLocatorSetDetails{} }
1488 func (*LispLocatorSetDetails) GetMessageName() string { return "lisp_locator_set_details" }
1489 func (*LispLocatorSetDetails) GetCrcString() string { return "6b846882" }
1490 func (*LispLocatorSetDetails) GetMessageType() api.MessageType {
1491 return api.ReplyMessage
1494 func (m *LispLocatorSetDetails) Size() (size int) {
1498 size += 4 // m.LsIndex
1499 size += 1 * 64 // m.LsName
1502 func (m *LispLocatorSetDetails) Marshal(b []byte) ([]byte, error) {
1504 b = make([]byte, m.Size())
1506 buf := codec.NewBuffer(b)
1507 buf.EncodeUint32(m.LsIndex)
1508 buf.EncodeBytes(m.LsName, 64)
1509 return buf.Bytes(), nil
1511 func (m *LispLocatorSetDetails) Unmarshal(b []byte) error {
1512 buf := codec.NewBuffer(b)
1513 m.LsIndex = buf.DecodeUint32()
1514 m.LsName = make([]byte, 64)
1515 copy(m.LsName, buf.DecodeBytes(len(m.LsName)))
1519 // LispLocatorSetDump defines message 'lisp_locator_set_dump'.
1520 type LispLocatorSetDump struct {
1521 Filter uint8 `binapi:"u8,name=filter" json:"filter,omitempty"`
1524 func (m *LispLocatorSetDump) Reset() { *m = LispLocatorSetDump{} }
1525 func (*LispLocatorSetDump) GetMessageName() string { return "lisp_locator_set_dump" }
1526 func (*LispLocatorSetDump) GetCrcString() string { return "c79e8ab0" }
1527 func (*LispLocatorSetDump) GetMessageType() api.MessageType {
1528 return api.RequestMessage
1531 func (m *LispLocatorSetDump) Size() (size int) {
1535 size += 1 // m.Filter
1538 func (m *LispLocatorSetDump) Marshal(b []byte) ([]byte, error) {
1540 b = make([]byte, m.Size())
1542 buf := codec.NewBuffer(b)
1543 buf.EncodeUint8(m.Filter)
1544 return buf.Bytes(), nil
1546 func (m *LispLocatorSetDump) Unmarshal(b []byte) error {
1547 buf := codec.NewBuffer(b)
1548 m.Filter = buf.DecodeUint8()
1552 // LispMapRegisterEnableDisable defines message 'lisp_map_register_enable_disable'.
1553 type LispMapRegisterEnableDisable struct {
1554 IsEnabled uint8 `binapi:"u8,name=is_enabled" json:"is_enabled,omitempty"`
1557 func (m *LispMapRegisterEnableDisable) Reset() { *m = LispMapRegisterEnableDisable{} }
1558 func (*LispMapRegisterEnableDisable) GetMessageName() string {
1559 return "lisp_map_register_enable_disable"
1561 func (*LispMapRegisterEnableDisable) GetCrcString() string { return "294103d1" }
1562 func (*LispMapRegisterEnableDisable) GetMessageType() api.MessageType {
1563 return api.RequestMessage
1566 func (m *LispMapRegisterEnableDisable) Size() (size int) {
1570 size += 1 // m.IsEnabled
1573 func (m *LispMapRegisterEnableDisable) Marshal(b []byte) ([]byte, error) {
1575 b = make([]byte, m.Size())
1577 buf := codec.NewBuffer(b)
1578 buf.EncodeUint8(m.IsEnabled)
1579 return buf.Bytes(), nil
1581 func (m *LispMapRegisterEnableDisable) Unmarshal(b []byte) error {
1582 buf := codec.NewBuffer(b)
1583 m.IsEnabled = buf.DecodeUint8()
1587 // LispMapRegisterEnableDisableReply defines message 'lisp_map_register_enable_disable_reply'.
1588 type LispMapRegisterEnableDisableReply struct {
1589 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1592 func (m *LispMapRegisterEnableDisableReply) Reset() { *m = LispMapRegisterEnableDisableReply{} }
1593 func (*LispMapRegisterEnableDisableReply) GetMessageName() string {
1594 return "lisp_map_register_enable_disable_reply"
1596 func (*LispMapRegisterEnableDisableReply) GetCrcString() string { return "e8d4e804" }
1597 func (*LispMapRegisterEnableDisableReply) GetMessageType() api.MessageType {
1598 return api.ReplyMessage
1601 func (m *LispMapRegisterEnableDisableReply) Size() (size int) {
1605 size += 4 // m.Retval
1608 func (m *LispMapRegisterEnableDisableReply) Marshal(b []byte) ([]byte, error) {
1610 b = make([]byte, m.Size())
1612 buf := codec.NewBuffer(b)
1613 buf.EncodeInt32(m.Retval)
1614 return buf.Bytes(), nil
1616 func (m *LispMapRegisterEnableDisableReply) Unmarshal(b []byte) error {
1617 buf := codec.NewBuffer(b)
1618 m.Retval = buf.DecodeInt32()
1622 // LispMapRequestMode defines message 'lisp_map_request_mode'.
1623 type LispMapRequestMode struct {
1624 Mode uint8 `binapi:"u8,name=mode" json:"mode,omitempty"`
1627 func (m *LispMapRequestMode) Reset() { *m = LispMapRequestMode{} }
1628 func (*LispMapRequestMode) GetMessageName() string { return "lisp_map_request_mode" }
1629 func (*LispMapRequestMode) GetCrcString() string { return "f3f93ce9" }
1630 func (*LispMapRequestMode) GetMessageType() api.MessageType {
1631 return api.RequestMessage
1634 func (m *LispMapRequestMode) Size() (size int) {
1641 func (m *LispMapRequestMode) Marshal(b []byte) ([]byte, error) {
1643 b = make([]byte, m.Size())
1645 buf := codec.NewBuffer(b)
1646 buf.EncodeUint8(m.Mode)
1647 return buf.Bytes(), nil
1649 func (m *LispMapRequestMode) Unmarshal(b []byte) error {
1650 buf := codec.NewBuffer(b)
1651 m.Mode = buf.DecodeUint8()
1655 // LispMapRequestModeReply defines message 'lisp_map_request_mode_reply'.
1656 type LispMapRequestModeReply struct {
1657 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1660 func (m *LispMapRequestModeReply) Reset() { *m = LispMapRequestModeReply{} }
1661 func (*LispMapRequestModeReply) GetMessageName() string { return "lisp_map_request_mode_reply" }
1662 func (*LispMapRequestModeReply) GetCrcString() string { return "e8d4e804" }
1663 func (*LispMapRequestModeReply) GetMessageType() api.MessageType {
1664 return api.ReplyMessage
1667 func (m *LispMapRequestModeReply) Size() (size int) {
1671 size += 4 // m.Retval
1674 func (m *LispMapRequestModeReply) Marshal(b []byte) ([]byte, error) {
1676 b = make([]byte, m.Size())
1678 buf := codec.NewBuffer(b)
1679 buf.EncodeInt32(m.Retval)
1680 return buf.Bytes(), nil
1682 func (m *LispMapRequestModeReply) Unmarshal(b []byte) error {
1683 buf := codec.NewBuffer(b)
1684 m.Retval = buf.DecodeInt32()
1688 // LispMapResolverDetails defines message 'lisp_map_resolver_details'.
1689 type LispMapResolverDetails struct {
1690 IsIPv6 uint8 `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
1691 IPAddress []byte `binapi:"u8[16],name=ip_address" json:"ip_address,omitempty"`
1694 func (m *LispMapResolverDetails) Reset() { *m = LispMapResolverDetails{} }
1695 func (*LispMapResolverDetails) GetMessageName() string { return "lisp_map_resolver_details" }
1696 func (*LispMapResolverDetails) GetCrcString() string { return "60a5f5ca" }
1697 func (*LispMapResolverDetails) GetMessageType() api.MessageType {
1698 return api.ReplyMessage
1701 func (m *LispMapResolverDetails) Size() (size int) {
1705 size += 1 // m.IsIPv6
1706 size += 1 * 16 // m.IPAddress
1709 func (m *LispMapResolverDetails) Marshal(b []byte) ([]byte, error) {
1711 b = make([]byte, m.Size())
1713 buf := codec.NewBuffer(b)
1714 buf.EncodeUint8(m.IsIPv6)
1715 buf.EncodeBytes(m.IPAddress, 16)
1716 return buf.Bytes(), nil
1718 func (m *LispMapResolverDetails) Unmarshal(b []byte) error {
1719 buf := codec.NewBuffer(b)
1720 m.IsIPv6 = buf.DecodeUint8()
1721 m.IPAddress = make([]byte, 16)
1722 copy(m.IPAddress, buf.DecodeBytes(len(m.IPAddress)))
1726 // LispMapResolverDump defines message 'lisp_map_resolver_dump'.
1727 type LispMapResolverDump struct{}
1729 func (m *LispMapResolverDump) Reset() { *m = LispMapResolverDump{} }
1730 func (*LispMapResolverDump) GetMessageName() string { return "lisp_map_resolver_dump" }
1731 func (*LispMapResolverDump) GetCrcString() string { return "51077d14" }
1732 func (*LispMapResolverDump) GetMessageType() api.MessageType {
1733 return api.RequestMessage
1736 func (m *LispMapResolverDump) Size() (size int) {
1742 func (m *LispMapResolverDump) Marshal(b []byte) ([]byte, error) {
1744 b = make([]byte, m.Size())
1746 buf := codec.NewBuffer(b)
1747 return buf.Bytes(), nil
1749 func (m *LispMapResolverDump) Unmarshal(b []byte) error {
1753 // LispMapServerDetails defines message 'lisp_map_server_details'.
1754 type LispMapServerDetails struct {
1755 IsIPv6 uint8 `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
1756 IPAddress []byte `binapi:"u8[16],name=ip_address" json:"ip_address,omitempty"`
1759 func (m *LispMapServerDetails) Reset() { *m = LispMapServerDetails{} }
1760 func (*LispMapServerDetails) GetMessageName() string { return "lisp_map_server_details" }
1761 func (*LispMapServerDetails) GetCrcString() string { return "60a5f5ca" }
1762 func (*LispMapServerDetails) GetMessageType() api.MessageType {
1763 return api.ReplyMessage
1766 func (m *LispMapServerDetails) Size() (size int) {
1770 size += 1 // m.IsIPv6
1771 size += 1 * 16 // m.IPAddress
1774 func (m *LispMapServerDetails) Marshal(b []byte) ([]byte, error) {
1776 b = make([]byte, m.Size())
1778 buf := codec.NewBuffer(b)
1779 buf.EncodeUint8(m.IsIPv6)
1780 buf.EncodeBytes(m.IPAddress, 16)
1781 return buf.Bytes(), nil
1783 func (m *LispMapServerDetails) Unmarshal(b []byte) error {
1784 buf := codec.NewBuffer(b)
1785 m.IsIPv6 = buf.DecodeUint8()
1786 m.IPAddress = make([]byte, 16)
1787 copy(m.IPAddress, buf.DecodeBytes(len(m.IPAddress)))
1791 // LispMapServerDump defines message 'lisp_map_server_dump'.
1792 type LispMapServerDump struct{}
1794 func (m *LispMapServerDump) Reset() { *m = LispMapServerDump{} }
1795 func (*LispMapServerDump) GetMessageName() string { return "lisp_map_server_dump" }
1796 func (*LispMapServerDump) GetCrcString() string { return "51077d14" }
1797 func (*LispMapServerDump) GetMessageType() api.MessageType {
1798 return api.RequestMessage
1801 func (m *LispMapServerDump) Size() (size int) {
1807 func (m *LispMapServerDump) Marshal(b []byte) ([]byte, error) {
1809 b = make([]byte, m.Size())
1811 buf := codec.NewBuffer(b)
1812 return buf.Bytes(), nil
1814 func (m *LispMapServerDump) Unmarshal(b []byte) error {
1818 // LispPitrSetLocatorSet defines message 'lisp_pitr_set_locator_set'.
1819 type LispPitrSetLocatorSet struct {
1820 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
1821 LsName []byte `binapi:"u8[64],name=ls_name" json:"ls_name,omitempty"`
1824 func (m *LispPitrSetLocatorSet) Reset() { *m = LispPitrSetLocatorSet{} }
1825 func (*LispPitrSetLocatorSet) GetMessageName() string { return "lisp_pitr_set_locator_set" }
1826 func (*LispPitrSetLocatorSet) GetCrcString() string { return "7aa022dd" }
1827 func (*LispPitrSetLocatorSet) GetMessageType() api.MessageType {
1828 return api.RequestMessage
1831 func (m *LispPitrSetLocatorSet) Size() (size int) {
1835 size += 1 // m.IsAdd
1836 size += 1 * 64 // m.LsName
1839 func (m *LispPitrSetLocatorSet) Marshal(b []byte) ([]byte, error) {
1841 b = make([]byte, m.Size())
1843 buf := codec.NewBuffer(b)
1844 buf.EncodeUint8(m.IsAdd)
1845 buf.EncodeBytes(m.LsName, 64)
1846 return buf.Bytes(), nil
1848 func (m *LispPitrSetLocatorSet) Unmarshal(b []byte) error {
1849 buf := codec.NewBuffer(b)
1850 m.IsAdd = buf.DecodeUint8()
1851 m.LsName = make([]byte, 64)
1852 copy(m.LsName, buf.DecodeBytes(len(m.LsName)))
1856 // LispPitrSetLocatorSetReply defines message 'lisp_pitr_set_locator_set_reply'.
1857 type LispPitrSetLocatorSetReply struct {
1858 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1861 func (m *LispPitrSetLocatorSetReply) Reset() { *m = LispPitrSetLocatorSetReply{} }
1862 func (*LispPitrSetLocatorSetReply) GetMessageName() string { return "lisp_pitr_set_locator_set_reply" }
1863 func (*LispPitrSetLocatorSetReply) GetCrcString() string { return "e8d4e804" }
1864 func (*LispPitrSetLocatorSetReply) GetMessageType() api.MessageType {
1865 return api.ReplyMessage
1868 func (m *LispPitrSetLocatorSetReply) Size() (size int) {
1872 size += 4 // m.Retval
1875 func (m *LispPitrSetLocatorSetReply) Marshal(b []byte) ([]byte, error) {
1877 b = make([]byte, m.Size())
1879 buf := codec.NewBuffer(b)
1880 buf.EncodeInt32(m.Retval)
1881 return buf.Bytes(), nil
1883 func (m *LispPitrSetLocatorSetReply) Unmarshal(b []byte) error {
1884 buf := codec.NewBuffer(b)
1885 m.Retval = buf.DecodeInt32()
1889 // LispRlocProbeEnableDisable defines message 'lisp_rloc_probe_enable_disable'.
1890 type LispRlocProbeEnableDisable struct {
1891 IsEnabled uint8 `binapi:"u8,name=is_enabled" json:"is_enabled,omitempty"`
1894 func (m *LispRlocProbeEnableDisable) Reset() { *m = LispRlocProbeEnableDisable{} }
1895 func (*LispRlocProbeEnableDisable) GetMessageName() string { return "lisp_rloc_probe_enable_disable" }
1896 func (*LispRlocProbeEnableDisable) GetCrcString() string { return "294103d1" }
1897 func (*LispRlocProbeEnableDisable) GetMessageType() api.MessageType {
1898 return api.RequestMessage
1901 func (m *LispRlocProbeEnableDisable) Size() (size int) {
1905 size += 1 // m.IsEnabled
1908 func (m *LispRlocProbeEnableDisable) Marshal(b []byte) ([]byte, error) {
1910 b = make([]byte, m.Size())
1912 buf := codec.NewBuffer(b)
1913 buf.EncodeUint8(m.IsEnabled)
1914 return buf.Bytes(), nil
1916 func (m *LispRlocProbeEnableDisable) Unmarshal(b []byte) error {
1917 buf := codec.NewBuffer(b)
1918 m.IsEnabled = buf.DecodeUint8()
1922 // LispRlocProbeEnableDisableReply defines message 'lisp_rloc_probe_enable_disable_reply'.
1923 type LispRlocProbeEnableDisableReply struct {
1924 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
1927 func (m *LispRlocProbeEnableDisableReply) Reset() { *m = LispRlocProbeEnableDisableReply{} }
1928 func (*LispRlocProbeEnableDisableReply) GetMessageName() string {
1929 return "lisp_rloc_probe_enable_disable_reply"
1931 func (*LispRlocProbeEnableDisableReply) GetCrcString() string { return "e8d4e804" }
1932 func (*LispRlocProbeEnableDisableReply) GetMessageType() api.MessageType {
1933 return api.ReplyMessage
1936 func (m *LispRlocProbeEnableDisableReply) Size() (size int) {
1940 size += 4 // m.Retval
1943 func (m *LispRlocProbeEnableDisableReply) Marshal(b []byte) ([]byte, error) {
1945 b = make([]byte, m.Size())
1947 buf := codec.NewBuffer(b)
1948 buf.EncodeInt32(m.Retval)
1949 return buf.Bytes(), nil
1951 func (m *LispRlocProbeEnableDisableReply) Unmarshal(b []byte) error {
1952 buf := codec.NewBuffer(b)
1953 m.Retval = buf.DecodeInt32()
1957 // LispUsePetr defines message 'lisp_use_petr'.
1958 type LispUsePetr struct {
1959 IsIP4 uint8 `binapi:"u8,name=is_ip4" json:"is_ip4,omitempty"`
1960 Address []byte `binapi:"u8[16],name=address" json:"address,omitempty"`
1961 IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
1964 func (m *LispUsePetr) Reset() { *m = LispUsePetr{} }
1965 func (*LispUsePetr) GetMessageName() string { return "lisp_use_petr" }
1966 func (*LispUsePetr) GetCrcString() string { return "6910787d" }
1967 func (*LispUsePetr) GetMessageType() api.MessageType {
1968 return api.RequestMessage
1971 func (m *LispUsePetr) Size() (size int) {
1975 size += 1 // m.IsIP4
1976 size += 1 * 16 // m.Address
1977 size += 1 // m.IsAdd
1980 func (m *LispUsePetr) Marshal(b []byte) ([]byte, error) {
1982 b = make([]byte, m.Size())
1984 buf := codec.NewBuffer(b)
1985 buf.EncodeUint8(m.IsIP4)
1986 buf.EncodeBytes(m.Address, 16)
1987 buf.EncodeUint8(m.IsAdd)
1988 return buf.Bytes(), nil
1990 func (m *LispUsePetr) Unmarshal(b []byte) error {
1991 buf := codec.NewBuffer(b)
1992 m.IsIP4 = buf.DecodeUint8()
1993 m.Address = make([]byte, 16)
1994 copy(m.Address, buf.DecodeBytes(len(m.Address)))
1995 m.IsAdd = buf.DecodeUint8()
1999 // LispUsePetrReply defines message 'lisp_use_petr_reply'.
2000 type LispUsePetrReply struct {
2001 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2004 func (m *LispUsePetrReply) Reset() { *m = LispUsePetrReply{} }
2005 func (*LispUsePetrReply) GetMessageName() string { return "lisp_use_petr_reply" }
2006 func (*LispUsePetrReply) GetCrcString() string { return "e8d4e804" }
2007 func (*LispUsePetrReply) GetMessageType() api.MessageType {
2008 return api.ReplyMessage
2011 func (m *LispUsePetrReply) Size() (size int) {
2015 size += 4 // m.Retval
2018 func (m *LispUsePetrReply) Marshal(b []byte) ([]byte, error) {
2020 b = make([]byte, m.Size())
2022 buf := codec.NewBuffer(b)
2023 buf.EncodeInt32(m.Retval)
2024 return buf.Bytes(), nil
2026 func (m *LispUsePetrReply) Unmarshal(b []byte) error {
2027 buf := codec.NewBuffer(b)
2028 m.Retval = buf.DecodeInt32()
2032 // ShowLispMapRegisterState defines message 'show_lisp_map_register_state'.
2033 type ShowLispMapRegisterState struct{}
2035 func (m *ShowLispMapRegisterState) Reset() { *m = ShowLispMapRegisterState{} }
2036 func (*ShowLispMapRegisterState) GetMessageName() string { return "show_lisp_map_register_state" }
2037 func (*ShowLispMapRegisterState) GetCrcString() string { return "51077d14" }
2038 func (*ShowLispMapRegisterState) GetMessageType() api.MessageType {
2039 return api.RequestMessage
2042 func (m *ShowLispMapRegisterState) Size() (size int) {
2048 func (m *ShowLispMapRegisterState) Marshal(b []byte) ([]byte, error) {
2050 b = make([]byte, m.Size())
2052 buf := codec.NewBuffer(b)
2053 return buf.Bytes(), nil
2055 func (m *ShowLispMapRegisterState) Unmarshal(b []byte) error {
2059 // ShowLispMapRegisterStateReply defines message 'show_lisp_map_register_state_reply'.
2060 type ShowLispMapRegisterStateReply struct {
2061 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2062 IsEnabled uint8 `binapi:"u8,name=is_enabled" json:"is_enabled,omitempty"`
2065 func (m *ShowLispMapRegisterStateReply) Reset() { *m = ShowLispMapRegisterStateReply{} }
2066 func (*ShowLispMapRegisterStateReply) GetMessageName() string {
2067 return "show_lisp_map_register_state_reply"
2069 func (*ShowLispMapRegisterStateReply) GetCrcString() string { return "14304fbc" }
2070 func (*ShowLispMapRegisterStateReply) GetMessageType() api.MessageType {
2071 return api.ReplyMessage
2074 func (m *ShowLispMapRegisterStateReply) Size() (size int) {
2078 size += 4 // m.Retval
2079 size += 1 // m.IsEnabled
2082 func (m *ShowLispMapRegisterStateReply) Marshal(b []byte) ([]byte, error) {
2084 b = make([]byte, m.Size())
2086 buf := codec.NewBuffer(b)
2087 buf.EncodeInt32(m.Retval)
2088 buf.EncodeUint8(m.IsEnabled)
2089 return buf.Bytes(), nil
2091 func (m *ShowLispMapRegisterStateReply) Unmarshal(b []byte) error {
2092 buf := codec.NewBuffer(b)
2093 m.Retval = buf.DecodeInt32()
2094 m.IsEnabled = buf.DecodeUint8()
2098 // ShowLispMapRequestMode defines message 'show_lisp_map_request_mode'.
2099 type ShowLispMapRequestMode struct{}
2101 func (m *ShowLispMapRequestMode) Reset() { *m = ShowLispMapRequestMode{} }
2102 func (*ShowLispMapRequestMode) GetMessageName() string { return "show_lisp_map_request_mode" }
2103 func (*ShowLispMapRequestMode) GetCrcString() string { return "51077d14" }
2104 func (*ShowLispMapRequestMode) GetMessageType() api.MessageType {
2105 return api.RequestMessage
2108 func (m *ShowLispMapRequestMode) Size() (size int) {
2114 func (m *ShowLispMapRequestMode) Marshal(b []byte) ([]byte, error) {
2116 b = make([]byte, m.Size())
2118 buf := codec.NewBuffer(b)
2119 return buf.Bytes(), nil
2121 func (m *ShowLispMapRequestMode) Unmarshal(b []byte) error {
2125 // ShowLispMapRequestModeReply defines message 'show_lisp_map_request_mode_reply'.
2126 type ShowLispMapRequestModeReply struct {
2127 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2128 Mode uint8 `binapi:"u8,name=mode" json:"mode,omitempty"`
2131 func (m *ShowLispMapRequestModeReply) Reset() { *m = ShowLispMapRequestModeReply{} }
2132 func (*ShowLispMapRequestModeReply) GetMessageName() string {
2133 return "show_lisp_map_request_mode_reply"
2135 func (*ShowLispMapRequestModeReply) GetCrcString() string { return "d423107c" }
2136 func (*ShowLispMapRequestModeReply) GetMessageType() api.MessageType {
2137 return api.ReplyMessage
2140 func (m *ShowLispMapRequestModeReply) Size() (size int) {
2144 size += 4 // m.Retval
2148 func (m *ShowLispMapRequestModeReply) Marshal(b []byte) ([]byte, error) {
2150 b = make([]byte, m.Size())
2152 buf := codec.NewBuffer(b)
2153 buf.EncodeInt32(m.Retval)
2154 buf.EncodeUint8(m.Mode)
2155 return buf.Bytes(), nil
2157 func (m *ShowLispMapRequestModeReply) Unmarshal(b []byte) error {
2158 buf := codec.NewBuffer(b)
2159 m.Retval = buf.DecodeInt32()
2160 m.Mode = buf.DecodeUint8()
2164 // ShowLispPitr defines message 'show_lisp_pitr'.
2165 type ShowLispPitr struct{}
2167 func (m *ShowLispPitr) Reset() { *m = ShowLispPitr{} }
2168 func (*ShowLispPitr) GetMessageName() string { return "show_lisp_pitr" }
2169 func (*ShowLispPitr) GetCrcString() string { return "51077d14" }
2170 func (*ShowLispPitr) GetMessageType() api.MessageType {
2171 return api.RequestMessage
2174 func (m *ShowLispPitr) Size() (size int) {
2180 func (m *ShowLispPitr) Marshal(b []byte) ([]byte, error) {
2182 b = make([]byte, m.Size())
2184 buf := codec.NewBuffer(b)
2185 return buf.Bytes(), nil
2187 func (m *ShowLispPitr) Unmarshal(b []byte) error {
2191 // ShowLispPitrReply defines message 'show_lisp_pitr_reply'.
2192 type ShowLispPitrReply struct {
2193 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2194 Status uint8 `binapi:"u8,name=status" json:"status,omitempty"`
2195 LocatorSetName []byte `binapi:"u8[64],name=locator_set_name" json:"locator_set_name,omitempty"`
2198 func (m *ShowLispPitrReply) Reset() { *m = ShowLispPitrReply{} }
2199 func (*ShowLispPitrReply) GetMessageName() string { return "show_lisp_pitr_reply" }
2200 func (*ShowLispPitrReply) GetCrcString() string { return "dca512cc" }
2201 func (*ShowLispPitrReply) GetMessageType() api.MessageType {
2202 return api.ReplyMessage
2205 func (m *ShowLispPitrReply) Size() (size int) {
2209 size += 4 // m.Retval
2210 size += 1 // m.Status
2211 size += 1 * 64 // m.LocatorSetName
2214 func (m *ShowLispPitrReply) Marshal(b []byte) ([]byte, error) {
2216 b = make([]byte, m.Size())
2218 buf := codec.NewBuffer(b)
2219 buf.EncodeInt32(m.Retval)
2220 buf.EncodeUint8(m.Status)
2221 buf.EncodeBytes(m.LocatorSetName, 64)
2222 return buf.Bytes(), nil
2224 func (m *ShowLispPitrReply) Unmarshal(b []byte) error {
2225 buf := codec.NewBuffer(b)
2226 m.Retval = buf.DecodeInt32()
2227 m.Status = buf.DecodeUint8()
2228 m.LocatorSetName = make([]byte, 64)
2229 copy(m.LocatorSetName, buf.DecodeBytes(len(m.LocatorSetName)))
2233 // ShowLispRlocProbeState defines message 'show_lisp_rloc_probe_state'.
2234 type ShowLispRlocProbeState struct{}
2236 func (m *ShowLispRlocProbeState) Reset() { *m = ShowLispRlocProbeState{} }
2237 func (*ShowLispRlocProbeState) GetMessageName() string { return "show_lisp_rloc_probe_state" }
2238 func (*ShowLispRlocProbeState) GetCrcString() string { return "51077d14" }
2239 func (*ShowLispRlocProbeState) GetMessageType() api.MessageType {
2240 return api.RequestMessage
2243 func (m *ShowLispRlocProbeState) Size() (size int) {
2249 func (m *ShowLispRlocProbeState) Marshal(b []byte) ([]byte, error) {
2251 b = make([]byte, m.Size())
2253 buf := codec.NewBuffer(b)
2254 return buf.Bytes(), nil
2256 func (m *ShowLispRlocProbeState) Unmarshal(b []byte) error {
2260 // ShowLispRlocProbeStateReply defines message 'show_lisp_rloc_probe_state_reply'.
2261 type ShowLispRlocProbeStateReply struct {
2262 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2263 IsEnabled uint8 `binapi:"u8,name=is_enabled" json:"is_enabled,omitempty"`
2266 func (m *ShowLispRlocProbeStateReply) Reset() { *m = ShowLispRlocProbeStateReply{} }
2267 func (*ShowLispRlocProbeStateReply) GetMessageName() string {
2268 return "show_lisp_rloc_probe_state_reply"
2270 func (*ShowLispRlocProbeStateReply) GetCrcString() string { return "14304fbc" }
2271 func (*ShowLispRlocProbeStateReply) GetMessageType() api.MessageType {
2272 return api.ReplyMessage
2275 func (m *ShowLispRlocProbeStateReply) Size() (size int) {
2279 size += 4 // m.Retval
2280 size += 1 // m.IsEnabled
2283 func (m *ShowLispRlocProbeStateReply) Marshal(b []byte) ([]byte, error) {
2285 b = make([]byte, m.Size())
2287 buf := codec.NewBuffer(b)
2288 buf.EncodeInt32(m.Retval)
2289 buf.EncodeUint8(m.IsEnabled)
2290 return buf.Bytes(), nil
2292 func (m *ShowLispRlocProbeStateReply) Unmarshal(b []byte) error {
2293 buf := codec.NewBuffer(b)
2294 m.Retval = buf.DecodeInt32()
2295 m.IsEnabled = buf.DecodeUint8()
2299 // ShowLispStatus defines message 'show_lisp_status'.
2300 type ShowLispStatus struct{}
2302 func (m *ShowLispStatus) Reset() { *m = ShowLispStatus{} }
2303 func (*ShowLispStatus) GetMessageName() string { return "show_lisp_status" }
2304 func (*ShowLispStatus) GetCrcString() string { return "51077d14" }
2305 func (*ShowLispStatus) GetMessageType() api.MessageType {
2306 return api.RequestMessage
2309 func (m *ShowLispStatus) Size() (size int) {
2315 func (m *ShowLispStatus) Marshal(b []byte) ([]byte, error) {
2317 b = make([]byte, m.Size())
2319 buf := codec.NewBuffer(b)
2320 return buf.Bytes(), nil
2322 func (m *ShowLispStatus) Unmarshal(b []byte) error {
2326 // ShowLispStatusReply defines message 'show_lisp_status_reply'.
2327 type ShowLispStatusReply struct {
2328 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2329 FeatureStatus uint8 `binapi:"u8,name=feature_status" json:"feature_status,omitempty"`
2330 GpeStatus uint8 `binapi:"u8,name=gpe_status" json:"gpe_status,omitempty"`
2333 func (m *ShowLispStatusReply) Reset() { *m = ShowLispStatusReply{} }
2334 func (*ShowLispStatusReply) GetMessageName() string { return "show_lisp_status_reply" }
2335 func (*ShowLispStatusReply) GetCrcString() string { return "ddcf48ef" }
2336 func (*ShowLispStatusReply) GetMessageType() api.MessageType {
2337 return api.ReplyMessage
2340 func (m *ShowLispStatusReply) Size() (size int) {
2344 size += 4 // m.Retval
2345 size += 1 // m.FeatureStatus
2346 size += 1 // m.GpeStatus
2349 func (m *ShowLispStatusReply) Marshal(b []byte) ([]byte, error) {
2351 b = make([]byte, m.Size())
2353 buf := codec.NewBuffer(b)
2354 buf.EncodeInt32(m.Retval)
2355 buf.EncodeUint8(m.FeatureStatus)
2356 buf.EncodeUint8(m.GpeStatus)
2357 return buf.Bytes(), nil
2359 func (m *ShowLispStatusReply) Unmarshal(b []byte) error {
2360 buf := codec.NewBuffer(b)
2361 m.Retval = buf.DecodeInt32()
2362 m.FeatureStatus = buf.DecodeUint8()
2363 m.GpeStatus = buf.DecodeUint8()
2367 // ShowLispUsePetr defines message 'show_lisp_use_petr'.
2368 type ShowLispUsePetr struct{}
2370 func (m *ShowLispUsePetr) Reset() { *m = ShowLispUsePetr{} }
2371 func (*ShowLispUsePetr) GetMessageName() string { return "show_lisp_use_petr" }
2372 func (*ShowLispUsePetr) GetCrcString() string { return "51077d14" }
2373 func (*ShowLispUsePetr) GetMessageType() api.MessageType {
2374 return api.RequestMessage
2377 func (m *ShowLispUsePetr) Size() (size int) {
2383 func (m *ShowLispUsePetr) Marshal(b []byte) ([]byte, error) {
2385 b = make([]byte, m.Size())
2387 buf := codec.NewBuffer(b)
2388 return buf.Bytes(), nil
2390 func (m *ShowLispUsePetr) Unmarshal(b []byte) error {
2394 // ShowLispUsePetrReply defines message 'show_lisp_use_petr_reply'.
2395 type ShowLispUsePetrReply struct {
2396 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
2397 Status uint8 `binapi:"u8,name=status" json:"status,omitempty"`
2398 IsIP4 uint8 `binapi:"u8,name=is_ip4" json:"is_ip4,omitempty"`
2399 Address []byte `binapi:"u8[16],name=address" json:"address,omitempty"`
2402 func (m *ShowLispUsePetrReply) Reset() { *m = ShowLispUsePetrReply{} }
2403 func (*ShowLispUsePetrReply) GetMessageName() string { return "show_lisp_use_petr_reply" }
2404 func (*ShowLispUsePetrReply) GetCrcString() string { return "1eb21916" }
2405 func (*ShowLispUsePetrReply) GetMessageType() api.MessageType {
2406 return api.ReplyMessage
2409 func (m *ShowLispUsePetrReply) Size() (size int) {
2413 size += 4 // m.Retval
2414 size += 1 // m.Status
2415 size += 1 // m.IsIP4
2416 size += 1 * 16 // m.Address
2419 func (m *ShowLispUsePetrReply) Marshal(b []byte) ([]byte, error) {
2421 b = make([]byte, m.Size())
2423 buf := codec.NewBuffer(b)
2424 buf.EncodeInt32(m.Retval)
2425 buf.EncodeUint8(m.Status)
2426 buf.EncodeUint8(m.IsIP4)
2427 buf.EncodeBytes(m.Address, 16)
2428 return buf.Bytes(), nil
2430 func (m *ShowLispUsePetrReply) Unmarshal(b []byte) error {
2431 buf := codec.NewBuffer(b)
2432 m.Retval = buf.DecodeInt32()
2433 m.Status = buf.DecodeUint8()
2434 m.IsIP4 = buf.DecodeUint8()
2435 m.Address = make([]byte, 16)
2436 copy(m.Address, buf.DecodeBytes(len(m.Address)))
2440 func init() { file_lisp_binapi_init() }
2441 func file_lisp_binapi_init() {
2442 api.RegisterMessage((*LispAddDelAdjacency)(nil), "lisp_add_del_adjacency_f047390d")
2443 api.RegisterMessage((*LispAddDelAdjacencyReply)(nil), "lisp_add_del_adjacency_reply_e8d4e804")
2444 api.RegisterMessage((*LispAddDelLocalEid)(nil), "lisp_add_del_local_eid_e6d00717")
2445 api.RegisterMessage((*LispAddDelLocalEidReply)(nil), "lisp_add_del_local_eid_reply_e8d4e804")
2446 api.RegisterMessage((*LispAddDelLocator)(nil), "lisp_add_del_locator_006a4240")
2447 api.RegisterMessage((*LispAddDelLocatorReply)(nil), "lisp_add_del_locator_reply_e8d4e804")
2448 api.RegisterMessage((*LispAddDelLocatorSet)(nil), "lisp_add_del_locator_set_06968e38")
2449 api.RegisterMessage((*LispAddDelLocatorSetReply)(nil), "lisp_add_del_locator_set_reply_b6666db4")
2450 api.RegisterMessage((*LispAddDelMapRequestItrRlocs)(nil), "lisp_add_del_map_request_itr_rlocs_c7c6cb2f")
2451 api.RegisterMessage((*LispAddDelMapRequestItrRlocsReply)(nil), "lisp_add_del_map_request_itr_rlocs_reply_e8d4e804")
2452 api.RegisterMessage((*LispAddDelMapResolver)(nil), "lisp_add_del_map_resolver_0ebcd37d")
2453 api.RegisterMessage((*LispAddDelMapResolverReply)(nil), "lisp_add_del_map_resolver_reply_e8d4e804")
2454 api.RegisterMessage((*LispAddDelMapServer)(nil), "lisp_add_del_map_server_0ebcd37d")
2455 api.RegisterMessage((*LispAddDelMapServerReply)(nil), "lisp_add_del_map_server_reply_e8d4e804")
2456 api.RegisterMessage((*LispAddDelRemoteMapping)(nil), "lisp_add_del_remote_mapping_b879c3a9")
2457 api.RegisterMessage((*LispAddDelRemoteMappingReply)(nil), "lisp_add_del_remote_mapping_reply_e8d4e804")
2458 api.RegisterMessage((*LispAdjacenciesGet)(nil), "lisp_adjacencies_get_8d1f2fe9")
2459 api.RegisterMessage((*LispAdjacenciesGetReply)(nil), "lisp_adjacencies_get_reply_ada0f464")
2460 api.RegisterMessage((*LispEidTableAddDelMap)(nil), "lisp_eid_table_add_del_map_59e9975e")
2461 api.RegisterMessage((*LispEidTableAddDelMapReply)(nil), "lisp_eid_table_add_del_map_reply_e8d4e804")
2462 api.RegisterMessage((*LispEidTableDetails)(nil), "lisp_eid_table_details_dcd9f414")
2463 api.RegisterMessage((*LispEidTableDump)(nil), "lisp_eid_table_dump_e0df64da")
2464 api.RegisterMessage((*LispEidTableMapDetails)(nil), "lisp_eid_table_map_details_0b6859e2")
2465 api.RegisterMessage((*LispEidTableMapDump)(nil), "lisp_eid_table_map_dump_67c54650")
2466 api.RegisterMessage((*LispEidTableVniDetails)(nil), "lisp_eid_table_vni_details_64abc01e")
2467 api.RegisterMessage((*LispEidTableVniDump)(nil), "lisp_eid_table_vni_dump_51077d14")
2468 api.RegisterMessage((*LispEnableDisable)(nil), "lisp_enable_disable_eb0e943b")
2469 api.RegisterMessage((*LispEnableDisableReply)(nil), "lisp_enable_disable_reply_e8d4e804")
2470 api.RegisterMessage((*LispGetMapRequestItrRlocs)(nil), "lisp_get_map_request_itr_rlocs_51077d14")
2471 api.RegisterMessage((*LispGetMapRequestItrRlocsReply)(nil), "lisp_get_map_request_itr_rlocs_reply_9f56f6f7")
2472 api.RegisterMessage((*LispLocatorDetails)(nil), "lisp_locator_details_b3988a30")
2473 api.RegisterMessage((*LispLocatorDump)(nil), "lisp_locator_dump_f27d5050")
2474 api.RegisterMessage((*LispLocatorSetDetails)(nil), "lisp_locator_set_details_6b846882")
2475 api.RegisterMessage((*LispLocatorSetDump)(nil), "lisp_locator_set_dump_c79e8ab0")
2476 api.RegisterMessage((*LispMapRegisterEnableDisable)(nil), "lisp_map_register_enable_disable_294103d1")
2477 api.RegisterMessage((*LispMapRegisterEnableDisableReply)(nil), "lisp_map_register_enable_disable_reply_e8d4e804")
2478 api.RegisterMessage((*LispMapRequestMode)(nil), "lisp_map_request_mode_f3f93ce9")
2479 api.RegisterMessage((*LispMapRequestModeReply)(nil), "lisp_map_request_mode_reply_e8d4e804")
2480 api.RegisterMessage((*LispMapResolverDetails)(nil), "lisp_map_resolver_details_60a5f5ca")
2481 api.RegisterMessage((*LispMapResolverDump)(nil), "lisp_map_resolver_dump_51077d14")
2482 api.RegisterMessage((*LispMapServerDetails)(nil), "lisp_map_server_details_60a5f5ca")
2483 api.RegisterMessage((*LispMapServerDump)(nil), "lisp_map_server_dump_51077d14")
2484 api.RegisterMessage((*LispPitrSetLocatorSet)(nil), "lisp_pitr_set_locator_set_7aa022dd")
2485 api.RegisterMessage((*LispPitrSetLocatorSetReply)(nil), "lisp_pitr_set_locator_set_reply_e8d4e804")
2486 api.RegisterMessage((*LispRlocProbeEnableDisable)(nil), "lisp_rloc_probe_enable_disable_294103d1")
2487 api.RegisterMessage((*LispRlocProbeEnableDisableReply)(nil), "lisp_rloc_probe_enable_disable_reply_e8d4e804")
2488 api.RegisterMessage((*LispUsePetr)(nil), "lisp_use_petr_6910787d")
2489 api.RegisterMessage((*LispUsePetrReply)(nil), "lisp_use_petr_reply_e8d4e804")
2490 api.RegisterMessage((*ShowLispMapRegisterState)(nil), "show_lisp_map_register_state_51077d14")
2491 api.RegisterMessage((*ShowLispMapRegisterStateReply)(nil), "show_lisp_map_register_state_reply_14304fbc")
2492 api.RegisterMessage((*ShowLispMapRequestMode)(nil), "show_lisp_map_request_mode_51077d14")
2493 api.RegisterMessage((*ShowLispMapRequestModeReply)(nil), "show_lisp_map_request_mode_reply_d423107c")
2494 api.RegisterMessage((*ShowLispPitr)(nil), "show_lisp_pitr_51077d14")
2495 api.RegisterMessage((*ShowLispPitrReply)(nil), "show_lisp_pitr_reply_dca512cc")
2496 api.RegisterMessage((*ShowLispRlocProbeState)(nil), "show_lisp_rloc_probe_state_51077d14")
2497 api.RegisterMessage((*ShowLispRlocProbeStateReply)(nil), "show_lisp_rloc_probe_state_reply_14304fbc")
2498 api.RegisterMessage((*ShowLispStatus)(nil), "show_lisp_status_51077d14")
2499 api.RegisterMessage((*ShowLispStatusReply)(nil), "show_lisp_status_reply_ddcf48ef")
2500 api.RegisterMessage((*ShowLispUsePetr)(nil), "show_lisp_use_petr_51077d14")
2501 api.RegisterMessage((*ShowLispUsePetrReply)(nil), "show_lisp_use_petr_reply_1eb21916")
2504 // Messages returns list of all messages in this module.
2505 func AllMessages() []api.Message {
2506 return []api.Message{
2507 (*LispAddDelAdjacency)(nil),
2508 (*LispAddDelAdjacencyReply)(nil),
2509 (*LispAddDelLocalEid)(nil),
2510 (*LispAddDelLocalEidReply)(nil),
2511 (*LispAddDelLocator)(nil),
2512 (*LispAddDelLocatorReply)(nil),
2513 (*LispAddDelLocatorSet)(nil),
2514 (*LispAddDelLocatorSetReply)(nil),
2515 (*LispAddDelMapRequestItrRlocs)(nil),
2516 (*LispAddDelMapRequestItrRlocsReply)(nil),
2517 (*LispAddDelMapResolver)(nil),
2518 (*LispAddDelMapResolverReply)(nil),
2519 (*LispAddDelMapServer)(nil),
2520 (*LispAddDelMapServerReply)(nil),
2521 (*LispAddDelRemoteMapping)(nil),
2522 (*LispAddDelRemoteMappingReply)(nil),
2523 (*LispAdjacenciesGet)(nil),
2524 (*LispAdjacenciesGetReply)(nil),
2525 (*LispEidTableAddDelMap)(nil),
2526 (*LispEidTableAddDelMapReply)(nil),
2527 (*LispEidTableDetails)(nil),
2528 (*LispEidTableDump)(nil),
2529 (*LispEidTableMapDetails)(nil),
2530 (*LispEidTableMapDump)(nil),
2531 (*LispEidTableVniDetails)(nil),
2532 (*LispEidTableVniDump)(nil),
2533 (*LispEnableDisable)(nil),
2534 (*LispEnableDisableReply)(nil),
2535 (*LispGetMapRequestItrRlocs)(nil),
2536 (*LispGetMapRequestItrRlocsReply)(nil),
2537 (*LispLocatorDetails)(nil),
2538 (*LispLocatorDump)(nil),
2539 (*LispLocatorSetDetails)(nil),
2540 (*LispLocatorSetDump)(nil),
2541 (*LispMapRegisterEnableDisable)(nil),
2542 (*LispMapRegisterEnableDisableReply)(nil),
2543 (*LispMapRequestMode)(nil),
2544 (*LispMapRequestModeReply)(nil),
2545 (*LispMapResolverDetails)(nil),
2546 (*LispMapResolverDump)(nil),
2547 (*LispMapServerDetails)(nil),
2548 (*LispMapServerDump)(nil),
2549 (*LispPitrSetLocatorSet)(nil),
2550 (*LispPitrSetLocatorSetReply)(nil),
2551 (*LispRlocProbeEnableDisable)(nil),
2552 (*LispRlocProbeEnableDisableReply)(nil),
2553 (*LispUsePetr)(nil),
2554 (*LispUsePetrReply)(nil),
2555 (*ShowLispMapRegisterState)(nil),
2556 (*ShowLispMapRegisterStateReply)(nil),
2557 (*ShowLispMapRequestMode)(nil),
2558 (*ShowLispMapRequestModeReply)(nil),
2559 (*ShowLispPitr)(nil),
2560 (*ShowLispPitrReply)(nil),
2561 (*ShowLispRlocProbeState)(nil),
2562 (*ShowLispRlocProbeStateReply)(nil),
2563 (*ShowLispStatus)(nil),
2564 (*ShowLispStatusReply)(nil),
2565 (*ShowLispUsePetr)(nil),
2566 (*ShowLispUsePetrReply)(nil),