lisp

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package lisp is a generated VPP binary API for 'lisp' module.

It consists of:

13 enums
 7 aliases
12 types
 2 unions
60 messages
30 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "lisp"
	// APIVersion is the API version of this module.
	APIVersion = "2.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xf2d169ad
)

Variables

View Source
var AddressFamily_name = map[uint8]string{
	0: "ADDRESS_IP4",
	1: "ADDRESS_IP6",
}
View Source
var AddressFamily_value = map[string]uint8{
	"ADDRESS_IP4": 0,
	"ADDRESS_IP6": 1,
}
View Source
var EidType_name = map[uint8]string{
	0: "EID_TYPE_API_PREFIX",
	1: "EID_TYPE_API_MAC",
	2: "EID_TYPE_API_NSH",
}
View Source
var EidType_value = map[string]uint8{
	"EID_TYPE_API_PREFIX": 0,
	"EID_TYPE_API_MAC":    1,
	"EID_TYPE_API_NSH":    2,
}
View Source
var HmacKeyID_name = map[uint8]string{
	0: "KEY_ID_API_HMAC_NO_KEY",
	1: "KEY_ID_API_HMAC_SHA_1_96",
	2: "KEY_ID_API_HMAC_SHA_256_128",
}
View Source
var HmacKeyID_value = map[string]uint8{
	"KEY_ID_API_HMAC_NO_KEY":      0,
	"KEY_ID_API_HMAC_SHA_1_96":    1,
	"KEY_ID_API_HMAC_SHA_256_128": 2,
}
View Source
var IPDscp_name = map[uint8]string{
	0:  "IP_API_DSCP_CS0",
	8:  "IP_API_DSCP_CS1",
	10: "IP_API_DSCP_AF11",
	12: "IP_API_DSCP_AF12",
	14: "IP_API_DSCP_AF13",
	16: "IP_API_DSCP_CS2",
	18: "IP_API_DSCP_AF21",
	20: "IP_API_DSCP_AF22",
	22: "IP_API_DSCP_AF23",
	24: "IP_API_DSCP_CS3",
	26: "IP_API_DSCP_AF31",
	28: "IP_API_DSCP_AF32",
	30: "IP_API_DSCP_AF33",
	32: "IP_API_DSCP_CS4",
	34: "IP_API_DSCP_AF41",
	36: "IP_API_DSCP_AF42",
	38: "IP_API_DSCP_AF43",
	40: "IP_API_DSCP_CS5",
	46: "IP_API_DSCP_EF",
	48: "IP_API_DSCP_CS6",
	50: "IP_API_DSCP_CS7",
}
View Source
var IPDscp_value = map[string]uint8{
	"IP_API_DSCP_CS0":  0,
	"IP_API_DSCP_CS1":  8,
	"IP_API_DSCP_AF11": 10,
	"IP_API_DSCP_AF12": 12,
	"IP_API_DSCP_AF13": 14,
	"IP_API_DSCP_CS2":  16,
	"IP_API_DSCP_AF21": 18,
	"IP_API_DSCP_AF22": 20,
	"IP_API_DSCP_AF23": 22,
	"IP_API_DSCP_CS3":  24,
	"IP_API_DSCP_AF31": 26,
	"IP_API_DSCP_AF32": 28,
	"IP_API_DSCP_AF33": 30,
	"IP_API_DSCP_CS4":  32,
	"IP_API_DSCP_AF41": 34,
	"IP_API_DSCP_AF42": 36,
	"IP_API_DSCP_AF43": 38,
	"IP_API_DSCP_CS5":  40,
	"IP_API_DSCP_EF":   46,
	"IP_API_DSCP_CS6":  48,
	"IP_API_DSCP_CS7":  50,
}
View Source
var IPEcn_name = map[uint8]string{
	0: "IP_API_ECN_NONE",
	1: "IP_API_ECN_ECT0",
	2: "IP_API_ECN_ECT1",
	3: "IP_API_ECN_CE",
}
View Source
var IPEcn_value = map[string]uint8{
	"IP_API_ECN_NONE": 0,
	"IP_API_ECN_ECT0": 1,
	"IP_API_ECN_ECT1": 2,
	"IP_API_ECN_CE":   3,
}
View Source
var IPProto_name = map[uint8]string{
	0:   "IP_API_PROTO_HOPOPT",
	1:   "IP_API_PROTO_ICMP",
	2:   "IP_API_PROTO_IGMP",
	6:   "IP_API_PROTO_TCP",
	17:  "IP_API_PROTO_UDP",
	47:  "IP_API_PROTO_GRE",
	50:  "IP_API_PROTO_ESP",
	51:  "IP_API_PROTO_AH",
	58:  "IP_API_PROTO_ICMP6",
	88:  "IP_API_PROTO_EIGRP",
	89:  "IP_API_PROTO_OSPF",
	132: "IP_API_PROTO_SCTP",
	255: "IP_API_PROTO_RESERVED",
}
View Source
var IPProto_value = map[string]uint8{
	"IP_API_PROTO_HOPOPT":   0,
	"IP_API_PROTO_ICMP":     1,
	"IP_API_PROTO_IGMP":     2,
	"IP_API_PROTO_TCP":      6,
	"IP_API_PROTO_UDP":      17,
	"IP_API_PROTO_GRE":      47,
	"IP_API_PROTO_ESP":      50,
	"IP_API_PROTO_AH":       51,
	"IP_API_PROTO_ICMP6":    58,
	"IP_API_PROTO_EIGRP":    88,
	"IP_API_PROTO_OSPF":     89,
	"IP_API_PROTO_SCTP":     132,
	"IP_API_PROTO_RESERVED": 255,
}
View Source
var IfStatusFlags_name = map[uint32]string{
	1: "IF_STATUS_API_FLAG_ADMIN_UP",
	2: "IF_STATUS_API_FLAG_LINK_UP",
}
View Source
var IfStatusFlags_value = map[string]uint32{
	"IF_STATUS_API_FLAG_ADMIN_UP": 1,
	"IF_STATUS_API_FLAG_LINK_UP":  2,
}
View Source
var IfType_name = map[uint32]string{
	0: "IF_API_TYPE_HARDWARE",
	1: "IF_API_TYPE_SUB",
	2: "IF_API_TYPE_P2P",
	3: "IF_API_TYPE_PIPE",
}
View Source
var IfType_value = map[string]uint32{
	"IF_API_TYPE_HARDWARE": 0,
	"IF_API_TYPE_SUB":      1,
	"IF_API_TYPE_P2P":      2,
	"IF_API_TYPE_PIPE":     3,
}
View Source
var LinkDuplex_name = map[uint32]string{
	0: "LINK_DUPLEX_API_UNKNOWN",
	1: "LINK_DUPLEX_API_HALF",
	2: "LINK_DUPLEX_API_FULL",
}
View Source
var LinkDuplex_value = map[string]uint32{
	"LINK_DUPLEX_API_UNKNOWN": 0,
	"LINK_DUPLEX_API_HALF":    1,
	"LINK_DUPLEX_API_FULL":    2,
}
View Source
var LispLocatorSetFilter_name = map[uint8]string{
	0: "LISP_LOCATOR_SET_FILTER_API_ALL",
	1: "LISP_LOCATOR_SET_FILTER_API_LOCAL",
	2: "LISP_LOCATOR_SET_FILTER_API_REMOTE",
}
View Source
var LispLocatorSetFilter_value = map[string]uint8{
	"LISP_LOCATOR_SET_FILTER_API_ALL":    0,
	"LISP_LOCATOR_SET_FILTER_API_LOCAL":  1,
	"LISP_LOCATOR_SET_FILTER_API_REMOTE": 2,
}
View Source
var MtuProto_name = map[uint32]string{
	0: "MTU_PROTO_API_L3",
	1: "MTU_PROTO_API_IP4",
	2: "MTU_PROTO_API_IP6",
	3: "MTU_PROTO_API_MPLS",
}
View Source
var MtuProto_value = map[string]uint32{
	"MTU_PROTO_API_L3":   0,
	"MTU_PROTO_API_IP4":  1,
	"MTU_PROTO_API_IP6":  2,
	"MTU_PROTO_API_MPLS": 3,
}
View Source
var RxMode_name = map[uint32]string{
	0: "RX_MODE_API_UNKNOWN",
	1: "RX_MODE_API_POLLING",
	2: "RX_MODE_API_INTERRUPT",
	3: "RX_MODE_API_ADAPTIVE",
	4: "RX_MODE_API_DEFAULT",
}
View Source
var RxMode_value = map[string]uint32{
	"RX_MODE_API_UNKNOWN":   0,
	"RX_MODE_API_POLLING":   1,
	"RX_MODE_API_INTERRUPT": 2,
	"RX_MODE_API_ADAPTIVE":  3,
	"RX_MODE_API_DEFAULT":   4,
}
View Source
var SubIfFlags_name = map[uint32]string{
	1:   "SUB_IF_API_FLAG_NO_TAGS",
	2:   "SUB_IF_API_FLAG_ONE_TAG",
	4:   "SUB_IF_API_FLAG_TWO_TAGS",
	8:   "SUB_IF_API_FLAG_DOT1AD",
	16:  "SUB_IF_API_FLAG_EXACT_MATCH",
	32:  "SUB_IF_API_FLAG_DEFAULT",
	64:  "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY",
	128: "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY",
	254: "SUB_IF_API_FLAG_MASK_VNET",
	256: "SUB_IF_API_FLAG_DOT1AH",
}
View Source
var SubIfFlags_value = map[string]uint32{
	"SUB_IF_API_FLAG_NO_TAGS":           1,
	"SUB_IF_API_FLAG_ONE_TAG":           2,
	"SUB_IF_API_FLAG_TWO_TAGS":          4,
	"SUB_IF_API_FLAG_DOT1AD":            8,
	"SUB_IF_API_FLAG_EXACT_MATCH":       16,
	"SUB_IF_API_FLAG_DEFAULT":           32,
	"SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY": 64,
	"SUB_IF_API_FLAG_INNER_VLAN_ID_ANY": 128,
	"SUB_IF_API_FLAG_MASK_VNET":         254,
	"SUB_IF_API_FLAG_DOT1AH":            256,
}

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address

type Address struct {
	Af AddressFamily
	Un AddressUnion
}

Address represents VPP binary API type 'address'.

func (*Address) GetTypeName

func (*Address) GetTypeName() string

type AddressFamily

type AddressFamily uint8

AddressFamily represents VPP binary API enum 'address_family'.

const (
	ADDRESS_IP4 AddressFamily = 0
	ADDRESS_IP6 AddressFamily = 1
)

func (AddressFamily) String

func (x AddressFamily) String() string

type AddressUnion

type AddressUnion struct {
	XXX_UnionData [16]byte
}

AddressUnion represents VPP binary API union 'address_union'.

func AddressUnionIP4

func AddressUnionIP4(a IP4Address) (u AddressUnion)

func AddressUnionIP6

func AddressUnionIP6(a IP6Address) (u AddressUnion)

func (*AddressUnion) GetIP4

func (u *AddressUnion) GetIP4() (a IP4Address)

func (*AddressUnion) GetIP6

func (u *AddressUnion) GetIP6() (a IP6Address)

func (*AddressUnion) GetTypeName

func (*AddressUnion) GetTypeName() string

func (*AddressUnion) SetIP4

func (u *AddressUnion) SetIP4(a IP4Address)

func (*AddressUnion) SetIP6

func (u *AddressUnion) SetIP6(a IP6Address)

type AddressWithPrefix

type AddressWithPrefix Prefix

AddressWithPrefix represents VPP binary API alias 'address_with_prefix'.

type Eid

type Eid struct {
	Type    EidType
	Address EidAddress
}

Eid represents VPP binary API type 'eid'.

func (*Eid) GetTypeName

func (*Eid) GetTypeName() string

type EidAddress

type EidAddress struct {
	XXX_UnionData [6]byte
}

EidAddress represents VPP binary API union 'eid_address'.

func EidAddressMac

func EidAddressMac(a MacAddress) (u EidAddress)

func EidAddressNsh

func EidAddressNsh(a Nsh) (u EidAddress)

func EidAddressPrefix

func EidAddressPrefix(a Prefix) (u EidAddress)

func (*EidAddress) GetMac

func (u *EidAddress) GetMac() (a MacAddress)

func (*EidAddress) GetNsh

func (u *EidAddress) GetNsh() (a Nsh)

func (*EidAddress) GetPrefix

func (u *EidAddress) GetPrefix() (a Prefix)

func (*EidAddress) GetTypeName

func (*EidAddress) GetTypeName() string

func (*EidAddress) SetMac

func (u *EidAddress) SetMac(a MacAddress)

func (*EidAddress) SetNsh

func (u *EidAddress) SetNsh(a Nsh)

func (*EidAddress) SetPrefix

func (u *EidAddress) SetPrefix(a Prefix)

type EidType

type EidType uint8

EidType represents VPP binary API enum 'eid_type'.

const (
	EID_TYPE_API_PREFIX EidType = 0
	EID_TYPE_API_MAC    EidType = 1
	EID_TYPE_API_NSH    EidType = 2
)

func (EidType) String

func (x EidType) String() string

type HmacKey

type HmacKey struct {
	ID  HmacKeyID
	Key []byte `struc:"[64]byte"`
}

HmacKey represents VPP binary API type 'hmac_key'.

func (*HmacKey) GetTypeName

func (*HmacKey) GetTypeName() string

type HmacKeyID

type HmacKeyID uint8

HmacKeyID represents VPP binary API enum 'hmac_key_id'.

const (
	KEY_ID_API_HMAC_NO_KEY      HmacKeyID = 0
	KEY_ID_API_HMAC_SHA_1_96    HmacKeyID = 1
	KEY_ID_API_HMAC_SHA_256_128 HmacKeyID = 2
)

func (HmacKeyID) String

func (x HmacKeyID) String() string

type IP4Address

type IP4Address [4]uint8

IP4Address represents VPP binary API alias 'ip4_address'.

type IP4AddressWithPrefix

type IP4AddressWithPrefix IP4Prefix

IP4AddressWithPrefix represents VPP binary API alias 'ip4_address_with_prefix'.

type IP4Prefix

type IP4Prefix struct {
	Address IP4Address
	Len     uint8
}

IP4Prefix represents VPP binary API type 'ip4_prefix'.

func (*IP4Prefix) GetTypeName

func (*IP4Prefix) GetTypeName() string

type IP6Address

type IP6Address [16]uint8

IP6Address represents VPP binary API alias 'ip6_address'.

type IP6AddressWithPrefix

type IP6AddressWithPrefix IP6Prefix

IP6AddressWithPrefix represents VPP binary API alias 'ip6_address_with_prefix'.

type IP6Prefix

type IP6Prefix struct {
	Address IP6Address
	Len     uint8
}

IP6Prefix represents VPP binary API type 'ip6_prefix'.

func (*IP6Prefix) GetTypeName

func (*IP6Prefix) GetTypeName() string

type IPDscp

type IPDscp uint8

IPDscp represents VPP binary API enum 'ip_dscp'.

const (
	IP_API_DSCP_CS0  IPDscp = 0
	IP_API_DSCP_CS1  IPDscp = 8
	IP_API_DSCP_AF11 IPDscp = 10
	IP_API_DSCP_AF12 IPDscp = 12
	IP_API_DSCP_AF13 IPDscp = 14
	IP_API_DSCP_CS2  IPDscp = 16
	IP_API_DSCP_AF21 IPDscp = 18
	IP_API_DSCP_AF22 IPDscp = 20
	IP_API_DSCP_AF23 IPDscp = 22
	IP_API_DSCP_CS3  IPDscp = 24
	IP_API_DSCP_AF31 IPDscp = 26
	IP_API_DSCP_AF32 IPDscp = 28
	IP_API_DSCP_AF33 IPDscp = 30
	IP_API_DSCP_CS4  IPDscp = 32
	IP_API_DSCP_AF41 IPDscp = 34
	IP_API_DSCP_AF42 IPDscp = 36
	IP_API_DSCP_AF43 IPDscp = 38
	IP_API_DSCP_CS5  IPDscp = 40
	IP_API_DSCP_EF   IPDscp = 46
	IP_API_DSCP_CS6  IPDscp = 48
	IP_API_DSCP_CS7  IPDscp = 50
)

func (IPDscp) String

func (x IPDscp) String() string

type IPEcn

type IPEcn uint8

IPEcn represents VPP binary API enum 'ip_ecn'.

const (
	IP_API_ECN_NONE IPEcn = 0
	IP_API_ECN_ECT0 IPEcn = 1
	IP_API_ECN_ECT1 IPEcn = 2
	IP_API_ECN_CE   IPEcn = 3
)

func (IPEcn) String

func (x IPEcn) String() string

type IPProto

type IPProto uint8

IPProto represents VPP binary API enum 'ip_proto'.

const (
	IP_API_PROTO_HOPOPT   IPProto = 0
	IP_API_PROTO_ICMP     IPProto = 1
	IP_API_PROTO_IGMP     IPProto = 2
	IP_API_PROTO_TCP      IPProto = 6
	IP_API_PROTO_UDP      IPProto = 17
	IP_API_PROTO_GRE      IPProto = 47
	IP_API_PROTO_ESP      IPProto = 50
	IP_API_PROTO_AH       IPProto = 51
	IP_API_PROTO_ICMP6    IPProto = 58
	IP_API_PROTO_EIGRP    IPProto = 88
	IP_API_PROTO_OSPF     IPProto = 89
	IP_API_PROTO_SCTP     IPProto = 132
	IP_API_PROTO_RESERVED IPProto = 255
)

func (IPProto) String

func (x IPProto) String() string

type IfStatusFlags

type IfStatusFlags uint32

IfStatusFlags represents VPP binary API enum 'if_status_flags'.

const (
	IF_STATUS_API_FLAG_ADMIN_UP IfStatusFlags = 1
	IF_STATUS_API_FLAG_LINK_UP  IfStatusFlags = 2
)

func (IfStatusFlags) String

func (x IfStatusFlags) String() string

type IfType

type IfType uint32

IfType represents VPP binary API enum 'if_type'.

const (
	IF_API_TYPE_HARDWARE IfType = 0
	IF_API_TYPE_SUB      IfType = 1
	IF_API_TYPE_P2P      IfType = 2
	IF_API_TYPE_PIPE     IfType = 3
)

func (IfType) String

func (x IfType) String() string

type InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex represents VPP binary API alias 'interface_index'.

type LinkDuplex

type LinkDuplex uint32

LinkDuplex represents VPP binary API enum 'link_duplex'.

const (
	LINK_DUPLEX_API_UNKNOWN LinkDuplex = 0
	LINK_DUPLEX_API_HALF    LinkDuplex = 1
	LINK_DUPLEX_API_FULL    LinkDuplex = 2
)

func (LinkDuplex) String

func (x LinkDuplex) String() string

type LispAddDelAdjacency

type LispAddDelAdjacency struct {
	IsAdd bool
	Vni   uint32
	Reid  Eid
	Leid  Eid
}

LispAddDelAdjacency represents VPP binary API message 'lisp_add_del_adjacency'.

func (*LispAddDelAdjacency) GetCrcString

func (*LispAddDelAdjacency) GetCrcString() string

func (*LispAddDelAdjacency) GetMessageName

func (*LispAddDelAdjacency) GetMessageName() string

func (*LispAddDelAdjacency) GetMessageType

func (*LispAddDelAdjacency) GetMessageType() api.MessageType

func (*LispAddDelAdjacency) Reset

func (m *LispAddDelAdjacency) Reset()

type LispAddDelAdjacencyReply

type LispAddDelAdjacencyReply struct {
	Retval int32
}

LispAddDelAdjacencyReply represents VPP binary API message 'lisp_add_del_adjacency_reply'.

func (*LispAddDelAdjacencyReply) GetCrcString

func (*LispAddDelAdjacencyReply) GetCrcString() string

func (*LispAddDelAdjacencyReply) GetMessageName

func (*LispAddDelAdjacencyReply) GetMessageName() string

func (*LispAddDelAdjacencyReply) GetMessageType

func (*LispAddDelAdjacencyReply) GetMessageType() api.MessageType

func (*LispAddDelAdjacencyReply) Reset

func (m *LispAddDelAdjacencyReply) Reset()

type LispAddDelLocalEid

type LispAddDelLocalEid struct {
	IsAdd          bool
	Eid            Eid
	LocatorSetName string `struc:"[64]byte"`
	Vni            uint32
	Key            HmacKey
}

LispAddDelLocalEid represents VPP binary API message 'lisp_add_del_local_eid'.

func (*LispAddDelLocalEid) GetCrcString

func (*LispAddDelLocalEid) GetCrcString() string

func (*LispAddDelLocalEid) GetMessageName

func (*LispAddDelLocalEid) GetMessageName() string

func (*LispAddDelLocalEid) GetMessageType

func (*LispAddDelLocalEid) GetMessageType() api.MessageType

func (*LispAddDelLocalEid) Reset

func (m *LispAddDelLocalEid) Reset()

type LispAddDelLocalEidReply

type LispAddDelLocalEidReply struct {
	Retval int32
}

LispAddDelLocalEidReply represents VPP binary API message 'lisp_add_del_local_eid_reply'.

func (*LispAddDelLocalEidReply) GetCrcString

func (*LispAddDelLocalEidReply) GetCrcString() string

func (*LispAddDelLocalEidReply) GetMessageName

func (*LispAddDelLocalEidReply) GetMessageName() string

func (*LispAddDelLocalEidReply) GetMessageType

func (*LispAddDelLocalEidReply) GetMessageType() api.MessageType

func (*LispAddDelLocalEidReply) Reset

func (m *LispAddDelLocalEidReply) Reset()

type LispAddDelLocator

type LispAddDelLocator struct {
	IsAdd          bool
	LocatorSetName string `struc:"[64]byte"`
	SwIfIndex      InterfaceIndex
	Priority       uint8
	Weight         uint8
}

LispAddDelLocator represents VPP binary API message 'lisp_add_del_locator'.

func (*LispAddDelLocator) GetCrcString

func (*LispAddDelLocator) GetCrcString() string

func (*LispAddDelLocator) GetMessageName

func (*LispAddDelLocator) GetMessageName() string

func (*LispAddDelLocator) GetMessageType

func (*LispAddDelLocator) GetMessageType() api.MessageType

func (*LispAddDelLocator) Reset

func (m *LispAddDelLocator) Reset()

type LispAddDelLocatorReply

type LispAddDelLocatorReply struct {
	Retval int32
}

LispAddDelLocatorReply represents VPP binary API message 'lisp_add_del_locator_reply'.

func (*LispAddDelLocatorReply) GetCrcString

func (*LispAddDelLocatorReply) GetCrcString() string

func (*LispAddDelLocatorReply) GetMessageName

func (*LispAddDelLocatorReply) GetMessageName() string

func (*LispAddDelLocatorReply) GetMessageType

func (*LispAddDelLocatorReply) GetMessageType() api.MessageType

func (*LispAddDelLocatorReply) Reset

func (m *LispAddDelLocatorReply) Reset()

type LispAddDelLocatorSet

type LispAddDelLocatorSet struct {
	IsAdd          bool
	LocatorSetName string `struc:"[64]byte"`
	LocatorNum     uint32 `struc:"sizeof=Locators"`
	Locators       []LocalLocator
}

LispAddDelLocatorSet represents VPP binary API message 'lisp_add_del_locator_set'.

func (*LispAddDelLocatorSet) GetCrcString

func (*LispAddDelLocatorSet) GetCrcString() string

func (*LispAddDelLocatorSet) GetMessageName

func (*LispAddDelLocatorSet) GetMessageName() string

func (*LispAddDelLocatorSet) GetMessageType

func (*LispAddDelLocatorSet) GetMessageType() api.MessageType

func (*LispAddDelLocatorSet) Reset

func (m *LispAddDelLocatorSet) Reset()

type LispAddDelLocatorSetReply

type LispAddDelLocatorSetReply struct {
	Retval  int32
	LsIndex uint32
}

LispAddDelLocatorSetReply represents VPP binary API message 'lisp_add_del_locator_set_reply'.

func (*LispAddDelLocatorSetReply) GetCrcString

func (*LispAddDelLocatorSetReply) GetCrcString() string

func (*LispAddDelLocatorSetReply) GetMessageName

func (*LispAddDelLocatorSetReply) GetMessageName() string

func (*LispAddDelLocatorSetReply) GetMessageType

func (*LispAddDelLocatorSetReply) GetMessageType() api.MessageType

func (*LispAddDelLocatorSetReply) Reset

func (m *LispAddDelLocatorSetReply) Reset()

type LispAddDelMapRequestItrRlocs

type LispAddDelMapRequestItrRlocs struct {
	IsAdd          bool
	LocatorSetName string `struc:"[64]byte"`
}

LispAddDelMapRequestItrRlocs represents VPP binary API message 'lisp_add_del_map_request_itr_rlocs'.

func (*LispAddDelMapRequestItrRlocs) GetCrcString

func (*LispAddDelMapRequestItrRlocs) GetCrcString() string

func (*LispAddDelMapRequestItrRlocs) GetMessageName

func (*LispAddDelMapRequestItrRlocs) GetMessageName() string

func (*LispAddDelMapRequestItrRlocs) GetMessageType

func (*LispAddDelMapRequestItrRlocs) GetMessageType() api.MessageType

func (*LispAddDelMapRequestItrRlocs) Reset

func (m *LispAddDelMapRequestItrRlocs) Reset()

type LispAddDelMapRequestItrRlocsReply

type LispAddDelMapRequestItrRlocsReply struct {
	Retval int32
}

LispAddDelMapRequestItrRlocsReply represents VPP binary API message 'lisp_add_del_map_request_itr_rlocs_reply'.

func (*LispAddDelMapRequestItrRlocsReply) GetCrcString

func (*LispAddDelMapRequestItrRlocsReply) GetCrcString() string

func (*LispAddDelMapRequestItrRlocsReply) GetMessageName

func (*LispAddDelMapRequestItrRlocsReply) GetMessageName() string

func (*LispAddDelMapRequestItrRlocsReply) GetMessageType

func (*LispAddDelMapRequestItrRlocsReply) Reset

type LispAddDelMapResolver

type LispAddDelMapResolver struct {
	IsAdd     bool
	IPAddress Address
}

LispAddDelMapResolver represents VPP binary API message 'lisp_add_del_map_resolver'.

func (*LispAddDelMapResolver) GetCrcString

func (*LispAddDelMapResolver) GetCrcString() string

func (*LispAddDelMapResolver) GetMessageName

func (*LispAddDelMapResolver) GetMessageName() string

func (*LispAddDelMapResolver) GetMessageType

func (*LispAddDelMapResolver) GetMessageType() api.MessageType

func (*LispAddDelMapResolver) Reset

func (m *LispAddDelMapResolver) Reset()

type LispAddDelMapResolverReply

type LispAddDelMapResolverReply struct {
	Retval int32
}

LispAddDelMapResolverReply represents VPP binary API message 'lisp_add_del_map_resolver_reply'.

func (*LispAddDelMapResolverReply) GetCrcString

func (*LispAddDelMapResolverReply) GetCrcString() string

func (*LispAddDelMapResolverReply) GetMessageName

func (*LispAddDelMapResolverReply) GetMessageName() string

func (*LispAddDelMapResolverReply) GetMessageType

func (*LispAddDelMapResolverReply) GetMessageType() api.MessageType

func (*LispAddDelMapResolverReply) Reset

func (m *LispAddDelMapResolverReply) Reset()

type LispAddDelMapServer

type LispAddDelMapServer struct {
	IsAdd     bool
	IPAddress Address
}

LispAddDelMapServer represents VPP binary API message 'lisp_add_del_map_server'.

func (*LispAddDelMapServer) GetCrcString

func (*LispAddDelMapServer) GetCrcString() string

func (*LispAddDelMapServer) GetMessageName

func (*LispAddDelMapServer) GetMessageName() string

func (*LispAddDelMapServer) GetMessageType

func (*LispAddDelMapServer) GetMessageType() api.MessageType

func (*LispAddDelMapServer) Reset

func (m *LispAddDelMapServer) Reset()

type LispAddDelMapServerReply

type LispAddDelMapServerReply struct {
	Retval int32
}

LispAddDelMapServerReply represents VPP binary API message 'lisp_add_del_map_server_reply'.

func (*LispAddDelMapServerReply) GetCrcString

func (*LispAddDelMapServerReply) GetCrcString() string

func (*LispAddDelMapServerReply) GetMessageName

func (*LispAddDelMapServerReply) GetMessageName() string

func (*LispAddDelMapServerReply) GetMessageType

func (*LispAddDelMapServerReply) GetMessageType() api.MessageType

func (*LispAddDelMapServerReply) Reset

func (m *LispAddDelMapServerReply) Reset()

type LispAddDelRemoteMapping

type LispAddDelRemoteMapping struct {
	IsAdd    bool
	IsSrcDst bool
	DelAll   bool
	Vni      uint32
	Action   uint8
	Deid     Eid
	Seid     Eid
	RlocNum  uint32 `struc:"sizeof=Rlocs"`
	Rlocs    []RemoteLocator
}

LispAddDelRemoteMapping represents VPP binary API message 'lisp_add_del_remote_mapping'.

func (*LispAddDelRemoteMapping) GetCrcString

func (*LispAddDelRemoteMapping) GetCrcString() string

func (*LispAddDelRemoteMapping) GetMessageName

func (*LispAddDelRemoteMapping) GetMessageName() string

func (*LispAddDelRemoteMapping) GetMessageType

func (*LispAddDelRemoteMapping) GetMessageType() api.MessageType

func (*LispAddDelRemoteMapping) Reset

func (m *LispAddDelRemoteMapping) Reset()

type LispAddDelRemoteMappingReply

type LispAddDelRemoteMappingReply struct {
	Retval int32
}

LispAddDelRemoteMappingReply represents VPP binary API message 'lisp_add_del_remote_mapping_reply'.

func (*LispAddDelRemoteMappingReply) GetCrcString

func (*LispAddDelRemoteMappingReply) GetCrcString() string

func (*LispAddDelRemoteMappingReply) GetMessageName

func (*LispAddDelRemoteMappingReply) GetMessageName() string

func (*LispAddDelRemoteMappingReply) GetMessageType

func (*LispAddDelRemoteMappingReply) GetMessageType() api.MessageType

func (*LispAddDelRemoteMappingReply) Reset

func (m *LispAddDelRemoteMappingReply) Reset()

type LispAdjacenciesGet

type LispAdjacenciesGet struct {
	Vni uint32
}

LispAdjacenciesGet represents VPP binary API message 'lisp_adjacencies_get'.

func (*LispAdjacenciesGet) GetCrcString

func (*LispAdjacenciesGet) GetCrcString() string

func (*LispAdjacenciesGet) GetMessageName

func (*LispAdjacenciesGet) GetMessageName() string

func (*LispAdjacenciesGet) GetMessageType

func (*LispAdjacenciesGet) GetMessageType() api.MessageType

func (*LispAdjacenciesGet) Reset

func (m *LispAdjacenciesGet) Reset()

type LispAdjacenciesGetReply

type LispAdjacenciesGetReply struct {
	Retval      int32
	Count       uint32 `struc:"sizeof=Adjacencies"`
	Adjacencies []LispAdjacency
}

LispAdjacenciesGetReply represents VPP binary API message 'lisp_adjacencies_get_reply'.

func (*LispAdjacenciesGetReply) GetCrcString

func (*LispAdjacenciesGetReply) GetCrcString() string

func (*LispAdjacenciesGetReply) GetMessageName

func (*LispAdjacenciesGetReply) GetMessageName() string

func (*LispAdjacenciesGetReply) GetMessageType

func (*LispAdjacenciesGetReply) GetMessageType() api.MessageType

func (*LispAdjacenciesGetReply) Reset

func (m *LispAdjacenciesGetReply) Reset()

type LispAdjacency

type LispAdjacency struct {
	Reid Eid
	Leid Eid
}

LispAdjacency represents VPP binary API type 'lisp_adjacency'.

func (*LispAdjacency) GetTypeName

func (*LispAdjacency) GetTypeName() string

type LispEidTableAddDelMap

type LispEidTableAddDelMap struct {
	IsAdd   bool
	Vni     uint32
	DpTable uint32
	IsL2    bool
}

LispEidTableAddDelMap represents VPP binary API message 'lisp_eid_table_add_del_map'.

func (*LispEidTableAddDelMap) GetCrcString

func (*LispEidTableAddDelMap) GetCrcString() string

func (*LispEidTableAddDelMap) GetMessageName

func (*LispEidTableAddDelMap) GetMessageName() string

func (*LispEidTableAddDelMap) GetMessageType

func (*LispEidTableAddDelMap) GetMessageType() api.MessageType

func (*LispEidTableAddDelMap) Reset

func (m *LispEidTableAddDelMap) Reset()

type LispEidTableAddDelMapReply

type LispEidTableAddDelMapReply struct {
	Retval int32
}

LispEidTableAddDelMapReply represents VPP binary API message 'lisp_eid_table_add_del_map_reply'.

func (*LispEidTableAddDelMapReply) GetCrcString

func (*LispEidTableAddDelMapReply) GetCrcString() string

func (*LispEidTableAddDelMapReply) GetMessageName

func (*LispEidTableAddDelMapReply) GetMessageName() string

func (*LispEidTableAddDelMapReply) GetMessageType

func (*LispEidTableAddDelMapReply) GetMessageType() api.MessageType

func (*LispEidTableAddDelMapReply) Reset

func (m *LispEidTableAddDelMapReply) Reset()

type LispEidTableDetails

type LispEidTableDetails struct {
	LocatorSetIndex uint32
	Action          uint8
	IsLocal         bool
	IsSrcDst        bool
	Vni             uint32
	Deid            Eid
	Seid            Eid
	TTL             uint32
	Authoritative   uint8
	Key             HmacKey
}

LispEidTableDetails represents VPP binary API message 'lisp_eid_table_details'.

func (*LispEidTableDetails) GetCrcString

func (*LispEidTableDetails) GetCrcString() string

func (*LispEidTableDetails) GetMessageName

func (*LispEidTableDetails) GetMessageName() string

func (*LispEidTableDetails) GetMessageType

func (*LispEidTableDetails) GetMessageType() api.MessageType

func (*LispEidTableDetails) Reset

func (m *LispEidTableDetails) Reset()

type LispEidTableDump

type LispEidTableDump struct {
	EidSet       uint8
	PrefixLength uint8
	Vni          uint32
	Eid          Eid
	Filter       LispLocatorSetFilter
}

LispEidTableDump represents VPP binary API message 'lisp_eid_table_dump'.

func (*LispEidTableDump) GetCrcString

func (*LispEidTableDump) GetCrcString() string

func (*LispEidTableDump) GetMessageName

func (*LispEidTableDump) GetMessageName() string

func (*LispEidTableDump) GetMessageType

func (*LispEidTableDump) GetMessageType() api.MessageType

func (*LispEidTableDump) Reset

func (m *LispEidTableDump) Reset()

type LispEidTableMapDetails

type LispEidTableMapDetails struct {
	Vni     uint32
	DpTable uint32
}

LispEidTableMapDetails represents VPP binary API message 'lisp_eid_table_map_details'.

func (*LispEidTableMapDetails) GetCrcString

func (*LispEidTableMapDetails) GetCrcString() string

func (*LispEidTableMapDetails) GetMessageName

func (*LispEidTableMapDetails) GetMessageName() string

func (*LispEidTableMapDetails) GetMessageType

func (*LispEidTableMapDetails) GetMessageType() api.MessageType

func (*LispEidTableMapDetails) Reset

func (m *LispEidTableMapDetails) Reset()

type LispEidTableMapDump

type LispEidTableMapDump struct {
	IsL2 bool
}

LispEidTableMapDump represents VPP binary API message 'lisp_eid_table_map_dump'.

func (*LispEidTableMapDump) GetCrcString

func (*LispEidTableMapDump) GetCrcString() string

func (*LispEidTableMapDump) GetMessageName

func (*LispEidTableMapDump) GetMessageName() string

func (*LispEidTableMapDump) GetMessageType

func (*LispEidTableMapDump) GetMessageType() api.MessageType

func (*LispEidTableMapDump) Reset

func (m *LispEidTableMapDump) Reset()

type LispEidTableVniDetails

type LispEidTableVniDetails struct {
	Vni uint32
}

LispEidTableVniDetails represents VPP binary API message 'lisp_eid_table_vni_details'.

func (*LispEidTableVniDetails) GetCrcString

func (*LispEidTableVniDetails) GetCrcString() string

func (*LispEidTableVniDetails) GetMessageName

func (*LispEidTableVniDetails) GetMessageName() string

func (*LispEidTableVniDetails) GetMessageType

func (*LispEidTableVniDetails) GetMessageType() api.MessageType

func (*LispEidTableVniDetails) Reset

func (m *LispEidTableVniDetails) Reset()

type LispEidTableVniDump

type LispEidTableVniDump struct{}

LispEidTableVniDump represents VPP binary API message 'lisp_eid_table_vni_dump'.

func (*LispEidTableVniDump) GetCrcString

func (*LispEidTableVniDump) GetCrcString() string

func (*LispEidTableVniDump) GetMessageName

func (*LispEidTableVniDump) GetMessageName() string

func (*LispEidTableVniDump) GetMessageType

func (*LispEidTableVniDump) GetMessageType() api.MessageType

func (*LispEidTableVniDump) Reset

func (m *LispEidTableVniDump) Reset()

type LispEnableDisable

type LispEnableDisable struct {
	IsEnable bool
}

LispEnableDisable represents VPP binary API message 'lisp_enable_disable'.

func (*LispEnableDisable) GetCrcString

func (*LispEnableDisable) GetCrcString() string

func (*LispEnableDisable) GetMessageName

func (*LispEnableDisable) GetMessageName() string

func (*LispEnableDisable) GetMessageType

func (*LispEnableDisable) GetMessageType() api.MessageType

func (*LispEnableDisable) Reset

func (m *LispEnableDisable) Reset()

type LispEnableDisableReply

type LispEnableDisableReply struct {
	Retval int32
}

LispEnableDisableReply represents VPP binary API message 'lisp_enable_disable_reply'.

func (*LispEnableDisableReply) GetCrcString

func (*LispEnableDisableReply) GetCrcString() string

func (*LispEnableDisableReply) GetMessageName

func (*LispEnableDisableReply) GetMessageName() string

func (*LispEnableDisableReply) GetMessageType

func (*LispEnableDisableReply) GetMessageType() api.MessageType

func (*LispEnableDisableReply) Reset

func (m *LispEnableDisableReply) Reset()

type LispGetMapRequestItrRlocs

type LispGetMapRequestItrRlocs struct{}

LispGetMapRequestItrRlocs represents VPP binary API message 'lisp_get_map_request_itr_rlocs'.

func (*LispGetMapRequestItrRlocs) GetCrcString

func (*LispGetMapRequestItrRlocs) GetCrcString() string

func (*LispGetMapRequestItrRlocs) GetMessageName

func (*LispGetMapRequestItrRlocs) GetMessageName() string

func (*LispGetMapRequestItrRlocs) GetMessageType

func (*LispGetMapRequestItrRlocs) GetMessageType() api.MessageType

func (*LispGetMapRequestItrRlocs) Reset

func (m *LispGetMapRequestItrRlocs) Reset()

type LispGetMapRequestItrRlocsReply

type LispGetMapRequestItrRlocsReply struct {
	Retval         int32
	LocatorSetName string `struc:"[64]byte"`
}

LispGetMapRequestItrRlocsReply represents VPP binary API message 'lisp_get_map_request_itr_rlocs_reply'.

func (*LispGetMapRequestItrRlocsReply) GetCrcString

func (*LispGetMapRequestItrRlocsReply) GetCrcString() string

func (*LispGetMapRequestItrRlocsReply) GetMessageName

func (*LispGetMapRequestItrRlocsReply) GetMessageName() string

func (*LispGetMapRequestItrRlocsReply) GetMessageType

func (*LispGetMapRequestItrRlocsReply) Reset

func (m *LispGetMapRequestItrRlocsReply) Reset()

type LispLocatorDetails

type LispLocatorDetails struct {
	Local     uint8
	SwIfIndex InterfaceIndex
	IPAddress Address
	Priority  uint8
	Weight    uint8
}

LispLocatorDetails represents VPP binary API message 'lisp_locator_details'.

func (*LispLocatorDetails) GetCrcString

func (*LispLocatorDetails) GetCrcString() string

func (*LispLocatorDetails) GetMessageName

func (*LispLocatorDetails) GetMessageName() string

func (*LispLocatorDetails) GetMessageType

func (*LispLocatorDetails) GetMessageType() api.MessageType

func (*LispLocatorDetails) Reset

func (m *LispLocatorDetails) Reset()

type LispLocatorDump

type LispLocatorDump struct {
	LsIndex    uint32
	LsName     string `struc:"[64]byte"`
	IsIndexSet uint8
}

LispLocatorDump represents VPP binary API message 'lisp_locator_dump'.

func (*LispLocatorDump) GetCrcString

func (*LispLocatorDump) GetCrcString() string

func (*LispLocatorDump) GetMessageName

func (*LispLocatorDump) GetMessageName() string

func (*LispLocatorDump) GetMessageType

func (*LispLocatorDump) GetMessageType() api.MessageType

func (*LispLocatorDump) Reset

func (m *LispLocatorDump) Reset()

type LispLocatorSetDetails

type LispLocatorSetDetails struct {
	LsIndex uint32
	LsName  string `struc:"[64]byte"`
}

LispLocatorSetDetails represents VPP binary API message 'lisp_locator_set_details'.

func (*LispLocatorSetDetails) GetCrcString

func (*LispLocatorSetDetails) GetCrcString() string

func (*LispLocatorSetDetails) GetMessageName

func (*LispLocatorSetDetails) GetMessageName() string

func (*LispLocatorSetDetails) GetMessageType

func (*LispLocatorSetDetails) GetMessageType() api.MessageType

func (*LispLocatorSetDetails) Reset

func (m *LispLocatorSetDetails) Reset()

type LispLocatorSetDump

type LispLocatorSetDump struct {
	Filter LispLocatorSetFilter
}

LispLocatorSetDump represents VPP binary API message 'lisp_locator_set_dump'.

func (*LispLocatorSetDump) GetCrcString

func (*LispLocatorSetDump) GetCrcString() string

func (*LispLocatorSetDump) GetMessageName

func (*LispLocatorSetDump) GetMessageName() string

func (*LispLocatorSetDump) GetMessageType

func (*LispLocatorSetDump) GetMessageType() api.MessageType

func (*LispLocatorSetDump) Reset

func (m *LispLocatorSetDump) Reset()

type LispLocatorSetFilter

type LispLocatorSetFilter uint8

LispLocatorSetFilter represents VPP binary API enum 'lisp_locator_set_filter'.

const (
	LISP_LOCATOR_SET_FILTER_API_ALL    LispLocatorSetFilter = 0
	LISP_LOCATOR_SET_FILTER_API_LOCAL  LispLocatorSetFilter = 1
	LISP_LOCATOR_SET_FILTER_API_REMOTE LispLocatorSetFilter = 2
)

func (LispLocatorSetFilter) String

func (x LispLocatorSetFilter) String() string

type LispMapRegisterEnableDisable

type LispMapRegisterEnableDisable struct {
	IsEnable bool
}

LispMapRegisterEnableDisable represents VPP binary API message 'lisp_map_register_enable_disable'.

func (*LispMapRegisterEnableDisable) GetCrcString

func (*LispMapRegisterEnableDisable) GetCrcString() string

func (*LispMapRegisterEnableDisable) GetMessageName

func (*LispMapRegisterEnableDisable) GetMessageName() string

func (*LispMapRegisterEnableDisable) GetMessageType

func (*LispMapRegisterEnableDisable) GetMessageType() api.MessageType

func (*LispMapRegisterEnableDisable) Reset

func (m *LispMapRegisterEnableDisable) Reset()

type LispMapRegisterEnableDisableReply

type LispMapRegisterEnableDisableReply struct {
	Retval int32
}

LispMapRegisterEnableDisableReply represents VPP binary API message 'lisp_map_register_enable_disable_reply'.

func (*LispMapRegisterEnableDisableReply) GetCrcString

func (*LispMapRegisterEnableDisableReply) GetCrcString() string

func (*LispMapRegisterEnableDisableReply) GetMessageName

func (*LispMapRegisterEnableDisableReply) GetMessageName() string

func (*LispMapRegisterEnableDisableReply) GetMessageType

func (*LispMapRegisterEnableDisableReply) Reset

type LispMapRequestMode

type LispMapRequestMode struct {
	IsSrcDst bool
}

LispMapRequestMode represents VPP binary API message 'lisp_map_request_mode'.

func (*LispMapRequestMode) GetCrcString

func (*LispMapRequestMode) GetCrcString() string

func (*LispMapRequestMode) GetMessageName

func (*LispMapRequestMode) GetMessageName() string

func (*LispMapRequestMode) GetMessageType

func (*LispMapRequestMode) GetMessageType() api.MessageType

func (*LispMapRequestMode) Reset

func (m *LispMapRequestMode) Reset()

type LispMapRequestModeReply

type LispMapRequestModeReply struct {
	Retval int32
}

LispMapRequestModeReply represents VPP binary API message 'lisp_map_request_mode_reply'.

func (*LispMapRequestModeReply) GetCrcString

func (*LispMapRequestModeReply) GetCrcString() string

func (*LispMapRequestModeReply) GetMessageName

func (*LispMapRequestModeReply) GetMessageName() string

func (*LispMapRequestModeReply) GetMessageType

func (*LispMapRequestModeReply) GetMessageType() api.MessageType

func (*LispMapRequestModeReply) Reset

func (m *LispMapRequestModeReply) Reset()

type LispMapResolverDetails

type LispMapResolverDetails struct {
	IPAddress Address
}

LispMapResolverDetails represents VPP binary API message 'lisp_map_resolver_details'.

func (*LispMapResolverDetails) GetCrcString

func (*LispMapResolverDetails) GetCrcString() string

func (*LispMapResolverDetails) GetMessageName

func (*LispMapResolverDetails) GetMessageName() string

func (*LispMapResolverDetails) GetMessageType

func (*LispMapResolverDetails) GetMessageType() api.MessageType

func (*LispMapResolverDetails) Reset

func (m *LispMapResolverDetails) Reset()

type LispMapResolverDump

type LispMapResolverDump struct{}

LispMapResolverDump represents VPP binary API message 'lisp_map_resolver_dump'.

func (*LispMapResolverDump) GetCrcString

func (*LispMapResolverDump) GetCrcString() string

func (*LispMapResolverDump) GetMessageName

func (*LispMapResolverDump) GetMessageName() string

func (*LispMapResolverDump) GetMessageType

func (*LispMapResolverDump) GetMessageType() api.MessageType

func (*LispMapResolverDump) Reset

func (m *LispMapResolverDump) Reset()

type LispMapServerDetails

type LispMapServerDetails struct {
	IPAddress Address
}

LispMapServerDetails represents VPP binary API message 'lisp_map_server_details'.

func (*LispMapServerDetails) GetCrcString

func (*LispMapServerDetails) GetCrcString() string

func (*LispMapServerDetails) GetMessageName

func (*LispMapServerDetails) GetMessageName() string

func (*LispMapServerDetails) GetMessageType

func (*LispMapServerDetails) GetMessageType() api.MessageType

func (*LispMapServerDetails) Reset

func (m *LispMapServerDetails) Reset()

type LispMapServerDump

type LispMapServerDump struct{}

LispMapServerDump represents VPP binary API message 'lisp_map_server_dump'.

func (*LispMapServerDump) GetCrcString

func (*LispMapServerDump) GetCrcString() string

func (*LispMapServerDump) GetMessageName

func (*LispMapServerDump) GetMessageName() string

func (*LispMapServerDump) GetMessageType

func (*LispMapServerDump) GetMessageType() api.MessageType

func (*LispMapServerDump) Reset

func (m *LispMapServerDump) Reset()

type LispPitrSetLocatorSet

type LispPitrSetLocatorSet struct {
	IsAdd  bool
	LsName string `struc:"[64]byte"`
}

LispPitrSetLocatorSet represents VPP binary API message 'lisp_pitr_set_locator_set'.

func (*LispPitrSetLocatorSet) GetCrcString

func (*LispPitrSetLocatorSet) GetCrcString() string

func (*LispPitrSetLocatorSet) GetMessageName

func (*LispPitrSetLocatorSet) GetMessageName() string

func (*LispPitrSetLocatorSet) GetMessageType

func (*LispPitrSetLocatorSet) GetMessageType() api.MessageType

func (*LispPitrSetLocatorSet) Reset

func (m *LispPitrSetLocatorSet) Reset()

type LispPitrSetLocatorSetReply

type LispPitrSetLocatorSetReply struct {
	Retval int32
}

LispPitrSetLocatorSetReply represents VPP binary API message 'lisp_pitr_set_locator_set_reply'.

func (*LispPitrSetLocatorSetReply) GetCrcString

func (*LispPitrSetLocatorSetReply) GetCrcString() string

func (*LispPitrSetLocatorSetReply) GetMessageName

func (*LispPitrSetLocatorSetReply) GetMessageName() string

func (*LispPitrSetLocatorSetReply) GetMessageType

func (*LispPitrSetLocatorSetReply) GetMessageType() api.MessageType

func (*LispPitrSetLocatorSetReply) Reset

func (m *LispPitrSetLocatorSetReply) Reset()

type LispRlocProbeEnableDisable

type LispRlocProbeEnableDisable struct {
	IsEnable bool
}

LispRlocProbeEnableDisable represents VPP binary API message 'lisp_rloc_probe_enable_disable'.

func (*LispRlocProbeEnableDisable) GetCrcString

func (*LispRlocProbeEnableDisable) GetCrcString() string

func (*LispRlocProbeEnableDisable) GetMessageName

func (*LispRlocProbeEnableDisable) GetMessageName() string

func (*LispRlocProbeEnableDisable) GetMessageType

func (*LispRlocProbeEnableDisable) GetMessageType() api.MessageType

func (*LispRlocProbeEnableDisable) Reset

func (m *LispRlocProbeEnableDisable) Reset()

type LispRlocProbeEnableDisableReply

type LispRlocProbeEnableDisableReply struct {
	Retval int32
}

LispRlocProbeEnableDisableReply represents VPP binary API message 'lisp_rloc_probe_enable_disable_reply'.

func (*LispRlocProbeEnableDisableReply) GetCrcString

func (*LispRlocProbeEnableDisableReply) GetCrcString() string

func (*LispRlocProbeEnableDisableReply) GetMessageName

func (*LispRlocProbeEnableDisableReply) GetMessageName() string

func (*LispRlocProbeEnableDisableReply) GetMessageType

func (*LispRlocProbeEnableDisableReply) Reset

type LispUsePetr

type LispUsePetr struct {
	IPAddress Address
	IsAdd     bool
}

LispUsePetr represents VPP binary API message 'lisp_use_petr'.

func (*LispUsePetr) GetCrcString

func (*LispUsePetr) GetCrcString() string

func (*LispUsePetr) GetMessageName

func (*LispUsePetr) GetMessageName() string

func (*LispUsePetr) GetMessageType

func (*LispUsePetr) GetMessageType() api.MessageType

func (*LispUsePetr) Reset

func (m *LispUsePetr) Reset()

type LispUsePetrReply

type LispUsePetrReply struct {
	Retval int32
}

LispUsePetrReply represents VPP binary API message 'lisp_use_petr_reply'.

func (*LispUsePetrReply) GetCrcString

func (*LispUsePetrReply) GetCrcString() string

func (*LispUsePetrReply) GetMessageName

func (*LispUsePetrReply) GetMessageName() string

func (*LispUsePetrReply) GetMessageType

func (*LispUsePetrReply) GetMessageType() api.MessageType

func (*LispUsePetrReply) Reset

func (m *LispUsePetrReply) Reset()

type LocalLocator

type LocalLocator struct {
	SwIfIndex InterfaceIndex
	Priority  uint8
	Weight    uint8
}

LocalLocator represents VPP binary API type 'local_locator'.

func (*LocalLocator) GetTypeName

func (*LocalLocator) GetTypeName() string

type MacAddress

type MacAddress [6]uint8

MacAddress represents VPP binary API alias 'mac_address'.

type Mprefix

type Mprefix struct {
	Af               AddressFamily
	GrpAddressLength uint16
	GrpAddress       AddressUnion
	SrcAddress       AddressUnion
}

Mprefix represents VPP binary API type 'mprefix'.

func (*Mprefix) GetTypeName

func (*Mprefix) GetTypeName() string

type MtuProto

type MtuProto uint32

MtuProto represents VPP binary API enum 'mtu_proto'.

const (
	MTU_PROTO_API_L3   MtuProto = 0
	MTU_PROTO_API_IP4  MtuProto = 1
	MTU_PROTO_API_IP6  MtuProto = 2
	MTU_PROTO_API_MPLS MtuProto = 3
)

func (MtuProto) String

func (x MtuProto) String() string

type Nsh

type Nsh struct {
	Spi uint32
	Si  uint8
}

Nsh represents VPP binary API type 'nsh'.

func (*Nsh) GetTypeName

func (*Nsh) GetTypeName() string

type Prefix

type Prefix struct {
	Address Address
	Len     uint8
}

Prefix represents VPP binary API type 'prefix'.

func (*Prefix) GetTypeName

func (*Prefix) GetTypeName() string

type PrefixMatcher

type PrefixMatcher struct {
	Le uint8
	Ge uint8
}

PrefixMatcher represents VPP binary API type 'prefix_matcher'.

func (*PrefixMatcher) GetTypeName

func (*PrefixMatcher) GetTypeName() string

type RPCService

type RPCService interface {
	DumpLispEidTable(ctx context.Context, in *LispEidTableDump) (RPCService_DumpLispEidTableClient, error)
	DumpLispEidTableMap(ctx context.Context, in *LispEidTableMapDump) (RPCService_DumpLispEidTableMapClient, error)
	DumpLispEidTableVni(ctx context.Context, in *LispEidTableVniDump) (RPCService_DumpLispEidTableVniClient, error)
	DumpLispLocator(ctx context.Context, in *LispLocatorDump) (RPCService_DumpLispLocatorClient, error)
	DumpLispLocatorSet(ctx context.Context, in *LispLocatorSetDump) (RPCService_DumpLispLocatorSetClient, error)
	DumpLispMapResolver(ctx context.Context, in *LispMapResolverDump) (RPCService_DumpLispMapResolverClient, error)
	DumpLispMapServer(ctx context.Context, in *LispMapServerDump) (RPCService_DumpLispMapServerClient, error)
	LispAddDelAdjacency(ctx context.Context, in *LispAddDelAdjacency) (*LispAddDelAdjacencyReply, error)
	LispAddDelLocalEid(ctx context.Context, in *LispAddDelLocalEid) (*LispAddDelLocalEidReply, error)
	LispAddDelLocator(ctx context.Context, in *LispAddDelLocator) (*LispAddDelLocatorReply, error)
	LispAddDelLocatorSet(ctx context.Context, in *LispAddDelLocatorSet) (*LispAddDelLocatorSetReply, error)
	LispAddDelMapRequestItrRlocs(ctx context.Context, in *LispAddDelMapRequestItrRlocs) (*LispAddDelMapRequestItrRlocsReply, error)
	LispAddDelMapResolver(ctx context.Context, in *LispAddDelMapResolver) (*LispAddDelMapResolverReply, error)
	LispAddDelMapServer(ctx context.Context, in *LispAddDelMapServer) (*LispAddDelMapServerReply, error)
	LispAddDelRemoteMapping(ctx context.Context, in *LispAddDelRemoteMapping) (*LispAddDelRemoteMappingReply, error)
	LispAdjacenciesGet(ctx context.Context, in *LispAdjacenciesGet) (*LispAdjacenciesGetReply, error)
	LispEidTableAddDelMap(ctx context.Context, in *LispEidTableAddDelMap) (*LispEidTableAddDelMapReply, error)
	LispEnableDisable(ctx context.Context, in *LispEnableDisable) (*LispEnableDisableReply, error)
	LispGetMapRequestItrRlocs(ctx context.Context, in *LispGetMapRequestItrRlocs) (*LispGetMapRequestItrRlocsReply, error)
	LispMapRegisterEnableDisable(ctx context.Context, in *LispMapRegisterEnableDisable) (*LispMapRegisterEnableDisableReply, error)
	LispMapRequestMode(ctx context.Context, in *LispMapRequestMode) (*LispMapRequestModeReply, error)
	LispPitrSetLocatorSet(ctx context.Context, in *LispPitrSetLocatorSet) (*LispPitrSetLocatorSetReply, error)
	LispRlocProbeEnableDisable(ctx context.Context, in *LispRlocProbeEnableDisable) (*LispRlocProbeEnableDisableReply, error)
	LispUsePetr(ctx context.Context, in *LispUsePetr) (*LispUsePetrReply, error)
	ShowLispMapRegisterState(ctx context.Context, in *ShowLispMapRegisterState) (*ShowLispMapRegisterStateReply, error)
	ShowLispMapRequestMode(ctx context.Context, in *ShowLispMapRequestMode) (*ShowLispMapRequestModeReply, error)
	ShowLispPitr(ctx context.Context, in *ShowLispPitr) (*ShowLispPitrReply, error)
	ShowLispRlocProbeState(ctx context.Context, in *ShowLispRlocProbeState) (*ShowLispRlocProbeStateReply, error)
	ShowLispStatus(ctx context.Context, in *ShowLispStatus) (*ShowLispStatusReply, error)
	ShowLispUsePetr(ctx context.Context, in *ShowLispUsePetr) (*ShowLispUsePetrReply, error)
}

RPCService represents RPC service API for lisp module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpLispEidTableClient

type RPCService_DumpLispEidTableClient interface {
	Recv() (*LispEidTableDetails, error)
}

type RPCService_DumpLispEidTableMapClient

type RPCService_DumpLispEidTableMapClient interface {
	Recv() (*LispEidTableMapDetails, error)
}

type RPCService_DumpLispEidTableVniClient

type RPCService_DumpLispEidTableVniClient interface {
	Recv() (*LispEidTableVniDetails, error)
}

type RPCService_DumpLispLocatorClient

type RPCService_DumpLispLocatorClient interface {
	Recv() (*LispLocatorDetails, error)
}

type RPCService_DumpLispLocatorSetClient

type RPCService_DumpLispLocatorSetClient interface {
	Recv() (*LispLocatorSetDetails, error)
}

type RPCService_DumpLispMapResolverClient

type RPCService_DumpLispMapResolverClient interface {
	Recv() (*LispMapResolverDetails, error)
}

type RPCService_DumpLispMapServerClient

type RPCService_DumpLispMapServerClient interface {
	Recv() (*LispMapServerDetails, error)
}

type RemoteLocator

type RemoteLocator struct {
	Priority  uint8
	Weight    uint8
	IPAddress Address
}

RemoteLocator represents VPP binary API type 'remote_locator'.

func (*RemoteLocator) GetTypeName

func (*RemoteLocator) GetTypeName() string

type RxMode

type RxMode uint32

RxMode represents VPP binary API enum 'rx_mode'.

const (
	RX_MODE_API_UNKNOWN   RxMode = 0
	RX_MODE_API_POLLING   RxMode = 1
	RX_MODE_API_INTERRUPT RxMode = 2
	RX_MODE_API_ADAPTIVE  RxMode = 3
	RX_MODE_API_DEFAULT   RxMode = 4
)

func (RxMode) String

func (x RxMode) String() string

type ShowLispMapRegisterState

type ShowLispMapRegisterState struct{}

ShowLispMapRegisterState represents VPP binary API message 'show_lisp_map_register_state'.

func (*ShowLispMapRegisterState) GetCrcString

func (*ShowLispMapRegisterState) GetCrcString() string

func (*ShowLispMapRegisterState) GetMessageName

func (*ShowLispMapRegisterState) GetMessageName() string

func (*ShowLispMapRegisterState) GetMessageType

func (*ShowLispMapRegisterState) GetMessageType() api.MessageType

func (*ShowLispMapRegisterState) Reset

func (m *ShowLispMapRegisterState) Reset()

type ShowLispMapRegisterStateReply

type ShowLispMapRegisterStateReply struct {
	Retval    int32
	IsEnabled bool
}

ShowLispMapRegisterStateReply represents VPP binary API message 'show_lisp_map_register_state_reply'.

func (*ShowLispMapRegisterStateReply) GetCrcString

func (*ShowLispMapRegisterStateReply) GetCrcString() string

func (*ShowLispMapRegisterStateReply) GetMessageName

func (*ShowLispMapRegisterStateReply) GetMessageName() string

func (*ShowLispMapRegisterStateReply) GetMessageType

func (*ShowLispMapRegisterStateReply) GetMessageType() api.MessageType

func (*ShowLispMapRegisterStateReply) Reset

func (m *ShowLispMapRegisterStateReply) Reset()

type ShowLispMapRequestMode

type ShowLispMapRequestMode struct{}

ShowLispMapRequestMode represents VPP binary API message 'show_lisp_map_request_mode'.

func (*ShowLispMapRequestMode) GetCrcString

func (*ShowLispMapRequestMode) GetCrcString() string

func (*ShowLispMapRequestMode) GetMessageName

func (*ShowLispMapRequestMode) GetMessageName() string

func (*ShowLispMapRequestMode) GetMessageType

func (*ShowLispMapRequestMode) GetMessageType() api.MessageType

func (*ShowLispMapRequestMode) Reset

func (m *ShowLispMapRequestMode) Reset()

type ShowLispMapRequestModeReply

type ShowLispMapRequestModeReply struct {
	Retval   int32
	IsSrcDst bool
}

ShowLispMapRequestModeReply represents VPP binary API message 'show_lisp_map_request_mode_reply'.

func (*ShowLispMapRequestModeReply) GetCrcString

func (*ShowLispMapRequestModeReply) GetCrcString() string

func (*ShowLispMapRequestModeReply) GetMessageName

func (*ShowLispMapRequestModeReply) GetMessageName() string

func (*ShowLispMapRequestModeReply) GetMessageType

func (*ShowLispMapRequestModeReply) GetMessageType() api.MessageType

func (*ShowLispMapRequestModeReply) Reset

func (m *ShowLispMapRequestModeReply) Reset()

type ShowLispPitr

type ShowLispPitr struct{}

ShowLispPitr represents VPP binary API message 'show_lisp_pitr'.

func (*ShowLispPitr) GetCrcString

func (*ShowLispPitr) GetCrcString() string

func (*ShowLispPitr) GetMessageName

func (*ShowLispPitr) GetMessageName() string

func (*ShowLispPitr) GetMessageType

func (*ShowLispPitr) GetMessageType() api.MessageType

func (*ShowLispPitr) Reset

func (m *ShowLispPitr) Reset()

type ShowLispPitrReply

type ShowLispPitrReply struct {
	Retval         int32
	IsEnabled      bool
	LocatorSetName string `struc:"[64]byte"`
}

ShowLispPitrReply represents VPP binary API message 'show_lisp_pitr_reply'.

func (*ShowLispPitrReply) GetCrcString

func (*ShowLispPitrReply) GetCrcString() string

func (*ShowLispPitrReply) GetMessageName

func (*ShowLispPitrReply) GetMessageName() string

func (*ShowLispPitrReply) GetMessageType

func (*ShowLispPitrReply) GetMessageType() api.MessageType

func (*ShowLispPitrReply) Reset

func (m *ShowLispPitrReply) Reset()

type ShowLispRlocProbeState

type ShowLispRlocProbeState struct{}

ShowLispRlocProbeState represents VPP binary API message 'show_lisp_rloc_probe_state'.

func (*ShowLispRlocProbeState) GetCrcString

func (*ShowLispRlocProbeState) GetCrcString() string

func (*ShowLispRlocProbeState) GetMessageName

func (*ShowLispRlocProbeState) GetMessageName() string

func (*ShowLispRlocProbeState) GetMessageType

func (*ShowLispRlocProbeState) GetMessageType() api.MessageType

func (*ShowLispRlocProbeState) Reset

func (m *ShowLispRlocProbeState) Reset()

type ShowLispRlocProbeStateReply

type ShowLispRlocProbeStateReply struct {
	Retval    int32
	IsEnabled bool
}

ShowLispRlocProbeStateReply represents VPP binary API message 'show_lisp_rloc_probe_state_reply'.

func (*ShowLispRlocProbeStateReply) GetCrcString

func (*ShowLispRlocProbeStateReply) GetCrcString() string

func (*ShowLispRlocProbeStateReply) GetMessageName

func (*ShowLispRlocProbeStateReply) GetMessageName() string

func (*ShowLispRlocProbeStateReply) GetMessageType

func (*ShowLispRlocProbeStateReply) GetMessageType() api.MessageType

func (*ShowLispRlocProbeStateReply) Reset

func (m *ShowLispRlocProbeStateReply) Reset()

type ShowLispStatus

type ShowLispStatus struct{}

ShowLispStatus represents VPP binary API message 'show_lisp_status'.

func (*ShowLispStatus) GetCrcString

func (*ShowLispStatus) GetCrcString() string

func (*ShowLispStatus) GetMessageName

func (*ShowLispStatus) GetMessageName() string

func (*ShowLispStatus) GetMessageType

func (*ShowLispStatus) GetMessageType() api.MessageType

func (*ShowLispStatus) Reset

func (m *ShowLispStatus) Reset()

type ShowLispStatusReply

type ShowLispStatusReply struct {
	Retval        int32
	IsLispEnabled bool
	IsGpeEnabled  bool
}

ShowLispStatusReply represents VPP binary API message 'show_lisp_status_reply'.

func (*ShowLispStatusReply) GetCrcString

func (*ShowLispStatusReply) GetCrcString() string

func (*ShowLispStatusReply) GetMessageName

func (*ShowLispStatusReply) GetMessageName() string

func (*ShowLispStatusReply) GetMessageType

func (*ShowLispStatusReply) GetMessageType() api.MessageType

func (*ShowLispStatusReply) Reset

func (m *ShowLispStatusReply) Reset()

type ShowLispUsePetr

type ShowLispUsePetr struct{}

ShowLispUsePetr represents VPP binary API message 'show_lisp_use_petr'.

func (*ShowLispUsePetr) GetCrcString

func (*ShowLispUsePetr) GetCrcString() string

func (*ShowLispUsePetr) GetMessageName

func (*ShowLispUsePetr) GetMessageName() string

func (*ShowLispUsePetr) GetMessageType

func (*ShowLispUsePetr) GetMessageType() api.MessageType

func (*ShowLispUsePetr) Reset

func (m *ShowLispUsePetr) Reset()

type ShowLispUsePetrReply

type ShowLispUsePetrReply struct {
	Retval       int32
	IsPetrEnable bool
	IPAddress    Address
}

ShowLispUsePetrReply represents VPP binary API message 'show_lisp_use_petr_reply'.

func (*ShowLispUsePetrReply) GetCrcString

func (*ShowLispUsePetrReply) GetCrcString() string

func (*ShowLispUsePetrReply) GetMessageName

func (*ShowLispUsePetrReply) GetMessageName() string

func (*ShowLispUsePetrReply) GetMessageType

func (*ShowLispUsePetrReply) GetMessageType() api.MessageType

func (*ShowLispUsePetrReply) Reset

func (m *ShowLispUsePetrReply) Reset()

type SubIfFlags

type SubIfFlags uint32

SubIfFlags represents VPP binary API enum 'sub_if_flags'.

const (
	SUB_IF_API_FLAG_NO_TAGS           SubIfFlags = 1
	SUB_IF_API_FLAG_ONE_TAG           SubIfFlags = 2
	SUB_IF_API_FLAG_TWO_TAGS          SubIfFlags = 4
	SUB_IF_API_FLAG_DOT1AD            SubIfFlags = 8
	SUB_IF_API_FLAG_EXACT_MATCH       SubIfFlags = 16
	SUB_IF_API_FLAG_DEFAULT           SubIfFlags = 32
	SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY SubIfFlags = 64
	SUB_IF_API_FLAG_INNER_VLAN_ID_ANY SubIfFlags = 128
	SUB_IF_API_FLAG_MASK_VNET         SubIfFlags = 254
	SUB_IF_API_FLAG_DOT1AH            SubIfFlags = 256
)

func (SubIfFlags) String

func (x SubIfFlags) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL