ip

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

It consists of:

 9 enums
 3 aliases
17 types
 1 union
93 messages
45 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "ip"
	// APIVersion is the API version of this module.
	APIVersion = "3.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x902699f5
)

Variables

View Source
var AddressFamily_name = map[uint32]string{
	0: "ADDRESS_IP4",
	1: "ADDRESS_IP6",
}
View Source
var AddressFamily_value = map[string]uint32{
	"ADDRESS_IP4": 0,
	"ADDRESS_IP6": 1,
}
View Source
var FibPathFlags_name = map[uint32]string{
	0: "FIB_API_PATH_FLAG_NONE",
	1: "FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED",
	2: "FIB_API_PATH_FLAG_RESOLVE_VIA_HOST",
	4: "FIB_API_PATH_FLAG_POP_PW_CW",
}
View Source
var FibPathFlags_value = map[string]uint32{
	"FIB_API_PATH_FLAG_NONE":                 0,
	"FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED": 1,
	"FIB_API_PATH_FLAG_RESOLVE_VIA_HOST":     2,
	"FIB_API_PATH_FLAG_POP_PW_CW":            4,
}
View Source
var FibPathNhProto_name = map[uint32]string{
	0: "FIB_API_PATH_NH_PROTO_IP4",
	1: "FIB_API_PATH_NH_PROTO_IP6",
	2: "FIB_API_PATH_NH_PROTO_MPLS",
	3: "FIB_API_PATH_NH_PROTO_ETHERNET",
	4: "FIB_API_PATH_NH_PROTO_BIER",
}
View Source
var FibPathNhProto_value = map[string]uint32{
	"FIB_API_PATH_NH_PROTO_IP4":      0,
	"FIB_API_PATH_NH_PROTO_IP6":      1,
	"FIB_API_PATH_NH_PROTO_MPLS":     2,
	"FIB_API_PATH_NH_PROTO_ETHERNET": 3,
	"FIB_API_PATH_NH_PROTO_BIER":     4,
}
View Source
var FibPathType_name = map[uint32]string{
	0:  "FIB_API_PATH_TYPE_NORMAL",
	1:  "FIB_API_PATH_TYPE_LOCAL",
	2:  "FIB_API_PATH_TYPE_DROP",
	3:  "FIB_API_PATH_TYPE_UDP_ENCAP",
	4:  "FIB_API_PATH_TYPE_BIER_IMP",
	5:  "FIB_API_PATH_TYPE_ICMP_UNREACH",
	6:  "FIB_API_PATH_TYPE_ICMP_PROHIBIT",
	7:  "FIB_API_PATH_TYPE_SOURCE_LOOKUP",
	8:  "FIB_API_PATH_TYPE_DVR",
	9:  "FIB_API_PATH_TYPE_INTERFACE_RX",
	10: "FIB_API_PATH_TYPE_CLASSIFY",
}
View Source
var FibPathType_value = map[string]uint32{
	"FIB_API_PATH_TYPE_NORMAL":        0,
	"FIB_API_PATH_TYPE_LOCAL":         1,
	"FIB_API_PATH_TYPE_DROP":          2,
	"FIB_API_PATH_TYPE_UDP_ENCAP":     3,
	"FIB_API_PATH_TYPE_BIER_IMP":      4,
	"FIB_API_PATH_TYPE_ICMP_UNREACH":  5,
	"FIB_API_PATH_TYPE_ICMP_PROHIBIT": 6,
	"FIB_API_PATH_TYPE_SOURCE_LOOKUP": 7,
	"FIB_API_PATH_TYPE_DVR":           8,
	"FIB_API_PATH_TYPE_INTERFACE_RX":  9,
	"FIB_API_PATH_TYPE_CLASSIFY":      10,
}
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 IPNeighborFlags_name = map[uint32]string{
	0: "IP_API_NEIGHBOR_FLAG_NONE",
	1: "IP_API_NEIGHBOR_FLAG_STATIC",
	2: "IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY",
}
View Source
var IPNeighborFlags_value = map[string]uint32{
	"IP_API_NEIGHBOR_FLAG_NONE":         0,
	"IP_API_NEIGHBOR_FLAG_STATIC":       1,
	"IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY": 2,
}
View Source
var IPProto_name = map[uint32]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_AH",
	51:  "IP_API_PROTO_ESP",
	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]uint32{
	"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_AH":       50,
	"IP_API_PROTO_ESP":      51,
	"IP_API_PROTO_EIGRP":    88,
	"IP_API_PROTO_OSPF":     89,
	"IP_API_PROTO_SCTP":     132,
	"IP_API_PROTO_RESERVED": 255,
}
View Source
var MfibItfFlags_name = map[uint32]string{
	0:  "MFIB_API_ITF_FLAG_NONE",
	1:  "MFIB_API_ITF_FLAG_NEGATE_SIGNAL",
	2:  "MFIB_API_ITF_FLAG_ACCEPT",
	4:  "MFIB_API_ITF_FLAG_FORWARD",
	8:  "MFIB_API_ITF_FLAG_SIGNAL_PRESENT",
	16: "MFIB_API_ITF_FLAG_DONT_PRESERVE",
}
View Source
var MfibItfFlags_value = map[string]uint32{
	"MFIB_API_ITF_FLAG_NONE":           0,
	"MFIB_API_ITF_FLAG_NEGATE_SIGNAL":  1,
	"MFIB_API_ITF_FLAG_ACCEPT":         2,
	"MFIB_API_ITF_FLAG_FORWARD":        4,
	"MFIB_API_ITF_FLAG_SIGNAL_PRESENT": 8,
	"MFIB_API_ITF_FLAG_DONT_PRESERVE":  16,
}

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 uint32

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 FibMplsLabel

type FibMplsLabel struct {
	IsUniform uint8
	Label     uint32
	TTL       uint8
	Exp       uint8
}

FibMplsLabel represents VPP binary API type 'fib_mpls_label'.

func (*FibMplsLabel) GetTypeName

func (*FibMplsLabel) GetTypeName() string

type FibPath

type FibPath struct {
	SwIfIndex  uint32
	TableID    uint32
	RpfID      uint32
	Weight     uint8
	Preference uint8
	Type       FibPathType
	Flags      FibPathFlags
	Proto      FibPathNhProto
	Nh         FibPathNh
	NLabels    uint8 `struc:"sizeof=LabelStack"` // MANUALLY FIXED, see https://jira.fd.io/browse/VPP-1261
	LabelStack []FibMplsLabel
}

FibPath represents VPP binary API type 'fib_path'.

func (*FibPath) GetTypeName

func (*FibPath) GetTypeName() string

type FibPathFlags

type FibPathFlags uint32

FibPathFlags represents VPP binary API enum 'fib_path_flags'.

const (
	FIB_API_PATH_FLAG_NONE                 FibPathFlags = 0
	FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED FibPathFlags = 1
	FIB_API_PATH_FLAG_RESOLVE_VIA_HOST     FibPathFlags = 2
	FIB_API_PATH_FLAG_POP_PW_CW            FibPathFlags = 4
)

func (FibPathFlags) String

func (x FibPathFlags) String() string

type FibPathNh

type FibPathNh struct {
	Address            AddressUnion
	ViaLabel           uint32
	ObjID              uint32
	ClassifyTableIndex uint32
}

FibPathNh represents VPP binary API type 'fib_path_nh'.

func (*FibPathNh) GetTypeName

func (*FibPathNh) GetTypeName() string

type FibPathNhProto

type FibPathNhProto uint32

FibPathNhProto represents VPP binary API enum 'fib_path_nh_proto'.

const (
	FIB_API_PATH_NH_PROTO_IP4      FibPathNhProto = 0
	FIB_API_PATH_NH_PROTO_IP6      FibPathNhProto = 1
	FIB_API_PATH_NH_PROTO_MPLS     FibPathNhProto = 2
	FIB_API_PATH_NH_PROTO_ETHERNET FibPathNhProto = 3
	FIB_API_PATH_NH_PROTO_BIER     FibPathNhProto = 4
)

func (FibPathNhProto) String

func (x FibPathNhProto) String() string

type FibPathType

type FibPathType uint32

FibPathType represents VPP binary API enum 'fib_path_type'.

const (
	FIB_API_PATH_TYPE_NORMAL        FibPathType = 0
	FIB_API_PATH_TYPE_LOCAL         FibPathType = 1
	FIB_API_PATH_TYPE_DROP          FibPathType = 2
	FIB_API_PATH_TYPE_UDP_ENCAP     FibPathType = 3
	FIB_API_PATH_TYPE_BIER_IMP      FibPathType = 4
	FIB_API_PATH_TYPE_ICMP_UNREACH  FibPathType = 5
	FIB_API_PATH_TYPE_ICMP_PROHIBIT FibPathType = 6
	FIB_API_PATH_TYPE_SOURCE_LOOKUP FibPathType = 7
	FIB_API_PATH_TYPE_DVR           FibPathType = 8
	FIB_API_PATH_TYPE_INTERFACE_RX  FibPathType = 9
	FIB_API_PATH_TYPE_CLASSIFY      FibPathType = 10
)

func (FibPathType) String

func (x FibPathType) String() string

type IP4Address

type IP4Address [4]uint8

IP4Address represents VPP binary API alias 'ip4_address'.

type IP4ArpEvent

type IP4ArpEvent struct {
	IP        IP4Address
	PID       uint32
	SwIfIndex uint32
	Mac       MacAddress
	MacIP     uint8
}

IP4ArpEvent represents VPP binary API message 'ip4_arp_event'.

func (*IP4ArpEvent) GetCrcString

func (*IP4ArpEvent) GetCrcString() string

func (*IP4ArpEvent) GetMessageName

func (*IP4ArpEvent) GetMessageName() string

func (*IP4ArpEvent) GetMessageType

func (*IP4ArpEvent) GetMessageType() api.MessageType

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 IP6NdEvent

type IP6NdEvent struct {
	PID       uint32
	SwIfIndex uint32
	IP        IP6Address
	Mac       MacAddress
	MacIP     uint8
}

IP6NdEvent represents VPP binary API message 'ip6_nd_event'.

func (*IP6NdEvent) GetCrcString

func (*IP6NdEvent) GetCrcString() string

func (*IP6NdEvent) GetMessageName

func (*IP6NdEvent) GetMessageName() string

func (*IP6NdEvent) GetMessageType

func (*IP6NdEvent) GetMessageType() api.MessageType

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 IP6RaEvent

type IP6RaEvent struct {
	PID                                                 uint32
	SwIfIndex                                           uint32
	RouterAddr                                          IP6Address
	CurrentHopLimit                                     uint8
	Flags                                               uint8
	RouterLifetimeInSec                                 uint16
	NeighborReachableTimeInMsec                         uint32
	TimeInMsecBetweenRetransmittedNeighborSolicitations uint32
	NPrefixes                                           uint32 `struc:"sizeof=Prefixes"`
	Prefixes                                            []IP6RaPrefixInfo
}

IP6RaEvent represents VPP binary API message 'ip6_ra_event'.

func (*IP6RaEvent) GetCrcString

func (*IP6RaEvent) GetCrcString() string

func (*IP6RaEvent) GetMessageName

func (*IP6RaEvent) GetMessageName() string

func (*IP6RaEvent) GetMessageType

func (*IP6RaEvent) GetMessageType() api.MessageType

type IP6RaPrefixInfo

type IP6RaPrefixInfo struct {
	Prefix        Prefix
	Flags         uint8
	ValidTime     uint32
	PreferredTime uint32
}

IP6RaPrefixInfo represents VPP binary API type 'ip6_ra_prefix_info'.

func (*IP6RaPrefixInfo) GetTypeName

func (*IP6RaPrefixInfo) GetTypeName() string

type IP6ndProxyAddDel

type IP6ndProxyAddDel struct {
	SwIfIndex uint32
	IsDel     uint8
	IP        IP6Address
}

IP6ndProxyAddDel represents VPP binary API message 'ip6nd_proxy_add_del'.

func (*IP6ndProxyAddDel) GetCrcString

func (*IP6ndProxyAddDel) GetCrcString() string

func (*IP6ndProxyAddDel) GetMessageName

func (*IP6ndProxyAddDel) GetMessageName() string

func (*IP6ndProxyAddDel) GetMessageType

func (*IP6ndProxyAddDel) GetMessageType() api.MessageType

type IP6ndProxyAddDelReply

type IP6ndProxyAddDelReply struct {
	Retval int32
}

IP6ndProxyAddDelReply represents VPP binary API message 'ip6nd_proxy_add_del_reply'.

func (*IP6ndProxyAddDelReply) GetCrcString

func (*IP6ndProxyAddDelReply) GetCrcString() string

func (*IP6ndProxyAddDelReply) GetMessageName

func (*IP6ndProxyAddDelReply) GetMessageName() string

func (*IP6ndProxyAddDelReply) GetMessageType

func (*IP6ndProxyAddDelReply) GetMessageType() api.MessageType

type IP6ndProxyDetails

type IP6ndProxyDetails struct {
	SwIfIndex uint32
	IP        IP6Address
}

IP6ndProxyDetails represents VPP binary API message 'ip6nd_proxy_details'.

func (*IP6ndProxyDetails) GetCrcString

func (*IP6ndProxyDetails) GetCrcString() string

func (*IP6ndProxyDetails) GetMessageName

func (*IP6ndProxyDetails) GetMessageName() string

func (*IP6ndProxyDetails) GetMessageType

func (*IP6ndProxyDetails) GetMessageType() api.MessageType

type IP6ndProxyDump

type IP6ndProxyDump struct{}

IP6ndProxyDump represents VPP binary API message 'ip6nd_proxy_dump'.

func (*IP6ndProxyDump) GetCrcString

func (*IP6ndProxyDump) GetCrcString() string

func (*IP6ndProxyDump) GetMessageName

func (*IP6ndProxyDump) GetMessageName() string

func (*IP6ndProxyDump) GetMessageType

func (*IP6ndProxyDump) GetMessageType() api.MessageType

type IP6ndSendRouterSolicitation

type IP6ndSendRouterSolicitation struct {
	Irt       uint32
	Mrt       uint32
	Mrc       uint32
	Mrd       uint32
	SwIfIndex uint32
	Stop      uint8
}

IP6ndSendRouterSolicitation represents VPP binary API message 'ip6nd_send_router_solicitation'.

func (*IP6ndSendRouterSolicitation) GetCrcString

func (*IP6ndSendRouterSolicitation) GetCrcString() string

func (*IP6ndSendRouterSolicitation) GetMessageName

func (*IP6ndSendRouterSolicitation) GetMessageName() string

func (*IP6ndSendRouterSolicitation) GetMessageType

func (*IP6ndSendRouterSolicitation) GetMessageType() api.MessageType

type IP6ndSendRouterSolicitationReply

type IP6ndSendRouterSolicitationReply struct {
	Retval int32
}

IP6ndSendRouterSolicitationReply represents VPP binary API message 'ip6nd_send_router_solicitation_reply'.

func (*IP6ndSendRouterSolicitationReply) GetCrcString

func (*IP6ndSendRouterSolicitationReply) GetCrcString() string

func (*IP6ndSendRouterSolicitationReply) GetMessageName

func (*IP6ndSendRouterSolicitationReply) GetMessageName() string

func (*IP6ndSendRouterSolicitationReply) GetMessageType

type IPAddressDetails

type IPAddressDetails struct {
	SwIfIndex uint32
	Prefix    Prefix
}

IPAddressDetails represents VPP binary API message 'ip_address_details'.

func (*IPAddressDetails) GetCrcString

func (*IPAddressDetails) GetCrcString() string

func (*IPAddressDetails) GetMessageName

func (*IPAddressDetails) GetMessageName() string

func (*IPAddressDetails) GetMessageType

func (*IPAddressDetails) GetMessageType() api.MessageType

type IPAddressDump

type IPAddressDump struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

IPAddressDump represents VPP binary API message 'ip_address_dump'.

func (*IPAddressDump) GetCrcString

func (*IPAddressDump) GetCrcString() string

func (*IPAddressDump) GetMessageName

func (*IPAddressDump) GetMessageName() string

func (*IPAddressDump) GetMessageType

func (*IPAddressDump) GetMessageType() api.MessageType

type IPContainerProxyAddDel

type IPContainerProxyAddDel struct {
	Pfx       Prefix
	SwIfIndex uint32
	IsAdd     uint8
}

IPContainerProxyAddDel represents VPP binary API message 'ip_container_proxy_add_del'.

func (*IPContainerProxyAddDel) GetCrcString

func (*IPContainerProxyAddDel) GetCrcString() string

func (*IPContainerProxyAddDel) GetMessageName

func (*IPContainerProxyAddDel) GetMessageName() string

func (*IPContainerProxyAddDel) GetMessageType

func (*IPContainerProxyAddDel) GetMessageType() api.MessageType

type IPContainerProxyAddDelReply

type IPContainerProxyAddDelReply struct {
	Retval int32
}

IPContainerProxyAddDelReply represents VPP binary API message 'ip_container_proxy_add_del_reply'.

func (*IPContainerProxyAddDelReply) GetCrcString

func (*IPContainerProxyAddDelReply) GetCrcString() string

func (*IPContainerProxyAddDelReply) GetMessageName

func (*IPContainerProxyAddDelReply) GetMessageName() string

func (*IPContainerProxyAddDelReply) GetMessageType

func (*IPContainerProxyAddDelReply) GetMessageType() api.MessageType

type IPContainerProxyDetails

type IPContainerProxyDetails struct {
	SwIfIndex uint32
	Prefix    Prefix
}

IPContainerProxyDetails represents VPP binary API message 'ip_container_proxy_details'.

func (*IPContainerProxyDetails) GetCrcString

func (*IPContainerProxyDetails) GetCrcString() string

func (*IPContainerProxyDetails) GetMessageName

func (*IPContainerProxyDetails) GetMessageName() string

func (*IPContainerProxyDetails) GetMessageType

func (*IPContainerProxyDetails) GetMessageType() api.MessageType

type IPContainerProxyDump

type IPContainerProxyDump struct{}

IPContainerProxyDump represents VPP binary API message 'ip_container_proxy_dump'.

func (*IPContainerProxyDump) GetCrcString

func (*IPContainerProxyDump) GetCrcString() string

func (*IPContainerProxyDump) GetMessageName

func (*IPContainerProxyDump) GetMessageName() string

func (*IPContainerProxyDump) GetMessageType

func (*IPContainerProxyDump) GetMessageType() api.MessageType

type IPDetails

type IPDetails struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

IPDetails represents VPP binary API message 'ip_details'.

func (*IPDetails) GetCrcString

func (*IPDetails) GetCrcString() string

func (*IPDetails) GetMessageName

func (*IPDetails) GetMessageName() string

func (*IPDetails) GetMessageType

func (*IPDetails) GetMessageType() api.MessageType

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 IPDump

type IPDump struct {
	IsIPv6 uint8
}

IPDump represents VPP binary API message 'ip_dump'.

func (*IPDump) GetCrcString

func (*IPDump) GetCrcString() string

func (*IPDump) GetMessageName

func (*IPDump) GetMessageName() string

func (*IPDump) GetMessageType

func (*IPDump) GetMessageType() api.MessageType

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 IPMroute

type IPMroute struct {
	TableID    uint32
	EntryFlags uint32
	RpfID      uint32
	Prefix     Mprefix
	NPaths     uint8 `struc:"sizeof=Paths"`
	Paths      []MfibPath
}

IPMroute represents VPP binary API type 'ip_mroute'.

func (*IPMroute) GetTypeName

func (*IPMroute) GetTypeName() string

type IPMrouteAddDel

type IPMrouteAddDel struct {
	IsAdd       uint8
	IsMultipath uint8
	Route       IPMroute
}

IPMrouteAddDel represents VPP binary API message 'ip_mroute_add_del'.

func (*IPMrouteAddDel) GetCrcString

func (*IPMrouteAddDel) GetCrcString() string

func (*IPMrouteAddDel) GetMessageName

func (*IPMrouteAddDel) GetMessageName() string

func (*IPMrouteAddDel) GetMessageType

func (*IPMrouteAddDel) GetMessageType() api.MessageType

type IPMrouteAddDelReply

type IPMrouteAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

IPMrouteAddDelReply represents VPP binary API message 'ip_mroute_add_del_reply'.

func (*IPMrouteAddDelReply) GetCrcString

func (*IPMrouteAddDelReply) GetCrcString() string

func (*IPMrouteAddDelReply) GetMessageName

func (*IPMrouteAddDelReply) GetMessageName() string

func (*IPMrouteAddDelReply) GetMessageType

func (*IPMrouteAddDelReply) GetMessageType() api.MessageType

type IPMrouteDetails

type IPMrouteDetails struct {
	Route IPMroute
}

IPMrouteDetails represents VPP binary API message 'ip_mroute_details'.

func (*IPMrouteDetails) GetCrcString

func (*IPMrouteDetails) GetCrcString() string

func (*IPMrouteDetails) GetMessageName

func (*IPMrouteDetails) GetMessageName() string

func (*IPMrouteDetails) GetMessageType

func (*IPMrouteDetails) GetMessageType() api.MessageType

type IPMrouteDump

type IPMrouteDump struct {
	Table IPTable
}

IPMrouteDump represents VPP binary API message 'ip_mroute_dump'.

func (*IPMrouteDump) GetCrcString

func (*IPMrouteDump) GetCrcString() string

func (*IPMrouteDump) GetMessageName

func (*IPMrouteDump) GetMessageName() string

func (*IPMrouteDump) GetMessageType

func (*IPMrouteDump) GetMessageType() api.MessageType

type IPMtableDetails

type IPMtableDetails struct {
	Table IPTable
}

IPMtableDetails represents VPP binary API message 'ip_mtable_details'.

func (*IPMtableDetails) GetCrcString

func (*IPMtableDetails) GetCrcString() string

func (*IPMtableDetails) GetMessageName

func (*IPMtableDetails) GetMessageName() string

func (*IPMtableDetails) GetMessageType

func (*IPMtableDetails) GetMessageType() api.MessageType

type IPMtableDump

type IPMtableDump struct{}

IPMtableDump represents VPP binary API message 'ip_mtable_dump'.

func (*IPMtableDump) GetCrcString

func (*IPMtableDump) GetCrcString() string

func (*IPMtableDump) GetMessageName

func (*IPMtableDump) GetMessageName() string

func (*IPMtableDump) GetMessageType

func (*IPMtableDump) GetMessageType() api.MessageType

type IPNeighbor

type IPNeighbor struct {
	SwIfIndex  uint32
	Flags      IPNeighborFlags
	MacAddress MacAddress
	IPAddress  Address
}

IPNeighbor represents VPP binary API type 'ip_neighbor'.

func (*IPNeighbor) GetTypeName

func (*IPNeighbor) GetTypeName() string

type IPNeighborAddDel

type IPNeighborAddDel struct {
	IsAdd    uint8
	Neighbor IPNeighbor
}

IPNeighborAddDel represents VPP binary API message 'ip_neighbor_add_del'.

func (*IPNeighborAddDel) GetCrcString

func (*IPNeighborAddDel) GetCrcString() string

func (*IPNeighborAddDel) GetMessageName

func (*IPNeighborAddDel) GetMessageName() string

func (*IPNeighborAddDel) GetMessageType

func (*IPNeighborAddDel) GetMessageType() api.MessageType

type IPNeighborAddDelReply

type IPNeighborAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

IPNeighborAddDelReply represents VPP binary API message 'ip_neighbor_add_del_reply'.

func (*IPNeighborAddDelReply) GetCrcString

func (*IPNeighborAddDelReply) GetCrcString() string

func (*IPNeighborAddDelReply) GetMessageName

func (*IPNeighborAddDelReply) GetMessageName() string

func (*IPNeighborAddDelReply) GetMessageType

func (*IPNeighborAddDelReply) GetMessageType() api.MessageType

type IPNeighborDetails

type IPNeighborDetails struct {
	Neighbor IPNeighbor
}

IPNeighborDetails represents VPP binary API message 'ip_neighbor_details'.

func (*IPNeighborDetails) GetCrcString

func (*IPNeighborDetails) GetCrcString() string

func (*IPNeighborDetails) GetMessageName

func (*IPNeighborDetails) GetMessageName() string

func (*IPNeighborDetails) GetMessageType

func (*IPNeighborDetails) GetMessageType() api.MessageType

type IPNeighborDump

type IPNeighborDump struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

IPNeighborDump represents VPP binary API message 'ip_neighbor_dump'.

func (*IPNeighborDump) GetCrcString

func (*IPNeighborDump) GetCrcString() string

func (*IPNeighborDump) GetMessageName

func (*IPNeighborDump) GetMessageName() string

func (*IPNeighborDump) GetMessageType

func (*IPNeighborDump) GetMessageType() api.MessageType

type IPNeighborFlags

type IPNeighborFlags uint32

IPNeighborFlags represents VPP binary API enum 'ip_neighbor_flags'.

const (
	IP_API_NEIGHBOR_FLAG_NONE         IPNeighborFlags = 0
	IP_API_NEIGHBOR_FLAG_STATIC       IPNeighborFlags = 1
	IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY IPNeighborFlags = 2
)

func (IPNeighborFlags) String

func (x IPNeighborFlags) String() string

type IPProbeNeighbor

type IPProbeNeighbor struct {
	SwIfIndex uint32
	Dst       Address
}

IPProbeNeighbor represents VPP binary API message 'ip_probe_neighbor'.

func (*IPProbeNeighbor) GetCrcString

func (*IPProbeNeighbor) GetCrcString() string

func (*IPProbeNeighbor) GetMessageName

func (*IPProbeNeighbor) GetMessageName() string

func (*IPProbeNeighbor) GetMessageType

func (*IPProbeNeighbor) GetMessageType() api.MessageType

type IPProbeNeighborReply

type IPProbeNeighborReply struct {
	Retval int32
}

IPProbeNeighborReply represents VPP binary API message 'ip_probe_neighbor_reply'.

func (*IPProbeNeighborReply) GetCrcString

func (*IPProbeNeighborReply) GetCrcString() string

func (*IPProbeNeighborReply) GetMessageName

func (*IPProbeNeighborReply) GetMessageName() string

func (*IPProbeNeighborReply) GetMessageType

func (*IPProbeNeighborReply) GetMessageType() api.MessageType

type IPProto

type IPProto uint32

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_AH       IPProto = 50
	IP_API_PROTO_ESP      IPProto = 51
	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 IPPuntPolice

type IPPuntPolice struct {
	PolicerIndex uint32
	IsAdd        uint8
	IsIP6        uint8
}

IPPuntPolice represents VPP binary API message 'ip_punt_police'.

func (*IPPuntPolice) GetCrcString

func (*IPPuntPolice) GetCrcString() string

func (*IPPuntPolice) GetMessageName

func (*IPPuntPolice) GetMessageName() string

func (*IPPuntPolice) GetMessageType

func (*IPPuntPolice) GetMessageType() api.MessageType

type IPPuntPoliceReply

type IPPuntPoliceReply struct {
	Retval int32
}

IPPuntPoliceReply represents VPP binary API message 'ip_punt_police_reply'.

func (*IPPuntPoliceReply) GetCrcString

func (*IPPuntPoliceReply) GetCrcString() string

func (*IPPuntPoliceReply) GetMessageName

func (*IPPuntPoliceReply) GetMessageName() string

func (*IPPuntPoliceReply) GetMessageType

func (*IPPuntPoliceReply) GetMessageType() api.MessageType

type IPPuntRedirect

type IPPuntRedirect struct {
	Punt  PuntRedirect
	IsAdd uint8
}

IPPuntRedirect represents VPP binary API message 'ip_punt_redirect'.

func (*IPPuntRedirect) GetCrcString

func (*IPPuntRedirect) GetCrcString() string

func (*IPPuntRedirect) GetMessageName

func (*IPPuntRedirect) GetMessageName() string

func (*IPPuntRedirect) GetMessageType

func (*IPPuntRedirect) GetMessageType() api.MessageType

type IPPuntRedirectDetails

type IPPuntRedirectDetails struct {
	Punt PuntRedirect
}

IPPuntRedirectDetails represents VPP binary API message 'ip_punt_redirect_details'.

func (*IPPuntRedirectDetails) GetCrcString

func (*IPPuntRedirectDetails) GetCrcString() string

func (*IPPuntRedirectDetails) GetMessageName

func (*IPPuntRedirectDetails) GetMessageName() string

func (*IPPuntRedirectDetails) GetMessageType

func (*IPPuntRedirectDetails) GetMessageType() api.MessageType

type IPPuntRedirectDump

type IPPuntRedirectDump struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

IPPuntRedirectDump represents VPP binary API message 'ip_punt_redirect_dump'.

func (*IPPuntRedirectDump) GetCrcString

func (*IPPuntRedirectDump) GetCrcString() string

func (*IPPuntRedirectDump) GetMessageName

func (*IPPuntRedirectDump) GetMessageName() string

func (*IPPuntRedirectDump) GetMessageType

func (*IPPuntRedirectDump) GetMessageType() api.MessageType

type IPPuntRedirectReply

type IPPuntRedirectReply struct {
	Retval int32
}

IPPuntRedirectReply represents VPP binary API message 'ip_punt_redirect_reply'.

func (*IPPuntRedirectReply) GetCrcString

func (*IPPuntRedirectReply) GetCrcString() string

func (*IPPuntRedirectReply) GetMessageName

func (*IPPuntRedirectReply) GetMessageName() string

func (*IPPuntRedirectReply) GetMessageType

func (*IPPuntRedirectReply) GetMessageType() api.MessageType

type IPReassemblyEnableDisable

type IPReassemblyEnableDisable struct {
	SwIfIndex uint32
	EnableIP4 uint8
	EnableIP6 uint8
}

IPReassemblyEnableDisable represents VPP binary API message 'ip_reassembly_enable_disable'.

func (*IPReassemblyEnableDisable) GetCrcString

func (*IPReassemblyEnableDisable) GetCrcString() string

func (*IPReassemblyEnableDisable) GetMessageName

func (*IPReassemblyEnableDisable) GetMessageName() string

func (*IPReassemblyEnableDisable) GetMessageType

func (*IPReassemblyEnableDisable) GetMessageType() api.MessageType

type IPReassemblyEnableDisableReply

type IPReassemblyEnableDisableReply struct {
	Retval int32
}

IPReassemblyEnableDisableReply represents VPP binary API message 'ip_reassembly_enable_disable_reply'.

func (*IPReassemblyEnableDisableReply) GetCrcString

func (*IPReassemblyEnableDisableReply) GetCrcString() string

func (*IPReassemblyEnableDisableReply) GetMessageName

func (*IPReassemblyEnableDisableReply) GetMessageName() string

func (*IPReassemblyEnableDisableReply) GetMessageType

type IPReassemblyGet

type IPReassemblyGet struct {
	IsIP6 uint8
}

IPReassemblyGet represents VPP binary API message 'ip_reassembly_get'.

func (*IPReassemblyGet) GetCrcString

func (*IPReassemblyGet) GetCrcString() string

func (*IPReassemblyGet) GetMessageName

func (*IPReassemblyGet) GetMessageName() string

func (*IPReassemblyGet) GetMessageType

func (*IPReassemblyGet) GetMessageType() api.MessageType

type IPReassemblyGetReply

type IPReassemblyGetReply struct {
	Retval               int32
	TimeoutMs            uint32
	MaxReassemblies      uint32
	MaxReassemblyLength  uint32
	ExpireWalkIntervalMs uint32
	IsIP6                uint8
}

IPReassemblyGetReply represents VPP binary API message 'ip_reassembly_get_reply'.

func (*IPReassemblyGetReply) GetCrcString

func (*IPReassemblyGetReply) GetCrcString() string

func (*IPReassemblyGetReply) GetMessageName

func (*IPReassemblyGetReply) GetMessageName() string

func (*IPReassemblyGetReply) GetMessageType

func (*IPReassemblyGetReply) GetMessageType() api.MessageType

type IPReassemblySet

type IPReassemblySet struct {
	TimeoutMs            uint32
	MaxReassemblies      uint32
	MaxReassemblyLength  uint32
	ExpireWalkIntervalMs uint32
	IsIP6                uint8
}

IPReassemblySet represents VPP binary API message 'ip_reassembly_set'.

func (*IPReassemblySet) GetCrcString

func (*IPReassemblySet) GetCrcString() string

func (*IPReassemblySet) GetMessageName

func (*IPReassemblySet) GetMessageName() string

func (*IPReassemblySet) GetMessageType

func (*IPReassemblySet) GetMessageType() api.MessageType

type IPReassemblySetReply

type IPReassemblySetReply struct {
	Retval int32
}

IPReassemblySetReply represents VPP binary API message 'ip_reassembly_set_reply'.

func (*IPReassemblySetReply) GetCrcString

func (*IPReassemblySetReply) GetCrcString() string

func (*IPReassemblySetReply) GetMessageName

func (*IPReassemblySetReply) GetMessageName() string

func (*IPReassemblySetReply) GetMessageType

func (*IPReassemblySetReply) GetMessageType() api.MessageType

type IPRoute

type IPRoute struct {
	TableID    uint32
	StatsIndex uint32
	Prefix     Prefix
	NPaths     uint8 `struc:"sizeof=Paths"`
	Paths      []FibPath
}

IPRoute represents VPP binary API type 'ip_route'.

func (*IPRoute) GetTypeName

func (*IPRoute) GetTypeName() string

type IPRouteAddDel

type IPRouteAddDel struct {
	IsAdd       uint8
	IsMultipath uint8
	Route       IPRoute
}

IPRouteAddDel represents VPP binary API message 'ip_route_add_del'.

func (*IPRouteAddDel) GetCrcString

func (*IPRouteAddDel) GetCrcString() string

func (*IPRouteAddDel) GetMessageName

func (*IPRouteAddDel) GetMessageName() string

func (*IPRouteAddDel) GetMessageType

func (*IPRouteAddDel) GetMessageType() api.MessageType

type IPRouteAddDelReply

type IPRouteAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

IPRouteAddDelReply represents VPP binary API message 'ip_route_add_del_reply'.

func (*IPRouteAddDelReply) GetCrcString

func (*IPRouteAddDelReply) GetCrcString() string

func (*IPRouteAddDelReply) GetMessageName

func (*IPRouteAddDelReply) GetMessageName() string

func (*IPRouteAddDelReply) GetMessageType

func (*IPRouteAddDelReply) GetMessageType() api.MessageType

type IPRouteDetails

type IPRouteDetails struct {
	Route IPRoute
}

IPRouteDetails represents VPP binary API message 'ip_route_details'.

func (*IPRouteDetails) GetCrcString

func (*IPRouteDetails) GetCrcString() string

func (*IPRouteDetails) GetMessageName

func (*IPRouteDetails) GetMessageName() string

func (*IPRouteDetails) GetMessageType

func (*IPRouteDetails) GetMessageType() api.MessageType

type IPRouteDump

type IPRouteDump struct {
	Table IPTable
}

IPRouteDump represents VPP binary API message 'ip_route_dump'.

func (*IPRouteDump) GetCrcString

func (*IPRouteDump) GetCrcString() string

func (*IPRouteDump) GetMessageName

func (*IPRouteDump) GetMessageName() string

func (*IPRouteDump) GetMessageType

func (*IPRouteDump) GetMessageType() api.MessageType

type IPScanNeighborEnableDisable

type IPScanNeighborEnableDisable struct {
	Mode           uint8
	ScanInterval   uint8
	MaxProcTime    uint8
	MaxUpdate      uint8
	ScanIntDelay   uint8
	StaleThreshold uint8
}

IPScanNeighborEnableDisable represents VPP binary API message 'ip_scan_neighbor_enable_disable'.

func (*IPScanNeighborEnableDisable) GetCrcString

func (*IPScanNeighborEnableDisable) GetCrcString() string

func (*IPScanNeighborEnableDisable) GetMessageName

func (*IPScanNeighborEnableDisable) GetMessageName() string

func (*IPScanNeighborEnableDisable) GetMessageType

func (*IPScanNeighborEnableDisable) GetMessageType() api.MessageType

type IPScanNeighborEnableDisableReply

type IPScanNeighborEnableDisableReply struct {
	Retval int32
}

IPScanNeighborEnableDisableReply represents VPP binary API message 'ip_scan_neighbor_enable_disable_reply'.

func (*IPScanNeighborEnableDisableReply) GetCrcString

func (*IPScanNeighborEnableDisableReply) GetCrcString() string

func (*IPScanNeighborEnableDisableReply) GetMessageName

func (*IPScanNeighborEnableDisableReply) GetMessageName() string

func (*IPScanNeighborEnableDisableReply) GetMessageType

type IPSourceAndPortRangeCheckAddDel

type IPSourceAndPortRangeCheckAddDel struct {
	IsAdd          uint8
	Prefix         Prefix
	NumberOfRanges uint8
	LowPorts       []uint16 `struc:"[32]uint16"`
	HighPorts      []uint16 `struc:"[32]uint16"`
	VrfID          uint32
}

IPSourceAndPortRangeCheckAddDel represents VPP binary API message 'ip_source_and_port_range_check_add_del'.

func (*IPSourceAndPortRangeCheckAddDel) GetCrcString

func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string

func (*IPSourceAndPortRangeCheckAddDel) GetMessageName

func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string

func (*IPSourceAndPortRangeCheckAddDel) GetMessageType

type IPSourceAndPortRangeCheckAddDelReply

type IPSourceAndPortRangeCheckAddDelReply struct {
	Retval int32
}

IPSourceAndPortRangeCheckAddDelReply represents VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.

func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType

type IPSourceAndPortRangeCheckInterfaceAddDel

type IPSourceAndPortRangeCheckInterfaceAddDel struct {
	IsAdd       uint8
	SwIfIndex   uint32
	TCPInVrfID  uint32
	TCPOutVrfID uint32
	UDPInVrfID  uint32
	UDPOutVrfID uint32
}

IPSourceAndPortRangeCheckInterfaceAddDel represents VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType

type IPSourceAndPortRangeCheckInterfaceAddDelReply

type IPSourceAndPortRangeCheckInterfaceAddDelReply struct {
	Retval int32
}

IPSourceAndPortRangeCheckInterfaceAddDelReply represents VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType

type IPSourceCheckInterfaceAddDel

type IPSourceCheckInterfaceAddDel struct {
	IsAdd     uint8
	Loose     uint8
	SwIfIndex uint32
}

IPSourceCheckInterfaceAddDel represents VPP binary API message 'ip_source_check_interface_add_del'.

func (*IPSourceCheckInterfaceAddDel) GetCrcString

func (*IPSourceCheckInterfaceAddDel) GetCrcString() string

func (*IPSourceCheckInterfaceAddDel) GetMessageName

func (*IPSourceCheckInterfaceAddDel) GetMessageName() string

func (*IPSourceCheckInterfaceAddDel) GetMessageType

func (*IPSourceCheckInterfaceAddDel) GetMessageType() api.MessageType

type IPSourceCheckInterfaceAddDelReply

type IPSourceCheckInterfaceAddDelReply struct {
	Retval int32
}

IPSourceCheckInterfaceAddDelReply represents VPP binary API message 'ip_source_check_interface_add_del_reply'.

func (*IPSourceCheckInterfaceAddDelReply) GetCrcString

func (*IPSourceCheckInterfaceAddDelReply) GetCrcString() string

func (*IPSourceCheckInterfaceAddDelReply) GetMessageName

func (*IPSourceCheckInterfaceAddDelReply) GetMessageName() string

func (*IPSourceCheckInterfaceAddDelReply) GetMessageType

type IPTable

type IPTable struct {
	TableID uint32
	IsIP6   uint8
	Name    []byte `struc:"[64]byte"`
}

IPTable represents VPP binary API type 'ip_table'.

func (*IPTable) GetTypeName

func (*IPTable) GetTypeName() string

type IPTableAddDel

type IPTableAddDel struct {
	IsAdd uint8
	Table IPTable
}

IPTableAddDel represents VPP binary API message 'ip_table_add_del'.

func (*IPTableAddDel) GetCrcString

func (*IPTableAddDel) GetCrcString() string

func (*IPTableAddDel) GetMessageName

func (*IPTableAddDel) GetMessageName() string

func (*IPTableAddDel) GetMessageType

func (*IPTableAddDel) GetMessageType() api.MessageType

type IPTableAddDelReply

type IPTableAddDelReply struct {
	Retval int32
}

IPTableAddDelReply represents VPP binary API message 'ip_table_add_del_reply'.

func (*IPTableAddDelReply) GetCrcString

func (*IPTableAddDelReply) GetCrcString() string

func (*IPTableAddDelReply) GetMessageName

func (*IPTableAddDelReply) GetMessageName() string

func (*IPTableAddDelReply) GetMessageType

func (*IPTableAddDelReply) GetMessageType() api.MessageType

type IPTableDetails

type IPTableDetails struct {
	Table IPTable
}

IPTableDetails represents VPP binary API message 'ip_table_details'.

func (*IPTableDetails) GetCrcString

func (*IPTableDetails) GetCrcString() string

func (*IPTableDetails) GetMessageName

func (*IPTableDetails) GetMessageName() string

func (*IPTableDetails) GetMessageType

func (*IPTableDetails) GetMessageType() api.MessageType

type IPTableDump

type IPTableDump struct{}

IPTableDump represents VPP binary API message 'ip_table_dump'.

func (*IPTableDump) GetCrcString

func (*IPTableDump) GetCrcString() string

func (*IPTableDump) GetMessageName

func (*IPTableDump) GetMessageName() string

func (*IPTableDump) GetMessageType

func (*IPTableDump) GetMessageType() api.MessageType

type IPUnnumberedDetails

type IPUnnumberedDetails struct {
	SwIfIndex   uint32
	IPSwIfIndex uint32
}

IPUnnumberedDetails represents VPP binary API message 'ip_unnumbered_details'.

func (*IPUnnumberedDetails) GetCrcString

func (*IPUnnumberedDetails) GetCrcString() string

func (*IPUnnumberedDetails) GetMessageName

func (*IPUnnumberedDetails) GetMessageName() string

func (*IPUnnumberedDetails) GetMessageType

func (*IPUnnumberedDetails) GetMessageType() api.MessageType

type IPUnnumberedDump

type IPUnnumberedDump struct {
	SwIfIndex uint32
}

IPUnnumberedDump represents VPP binary API message 'ip_unnumbered_dump'.

func (*IPUnnumberedDump) GetCrcString

func (*IPUnnumberedDump) GetCrcString() string

func (*IPUnnumberedDump) GetMessageName

func (*IPUnnumberedDump) GetMessageName() string

func (*IPUnnumberedDump) GetMessageType

func (*IPUnnumberedDump) GetMessageType() api.MessageType

type IoamDisable

type IoamDisable struct {
	ID uint16
}

IoamDisable represents VPP binary API message 'ioam_disable'.

func (*IoamDisable) GetCrcString

func (*IoamDisable) GetCrcString() string

func (*IoamDisable) GetMessageName

func (*IoamDisable) GetMessageName() string

func (*IoamDisable) GetMessageType

func (*IoamDisable) GetMessageType() api.MessageType

type IoamDisableReply

type IoamDisableReply struct {
	Retval int32
}

IoamDisableReply represents VPP binary API message 'ioam_disable_reply'.

func (*IoamDisableReply) GetCrcString

func (*IoamDisableReply) GetCrcString() string

func (*IoamDisableReply) GetMessageName

func (*IoamDisableReply) GetMessageName() string

func (*IoamDisableReply) GetMessageType

func (*IoamDisableReply) GetMessageType() api.MessageType

type IoamEnable

type IoamEnable struct {
	ID          uint16
	Seqno       uint8
	Analyse     uint8
	PotEnable   uint8
	TraceEnable uint8
	NodeID      uint32
}

IoamEnable represents VPP binary API message 'ioam_enable'.

func (*IoamEnable) GetCrcString

func (*IoamEnable) GetCrcString() string

func (*IoamEnable) GetMessageName

func (*IoamEnable) GetMessageName() string

func (*IoamEnable) GetMessageType

func (*IoamEnable) GetMessageType() api.MessageType

type IoamEnableReply

type IoamEnableReply struct {
	Retval int32
}

IoamEnableReply represents VPP binary API message 'ioam_enable_reply'.

func (*IoamEnableReply) GetCrcString

func (*IoamEnableReply) GetCrcString() string

func (*IoamEnableReply) GetMessageName

func (*IoamEnableReply) GetMessageName() string

func (*IoamEnableReply) GetMessageType

func (*IoamEnableReply) GetMessageType() api.MessageType

type MacAddress

type MacAddress [6]uint8

MacAddress represents VPP binary API alias 'mac_address'.

type MfibItfFlags

type MfibItfFlags uint32

MfibItfFlags represents VPP binary API enum 'mfib_itf_flags'.

const (
	MFIB_API_ITF_FLAG_NONE           MfibItfFlags = 0
	MFIB_API_ITF_FLAG_NEGATE_SIGNAL  MfibItfFlags = 1
	MFIB_API_ITF_FLAG_ACCEPT         MfibItfFlags = 2
	MFIB_API_ITF_FLAG_FORWARD        MfibItfFlags = 4
	MFIB_API_ITF_FLAG_SIGNAL_PRESENT MfibItfFlags = 8
	MFIB_API_ITF_FLAG_DONT_PRESERVE  MfibItfFlags = 16
)

func (MfibItfFlags) String

func (x MfibItfFlags) String() string

type MfibPath

type MfibPath struct {
	ItfFlags MfibItfFlags
	Path     FibPath
}

MfibPath represents VPP binary API type 'mfib_path'.

func (*MfibPath) GetTypeName

func (*MfibPath) GetTypeName() string

type MfibSignalDetails

type MfibSignalDetails struct {
	SwIfIndex    uint32
	TableID      uint32
	Prefix       Mprefix
	IPPacketLen  uint16
	IPPacketData []byte `struc:"[256]byte"`
}

MfibSignalDetails represents VPP binary API message 'mfib_signal_details'.

func (*MfibSignalDetails) GetCrcString

func (*MfibSignalDetails) GetCrcString() string

func (*MfibSignalDetails) GetMessageName

func (*MfibSignalDetails) GetMessageName() string

func (*MfibSignalDetails) GetMessageType

func (*MfibSignalDetails) GetMessageType() api.MessageType

type MfibSignalDump

type MfibSignalDump struct{}

MfibSignalDump represents VPP binary API message 'mfib_signal_dump'.

func (*MfibSignalDump) GetCrcString

func (*MfibSignalDump) GetCrcString() string

func (*MfibSignalDump) GetMessageName

func (*MfibSignalDump) GetMessageName() string

func (*MfibSignalDump) GetMessageType

func (*MfibSignalDump) GetMessageType() api.MessageType

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 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 ProxyArp

type ProxyArp struct {
	TableID uint32
	Low     IP4Address
	Hi      IP4Address
}

ProxyArp represents VPP binary API type 'proxy_arp'.

func (*ProxyArp) GetTypeName

func (*ProxyArp) GetTypeName() string

type ProxyArpAddDel

type ProxyArpAddDel struct {
	IsAdd uint8
	Proxy ProxyArp
}

ProxyArpAddDel represents VPP binary API message 'proxy_arp_add_del'.

func (*ProxyArpAddDel) GetCrcString

func (*ProxyArpAddDel) GetCrcString() string

func (*ProxyArpAddDel) GetMessageName

func (*ProxyArpAddDel) GetMessageName() string

func (*ProxyArpAddDel) GetMessageType

func (*ProxyArpAddDel) GetMessageType() api.MessageType

type ProxyArpAddDelReply

type ProxyArpAddDelReply struct {
	Retval int32
}

ProxyArpAddDelReply represents VPP binary API message 'proxy_arp_add_del_reply'.

func (*ProxyArpAddDelReply) GetCrcString

func (*ProxyArpAddDelReply) GetCrcString() string

func (*ProxyArpAddDelReply) GetMessageName

func (*ProxyArpAddDelReply) GetMessageName() string

func (*ProxyArpAddDelReply) GetMessageType

func (*ProxyArpAddDelReply) GetMessageType() api.MessageType

type ProxyArpDetails

type ProxyArpDetails struct {
	Proxy ProxyArp
}

ProxyArpDetails represents VPP binary API message 'proxy_arp_details'.

func (*ProxyArpDetails) GetCrcString

func (*ProxyArpDetails) GetCrcString() string

func (*ProxyArpDetails) GetMessageName

func (*ProxyArpDetails) GetMessageName() string

func (*ProxyArpDetails) GetMessageType

func (*ProxyArpDetails) GetMessageType() api.MessageType

type ProxyArpDump

type ProxyArpDump struct{}

ProxyArpDump represents VPP binary API message 'proxy_arp_dump'.

func (*ProxyArpDump) GetCrcString

func (*ProxyArpDump) GetCrcString() string

func (*ProxyArpDump) GetMessageName

func (*ProxyArpDump) GetMessageName() string

func (*ProxyArpDump) GetMessageType

func (*ProxyArpDump) GetMessageType() api.MessageType

type ProxyArpIntfcDetails

type ProxyArpIntfcDetails struct {
	SwIfIndex uint32
}

ProxyArpIntfcDetails represents VPP binary API message 'proxy_arp_intfc_details'.

func (*ProxyArpIntfcDetails) GetCrcString

func (*ProxyArpIntfcDetails) GetCrcString() string

func (*ProxyArpIntfcDetails) GetMessageName

func (*ProxyArpIntfcDetails) GetMessageName() string

func (*ProxyArpIntfcDetails) GetMessageType

func (*ProxyArpIntfcDetails) GetMessageType() api.MessageType

type ProxyArpIntfcDump

type ProxyArpIntfcDump struct{}

ProxyArpIntfcDump represents VPP binary API message 'proxy_arp_intfc_dump'.

func (*ProxyArpIntfcDump) GetCrcString

func (*ProxyArpIntfcDump) GetCrcString() string

func (*ProxyArpIntfcDump) GetMessageName

func (*ProxyArpIntfcDump) GetMessageName() string

func (*ProxyArpIntfcDump) GetMessageType

func (*ProxyArpIntfcDump) GetMessageType() api.MessageType

type ProxyArpIntfcEnableDisable

type ProxyArpIntfcEnableDisable struct {
	SwIfIndex     uint32
	EnableDisable uint8
}

ProxyArpIntfcEnableDisable represents VPP binary API message 'proxy_arp_intfc_enable_disable'.

func (*ProxyArpIntfcEnableDisable) GetCrcString

func (*ProxyArpIntfcEnableDisable) GetCrcString() string

func (*ProxyArpIntfcEnableDisable) GetMessageName

func (*ProxyArpIntfcEnableDisable) GetMessageName() string

func (*ProxyArpIntfcEnableDisable) GetMessageType

func (*ProxyArpIntfcEnableDisable) GetMessageType() api.MessageType

type ProxyArpIntfcEnableDisableReply

type ProxyArpIntfcEnableDisableReply struct {
	Retval int32
}

ProxyArpIntfcEnableDisableReply represents VPP binary API message 'proxy_arp_intfc_enable_disable_reply'.

func (*ProxyArpIntfcEnableDisableReply) GetCrcString

func (*ProxyArpIntfcEnableDisableReply) GetCrcString() string

func (*ProxyArpIntfcEnableDisableReply) GetMessageName

func (*ProxyArpIntfcEnableDisableReply) GetMessageName() string

func (*ProxyArpIntfcEnableDisableReply) GetMessageType

type PuntRedirect

type PuntRedirect struct {
	RxSwIfIndex uint32
	TxSwIfIndex uint32
	Nh          Address
}

PuntRedirect represents VPP binary API type 'punt_redirect'.

func (*PuntRedirect) GetTypeName

func (*PuntRedirect) GetTypeName() string

type RPCService

type RPCService interface {
	DumpIP6ndProxy(ctx context.Context, in *IP6ndProxyDump) (RPCService_DumpIP6ndProxyClient, error)
	DumpIPAddress(ctx context.Context, in *IPAddressDump) (RPCService_DumpIPAddressClient, error)
	DumpIPContainerProxy(ctx context.Context, in *IPContainerProxyDump) (RPCService_DumpIPContainerProxyClient, error)
	DumpIP(ctx context.Context, in *IPDump) (RPCService_DumpIPClient, error)
	DumpIPMroute(ctx context.Context, in *IPMrouteDump) (RPCService_DumpIPMrouteClient, error)
	DumpIPMtable(ctx context.Context, in *IPMtableDump) (RPCService_DumpIPMtableClient, error)
	DumpIPNeighbor(ctx context.Context, in *IPNeighborDump) (RPCService_DumpIPNeighborClient, error)
	DumpIPPuntRedirect(ctx context.Context, in *IPPuntRedirectDump) (RPCService_DumpIPPuntRedirectClient, error)
	DumpIPRoute(ctx context.Context, in *IPRouteDump) (RPCService_DumpIPRouteClient, error)
	DumpIPTable(ctx context.Context, in *IPTableDump) (RPCService_DumpIPTableClient, error)
	DumpIPUnnumbered(ctx context.Context, in *IPUnnumberedDump) (RPCService_DumpIPUnnumberedClient, error)
	DumpMfibSignal(ctx context.Context, in *MfibSignalDump) (RPCService_DumpMfibSignalClient, error)
	DumpProxyArp(ctx context.Context, in *ProxyArpDump) (RPCService_DumpProxyArpClient, error)
	DumpProxyArpIntfc(ctx context.Context, in *ProxyArpIntfcDump) (RPCService_DumpProxyArpIntfcClient, error)
	IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error)
	IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error)
	IP6ndProxyAddDel(ctx context.Context, in *IP6ndProxyAddDel) (*IP6ndProxyAddDelReply, error)
	IP6ndSendRouterSolicitation(ctx context.Context, in *IP6ndSendRouterSolicitation) (*IP6ndSendRouterSolicitationReply, error)
	IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error)
	IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error)
	IPNeighborAddDel(ctx context.Context, in *IPNeighborAddDel) (*IPNeighborAddDelReply, error)
	IPProbeNeighbor(ctx context.Context, in *IPProbeNeighbor) (*IPProbeNeighborReply, error)
	IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error)
	IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error)
	IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error)
	IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error)
	IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error)
	IPRouteAddDel(ctx context.Context, in *IPRouteAddDel) (*IPRouteAddDelReply, error)
	IPScanNeighborEnableDisable(ctx context.Context, in *IPScanNeighborEnableDisable) (*IPScanNeighborEnableDisableReply, error)
	IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error)
	IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error)
	IPSourceCheckInterfaceAddDel(ctx context.Context, in *IPSourceCheckInterfaceAddDel) (*IPSourceCheckInterfaceAddDelReply, error)
	IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error)
	ProxyArpAddDel(ctx context.Context, in *ProxyArpAddDel) (*ProxyArpAddDelReply, error)
	ProxyArpIntfcEnableDisable(ctx context.Context, in *ProxyArpIntfcEnableDisable) (*ProxyArpIntfcEnableDisableReply, error)
	ResetFib(ctx context.Context, in *ResetFib) (*ResetFibReply, error)
	SetArpNeighborLimit(ctx context.Context, in *SetArpNeighborLimit) (*SetArpNeighborLimitReply, error)
	SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error)
	SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error)
	SwInterfaceIP6SetLinkLocalAddress(ctx context.Context, in *SwInterfaceIP6SetLinkLocalAddress) (*SwInterfaceIP6SetLinkLocalAddressReply, error)
	SwInterfaceIP6ndRaConfig(ctx context.Context, in *SwInterfaceIP6ndRaConfig) (*SwInterfaceIP6ndRaConfigReply, error)
	SwInterfaceIP6ndRaPrefix(ctx context.Context, in *SwInterfaceIP6ndRaPrefix) (*SwInterfaceIP6ndRaPrefixReply, error)
	WantIP4ArpEvents(ctx context.Context, in *WantIP4ArpEvents) (*WantIP4ArpEventsReply, error)
	WantIP6NdEvents(ctx context.Context, in *WantIP6NdEvents) (*WantIP6NdEventsReply, error)
	WantIP6RaEvents(ctx context.Context, in *WantIP6RaEvents) (*WantIP6RaEventsReply, error)
}

RPCService represents RPC service API for ip module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpIP6ndProxyClient

type RPCService_DumpIP6ndProxyClient interface {
	Recv() (*IP6ndProxyDetails, error)
}

type RPCService_DumpIPAddressClient

type RPCService_DumpIPAddressClient interface {
	Recv() (*IPAddressDetails, error)
}

type RPCService_DumpIPClient

type RPCService_DumpIPClient interface {
	Recv() (*IPDetails, error)
}

type RPCService_DumpIPContainerProxyClient

type RPCService_DumpIPContainerProxyClient interface {
	Recv() (*IPContainerProxyDetails, error)
}

type RPCService_DumpIPMrouteClient

type RPCService_DumpIPMrouteClient interface {
	Recv() (*IPMrouteDetails, error)
}

type RPCService_DumpIPMtableClient

type RPCService_DumpIPMtableClient interface {
	Recv() (*IPMtableDetails, error)
}

type RPCService_DumpIPNeighborClient

type RPCService_DumpIPNeighborClient interface {
	Recv() (*IPNeighborDetails, error)
}

type RPCService_DumpIPPuntRedirectClient

type RPCService_DumpIPPuntRedirectClient interface {
	Recv() (*IPPuntRedirectDetails, error)
}

type RPCService_DumpIPRouteClient

type RPCService_DumpIPRouteClient interface {
	Recv() (*IPRouteDetails, error)
}

type RPCService_DumpIPTableClient

type RPCService_DumpIPTableClient interface {
	Recv() (*IPTableDetails, error)
}

type RPCService_DumpIPUnnumberedClient

type RPCService_DumpIPUnnumberedClient interface {
	Recv() (*IPUnnumberedDetails, error)
}

type RPCService_DumpMfibSignalClient

type RPCService_DumpMfibSignalClient interface {
	Recv() (*MfibSignalDetails, error)
}

type RPCService_DumpProxyArpClient

type RPCService_DumpProxyArpClient interface {
	Recv() (*ProxyArpDetails, error)
}

type RPCService_DumpProxyArpIntfcClient

type RPCService_DumpProxyArpIntfcClient interface {
	Recv() (*ProxyArpIntfcDetails, error)
}

type ResetFib

type ResetFib struct {
	VrfID  uint32
	IsIPv6 uint8
}

ResetFib represents VPP binary API message 'reset_fib'.

func (*ResetFib) GetCrcString

func (*ResetFib) GetCrcString() string

func (*ResetFib) GetMessageName

func (*ResetFib) GetMessageName() string

func (*ResetFib) GetMessageType

func (*ResetFib) GetMessageType() api.MessageType

type ResetFibReply

type ResetFibReply struct {
	Retval int32
}

ResetFibReply represents VPP binary API message 'reset_fib_reply'.

func (*ResetFibReply) GetCrcString

func (*ResetFibReply) GetCrcString() string

func (*ResetFibReply) GetMessageName

func (*ResetFibReply) GetMessageName() string

func (*ResetFibReply) GetMessageType

func (*ResetFibReply) GetMessageType() api.MessageType

type SetArpNeighborLimit

type SetArpNeighborLimit struct {
	IsIPv6           uint8
	ArpNeighborLimit uint32
}

SetArpNeighborLimit represents VPP binary API message 'set_arp_neighbor_limit'.

func (*SetArpNeighborLimit) GetCrcString

func (*SetArpNeighborLimit) GetCrcString() string

func (*SetArpNeighborLimit) GetMessageName

func (*SetArpNeighborLimit) GetMessageName() string

func (*SetArpNeighborLimit) GetMessageType

func (*SetArpNeighborLimit) GetMessageType() api.MessageType

type SetArpNeighborLimitReply

type SetArpNeighborLimitReply struct {
	Retval int32
}

SetArpNeighborLimitReply represents VPP binary API message 'set_arp_neighbor_limit_reply'.

func (*SetArpNeighborLimitReply) GetCrcString

func (*SetArpNeighborLimitReply) GetCrcString() string

func (*SetArpNeighborLimitReply) GetMessageName

func (*SetArpNeighborLimitReply) GetMessageName() string

func (*SetArpNeighborLimitReply) GetMessageType

func (*SetArpNeighborLimitReply) GetMessageType() api.MessageType

type SetIPFlowHash

type SetIPFlowHash struct {
	VrfID     uint32
	IsIPv6    uint8
	Src       uint8
	Dst       uint8
	Sport     uint8
	Dport     uint8
	Proto     uint8
	Reverse   uint8
	Symmetric uint8
}

SetIPFlowHash represents VPP binary API message 'set_ip_flow_hash'.

func (*SetIPFlowHash) GetCrcString

func (*SetIPFlowHash) GetCrcString() string

func (*SetIPFlowHash) GetMessageName

func (*SetIPFlowHash) GetMessageName() string

func (*SetIPFlowHash) GetMessageType

func (*SetIPFlowHash) GetMessageType() api.MessageType

type SetIPFlowHashReply

type SetIPFlowHashReply struct {
	Retval int32
}

SetIPFlowHashReply represents VPP binary API message 'set_ip_flow_hash_reply'.

func (*SetIPFlowHashReply) GetCrcString

func (*SetIPFlowHashReply) GetCrcString() string

func (*SetIPFlowHashReply) GetMessageName

func (*SetIPFlowHashReply) GetMessageName() string

func (*SetIPFlowHashReply) GetMessageType

func (*SetIPFlowHashReply) GetMessageType() api.MessageType

type SwInterfaceIP6EnableDisable

type SwInterfaceIP6EnableDisable struct {
	SwIfIndex uint32
	Enable    uint8
}

SwInterfaceIP6EnableDisable represents VPP binary API message 'sw_interface_ip6_enable_disable'.

func (*SwInterfaceIP6EnableDisable) GetCrcString

func (*SwInterfaceIP6EnableDisable) GetCrcString() string

func (*SwInterfaceIP6EnableDisable) GetMessageName

func (*SwInterfaceIP6EnableDisable) GetMessageName() string

func (*SwInterfaceIP6EnableDisable) GetMessageType

func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType

type SwInterfaceIP6EnableDisableReply

type SwInterfaceIP6EnableDisableReply struct {
	Retval int32
}

SwInterfaceIP6EnableDisableReply represents VPP binary API message 'sw_interface_ip6_enable_disable_reply'.

func (*SwInterfaceIP6EnableDisableReply) GetCrcString

func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string

func (*SwInterfaceIP6EnableDisableReply) GetMessageName

func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string

func (*SwInterfaceIP6EnableDisableReply) GetMessageType

type SwInterfaceIP6SetLinkLocalAddress

type SwInterfaceIP6SetLinkLocalAddress struct {
	SwIfIndex uint32
	Address   []byte `struc:"[16]byte"`
}

SwInterfaceIP6SetLinkLocalAddress represents VPP binary API message 'sw_interface_ip6_set_link_local_address'.

func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString

func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType

type SwInterfaceIP6SetLinkLocalAddressReply

type SwInterfaceIP6SetLinkLocalAddressReply struct {
	Retval int32
}

SwInterfaceIP6SetLinkLocalAddressReply represents VPP binary API message 'sw_interface_ip6_set_link_local_address_reply'.

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType

type SwInterfaceIP6ndRaConfig

type SwInterfaceIP6ndRaConfig struct {
	SwIfIndex       uint32
	Suppress        uint8
	Managed         uint8
	Other           uint8
	LlOption        uint8
	SendUnicast     uint8
	Cease           uint8
	IsNo            uint8
	DefaultRouter   uint8
	MaxInterval     uint32
	MinInterval     uint32
	Lifetime        uint32
	InitialCount    uint32
	InitialInterval uint32
}

SwInterfaceIP6ndRaConfig represents VPP binary API message 'sw_interface_ip6nd_ra_config'.

func (*SwInterfaceIP6ndRaConfig) GetCrcString

func (*SwInterfaceIP6ndRaConfig) GetCrcString() string

func (*SwInterfaceIP6ndRaConfig) GetMessageName

func (*SwInterfaceIP6ndRaConfig) GetMessageName() string

func (*SwInterfaceIP6ndRaConfig) GetMessageType

func (*SwInterfaceIP6ndRaConfig) GetMessageType() api.MessageType

type SwInterfaceIP6ndRaConfigReply

type SwInterfaceIP6ndRaConfigReply struct {
	Retval int32
}

SwInterfaceIP6ndRaConfigReply represents VPP binary API message 'sw_interface_ip6nd_ra_config_reply'.

func (*SwInterfaceIP6ndRaConfigReply) GetCrcString

func (*SwInterfaceIP6ndRaConfigReply) GetCrcString() string

func (*SwInterfaceIP6ndRaConfigReply) GetMessageName

func (*SwInterfaceIP6ndRaConfigReply) GetMessageName() string

func (*SwInterfaceIP6ndRaConfigReply) GetMessageType

func (*SwInterfaceIP6ndRaConfigReply) GetMessageType() api.MessageType

type SwInterfaceIP6ndRaPrefix

type SwInterfaceIP6ndRaPrefix struct {
	SwIfIndex    uint32
	Prefix       Prefix
	UseDefault   uint8
	NoAdvertise  uint8
	OffLink      uint8
	NoAutoconfig uint8
	NoOnlink     uint8
	IsNo         uint8
	ValLifetime  uint32
	PrefLifetime uint32
}

SwInterfaceIP6ndRaPrefix represents VPP binary API message 'sw_interface_ip6nd_ra_prefix'.

func (*SwInterfaceIP6ndRaPrefix) GetCrcString

func (*SwInterfaceIP6ndRaPrefix) GetCrcString() string

func (*SwInterfaceIP6ndRaPrefix) GetMessageName

func (*SwInterfaceIP6ndRaPrefix) GetMessageName() string

func (*SwInterfaceIP6ndRaPrefix) GetMessageType

func (*SwInterfaceIP6ndRaPrefix) GetMessageType() api.MessageType

type SwInterfaceIP6ndRaPrefixReply

type SwInterfaceIP6ndRaPrefixReply struct {
	Retval int32
}

SwInterfaceIP6ndRaPrefixReply represents VPP binary API message 'sw_interface_ip6nd_ra_prefix_reply'.

func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString

func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString() string

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName() string

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType() api.MessageType

type WantIP4ArpEvents

type WantIP4ArpEvents struct {
	EnableDisable uint8
	PID           uint32
	IP            IP4Address
}

WantIP4ArpEvents represents VPP binary API message 'want_ip4_arp_events'.

func (*WantIP4ArpEvents) GetCrcString

func (*WantIP4ArpEvents) GetCrcString() string

func (*WantIP4ArpEvents) GetMessageName

func (*WantIP4ArpEvents) GetMessageName() string

func (*WantIP4ArpEvents) GetMessageType

func (*WantIP4ArpEvents) GetMessageType() api.MessageType

type WantIP4ArpEventsReply

type WantIP4ArpEventsReply struct {
	Retval int32
}

WantIP4ArpEventsReply represents VPP binary API message 'want_ip4_arp_events_reply'.

func (*WantIP4ArpEventsReply) GetCrcString

func (*WantIP4ArpEventsReply) GetCrcString() string

func (*WantIP4ArpEventsReply) GetMessageName

func (*WantIP4ArpEventsReply) GetMessageName() string

func (*WantIP4ArpEventsReply) GetMessageType

func (*WantIP4ArpEventsReply) GetMessageType() api.MessageType

type WantIP6NdEvents

type WantIP6NdEvents struct {
	EnableDisable uint8
	PID           uint32
	IP            IP6Address
}

WantIP6NdEvents represents VPP binary API message 'want_ip6_nd_events'.

func (*WantIP6NdEvents) GetCrcString

func (*WantIP6NdEvents) GetCrcString() string

func (*WantIP6NdEvents) GetMessageName

func (*WantIP6NdEvents) GetMessageName() string

func (*WantIP6NdEvents) GetMessageType

func (*WantIP6NdEvents) GetMessageType() api.MessageType

type WantIP6NdEventsReply

type WantIP6NdEventsReply struct {
	Retval int32
}

WantIP6NdEventsReply represents VPP binary API message 'want_ip6_nd_events_reply'.

func (*WantIP6NdEventsReply) GetCrcString

func (*WantIP6NdEventsReply) GetCrcString() string

func (*WantIP6NdEventsReply) GetMessageName

func (*WantIP6NdEventsReply) GetMessageName() string

func (*WantIP6NdEventsReply) GetMessageType

func (*WantIP6NdEventsReply) GetMessageType() api.MessageType

type WantIP6RaEvents

type WantIP6RaEvents struct {
	EnableDisable uint8
	PID           uint32
}

WantIP6RaEvents represents VPP binary API message 'want_ip6_ra_events'.

func (*WantIP6RaEvents) GetCrcString

func (*WantIP6RaEvents) GetCrcString() string

func (*WantIP6RaEvents) GetMessageName

func (*WantIP6RaEvents) GetMessageName() string

func (*WantIP6RaEvents) GetMessageType

func (*WantIP6RaEvents) GetMessageType() api.MessageType

type WantIP6RaEventsReply

type WantIP6RaEventsReply struct {
	Retval int32
}

WantIP6RaEventsReply represents VPP binary API message 'want_ip6_ra_events_reply'.

func (*WantIP6RaEventsReply) GetCrcString

func (*WantIP6RaEventsReply) GetCrcString() string

func (*WantIP6RaEventsReply) GetMessageName

func (*WantIP6RaEventsReply) GetMessageName() string

func (*WantIP6RaEventsReply) GetMessageType

func (*WantIP6RaEventsReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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