ip

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 ip is a generated VPP binary API for 'ip' module.

It consists of:

15 enums
 7 aliases
14 types
 1 union
60 messages
30 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "ip"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xfc3fea46
)

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 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 IPReassType_name = map[uint32]string{
	0: "IP_REASS_TYPE_FULL",
	1: "IP_REASS_TYPE_SHALLOW_VIRTUAL",
}
View Source
var IPReassType_value = map[string]uint32{
	"IP_REASS_TYPE_FULL":            0,
	"IP_REASS_TYPE_SHALLOW_VIRTUAL": 1,
}
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{
	1: "IF_API_TYPE_HARDWARE",
	2: "IF_API_TYPE_SUB",
	3: "IF_API_TYPE_P2P",
	4: "IF_API_TYPE_PIPE",
}
View Source
var IfType_value = map[string]uint32{
	"IF_API_TYPE_HARDWARE": 1,
	"IF_API_TYPE_SUB":      2,
	"IF_API_TYPE_P2P":      3,
	"IF_API_TYPE_PIPE":     4,
}
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 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,
}
View Source
var MtuProto_name = map[uint32]string{
	1: "MTU_PROTO_API_L3",
	2: "MTU_PROTO_API_IP4",
	3: "MTU_PROTO_API_IP6",
	4: "MTU_PROTO_API_MPLS",
	5: "MTU_PROTO_API_N",
}
View Source
var MtuProto_value = map[string]uint32{
	"MTU_PROTO_API_L3":   1,
	"MTU_PROTO_API_IP4":  2,
	"MTU_PROTO_API_IP6":  3,
	"MTU_PROTO_API_MPLS": 4,
	"MTU_PROTO_API_N":    5,
}
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 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 AddressWithPrefix

type AddressWithPrefix Prefix

AddressWithPrefix represents VPP binary API alias 'address_with_prefix'.

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
	LabelStack []FibMplsLabel `struc:"[16]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 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 IPAddressDetails

type IPAddressDetails struct {
	SwIfIndex InterfaceIndex
	Prefix    AddressWithPrefix
}

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

func (*IPAddressDetails) Reset

func (m *IPAddressDetails) Reset()

type IPAddressDump

type IPAddressDump struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
}

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

func (*IPAddressDump) Reset

func (m *IPAddressDump) Reset()

type IPContainerProxyAddDel

type IPContainerProxyAddDel struct {
	Pfx       Prefix
	SwIfIndex InterfaceIndex
	IsAdd     bool
}

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

func (*IPContainerProxyAddDel) Reset

func (m *IPContainerProxyAddDel) Reset()

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

func (*IPContainerProxyAddDelReply) Reset

func (m *IPContainerProxyAddDelReply) Reset()

type IPContainerProxyDetails

type IPContainerProxyDetails struct {
	SwIfIndex InterfaceIndex
	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

func (*IPContainerProxyDetails) Reset

func (m *IPContainerProxyDetails) Reset()

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

func (*IPContainerProxyDump) Reset

func (m *IPContainerProxyDump) Reset()

type IPDetails

type IPDetails struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
}

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

func (*IPDetails) Reset

func (m *IPDetails) Reset()

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 bool
}

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

func (*IPDump) Reset

func (m *IPDump) Reset()

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       bool
	IsMultipath bool
	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

func (*IPMrouteAddDel) Reset

func (m *IPMrouteAddDel) Reset()

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

func (*IPMrouteAddDelReply) Reset

func (m *IPMrouteAddDelReply) Reset()

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

func (*IPMrouteDetails) Reset

func (m *IPMrouteDetails) Reset()

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

func (*IPMrouteDump) Reset

func (m *IPMrouteDump) Reset()

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

func (*IPMtableDetails) Reset

func (m *IPMtableDetails) Reset()

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

func (*IPMtableDump) Reset

func (m *IPMtableDump) Reset()

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        bool
	IsIP6        bool
}

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

func (*IPPuntPolice) Reset

func (m *IPPuntPolice) Reset()

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

func (*IPPuntPoliceReply) Reset

func (m *IPPuntPoliceReply) Reset()

type IPPuntRedirect

type IPPuntRedirect struct {
	Punt  PuntRedirect
	IsAdd bool
}

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

func (*IPPuntRedirect) Reset

func (m *IPPuntRedirect) Reset()

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

func (*IPPuntRedirectDetails) Reset

func (m *IPPuntRedirectDetails) Reset()

type IPPuntRedirectDump

type IPPuntRedirectDump struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
}

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

func (*IPPuntRedirectDump) Reset

func (m *IPPuntRedirectDump) Reset()

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

func (*IPPuntRedirectReply) Reset

func (m *IPPuntRedirectReply) Reset()

type IPReassType

type IPReassType uint32

IPReassType represents VPP binary API enum 'ip_reass_type'.

const (
	IP_REASS_TYPE_FULL            IPReassType = 0
	IP_REASS_TYPE_SHALLOW_VIRTUAL IPReassType = 1
)

func (IPReassType) String

func (x IPReassType) String() string

type IPReassemblyEnableDisable

type IPReassemblyEnableDisable struct {
	SwIfIndex InterfaceIndex
	EnableIP4 bool
	EnableIP6 bool
	Type      IPReassType
}

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

func (*IPReassemblyEnableDisable) Reset

func (m *IPReassemblyEnableDisable) Reset()

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

func (*IPReassemblyEnableDisableReply) Reset

func (m *IPReassemblyEnableDisableReply) Reset()

type IPReassemblyGet

type IPReassemblyGet struct {
	IsIP6 bool
	Type  IPReassType
}

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

func (*IPReassemblyGet) Reset

func (m *IPReassemblyGet) Reset()

type IPReassemblyGetReply

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

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

func (*IPReassemblyGetReply) Reset

func (m *IPReassemblyGetReply) Reset()

type IPReassemblySet

type IPReassemblySet struct {
	TimeoutMs            uint32
	MaxReassemblies      uint32
	MaxReassemblyLength  uint32
	ExpireWalkIntervalMs uint32
	IsIP6                bool
	Type                 IPReassType
}

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

func (*IPReassemblySet) Reset

func (m *IPReassemblySet) Reset()

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

func (*IPReassemblySetReply) Reset

func (m *IPReassemblySetReply) Reset()

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       bool
	IsMultipath bool
	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

func (*IPRouteAddDel) Reset

func (m *IPRouteAddDel) Reset()

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

func (*IPRouteAddDelReply) Reset

func (m *IPRouteAddDelReply) Reset()

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

func (*IPRouteDetails) Reset

func (m *IPRouteDetails) Reset()

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

func (*IPRouteDump) Reset

func (m *IPRouteDump) Reset()

type IPSourceAndPortRangeCheckAddDel

type IPSourceAndPortRangeCheckAddDel struct {
	IsAdd          bool
	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

func (*IPSourceAndPortRangeCheckAddDel) Reset

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

func (*IPSourceAndPortRangeCheckAddDelReply) Reset

type IPSourceAndPortRangeCheckInterfaceAddDel

type IPSourceAndPortRangeCheckInterfaceAddDel struct {
	IsAdd       bool
	SwIfIndex   InterfaceIndex
	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

func (*IPSourceAndPortRangeCheckInterfaceAddDel) Reset

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

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) Reset

type IPSourceCheckInterfaceAddDel

type IPSourceCheckInterfaceAddDel struct {
	IsAdd     bool
	Loose     bool
	SwIfIndex InterfaceIndex
}

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

func (*IPSourceCheckInterfaceAddDel) Reset

func (m *IPSourceCheckInterfaceAddDel) Reset()

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

func (*IPSourceCheckInterfaceAddDelReply) Reset

type IPTable

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

IPTable represents VPP binary API type 'ip_table'.

func (*IPTable) GetTypeName

func (*IPTable) GetTypeName() string

type IPTableAddDel

type IPTableAddDel struct {
	IsAdd bool
	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

func (*IPTableAddDel) Reset

func (m *IPTableAddDel) Reset()

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

func (*IPTableAddDelReply) Reset

func (m *IPTableAddDelReply) Reset()

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

func (*IPTableDetails) Reset

func (m *IPTableDetails) Reset()

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

func (*IPTableDump) Reset

func (m *IPTableDump) Reset()

type IPTableFlush

type IPTableFlush struct {
	Table IPTable
}

IPTableFlush represents VPP binary API message 'ip_table_flush'.

func (*IPTableFlush) GetCrcString

func (*IPTableFlush) GetCrcString() string

func (*IPTableFlush) GetMessageName

func (*IPTableFlush) GetMessageName() string

func (*IPTableFlush) GetMessageType

func (*IPTableFlush) GetMessageType() api.MessageType

func (*IPTableFlush) Reset

func (m *IPTableFlush) Reset()

type IPTableFlushReply

type IPTableFlushReply struct {
	Retval int32
}

IPTableFlushReply represents VPP binary API message 'ip_table_flush_reply'.

func (*IPTableFlushReply) GetCrcString

func (*IPTableFlushReply) GetCrcString() string

func (*IPTableFlushReply) GetMessageName

func (*IPTableFlushReply) GetMessageName() string

func (*IPTableFlushReply) GetMessageType

func (*IPTableFlushReply) GetMessageType() api.MessageType

func (*IPTableFlushReply) Reset

func (m *IPTableFlushReply) Reset()

type IPTableReplaceBegin

type IPTableReplaceBegin struct {
	Table IPTable
}

IPTableReplaceBegin represents VPP binary API message 'ip_table_replace_begin'.

func (*IPTableReplaceBegin) GetCrcString

func (*IPTableReplaceBegin) GetCrcString() string

func (*IPTableReplaceBegin) GetMessageName

func (*IPTableReplaceBegin) GetMessageName() string

func (*IPTableReplaceBegin) GetMessageType

func (*IPTableReplaceBegin) GetMessageType() api.MessageType

func (*IPTableReplaceBegin) Reset

func (m *IPTableReplaceBegin) Reset()

type IPTableReplaceBeginReply

type IPTableReplaceBeginReply struct {
	Retval int32
}

IPTableReplaceBeginReply represents VPP binary API message 'ip_table_replace_begin_reply'.

func (*IPTableReplaceBeginReply) GetCrcString

func (*IPTableReplaceBeginReply) GetCrcString() string

func (*IPTableReplaceBeginReply) GetMessageName

func (*IPTableReplaceBeginReply) GetMessageName() string

func (*IPTableReplaceBeginReply) GetMessageType

func (*IPTableReplaceBeginReply) GetMessageType() api.MessageType

func (*IPTableReplaceBeginReply) Reset

func (m *IPTableReplaceBeginReply) Reset()

type IPTableReplaceEnd

type IPTableReplaceEnd struct {
	Table IPTable
}

IPTableReplaceEnd represents VPP binary API message 'ip_table_replace_end'.

func (*IPTableReplaceEnd) GetCrcString

func (*IPTableReplaceEnd) GetCrcString() string

func (*IPTableReplaceEnd) GetMessageName

func (*IPTableReplaceEnd) GetMessageName() string

func (*IPTableReplaceEnd) GetMessageType

func (*IPTableReplaceEnd) GetMessageType() api.MessageType

func (*IPTableReplaceEnd) Reset

func (m *IPTableReplaceEnd) Reset()

type IPTableReplaceEndReply

type IPTableReplaceEndReply struct {
	Retval int32
}

IPTableReplaceEndReply represents VPP binary API message 'ip_table_replace_end_reply'.

func (*IPTableReplaceEndReply) GetCrcString

func (*IPTableReplaceEndReply) GetCrcString() string

func (*IPTableReplaceEndReply) GetMessageName

func (*IPTableReplaceEndReply) GetMessageName() string

func (*IPTableReplaceEndReply) GetMessageType

func (*IPTableReplaceEndReply) GetMessageType() api.MessageType

func (*IPTableReplaceEndReply) Reset

func (m *IPTableReplaceEndReply) Reset()

type IPUnnumberedDetails

type IPUnnumberedDetails struct {
	SwIfIndex   InterfaceIndex
	IPSwIfIndex InterfaceIndex
}

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

func (*IPUnnumberedDetails) Reset

func (m *IPUnnumberedDetails) Reset()

type IPUnnumberedDump

type IPUnnumberedDump struct {
	SwIfIndex InterfaceIndex
}

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

func (*IPUnnumberedDump) Reset

func (m *IPUnnumberedDump) Reset()

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 = 1
	IF_API_TYPE_SUB      IfType = 2
	IF_API_TYPE_P2P      IfType = 3
	IF_API_TYPE_PIPE     IfType = 4
)

func (IfType) String

func (x IfType) String() string

type InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex represents VPP binary API alias 'interface_index'.

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

func (*IoamDisable) Reset

func (m *IoamDisable) Reset()

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

func (*IoamDisableReply) Reset

func (m *IoamDisableReply) Reset()

type IoamEnable

type IoamEnable struct {
	ID          uint16
	Seqno       bool
	Analyse     bool
	PotEnable   bool
	TraceEnable bool
	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

func (*IoamEnable) Reset

func (m *IoamEnable) Reset()

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

func (*IoamEnableReply) Reset

func (m *IoamEnableReply) Reset()

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

func (*MfibSignalDetails) Reset

func (m *MfibSignalDetails) Reset()

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

func (*MfibSignalDump) Reset

func (m *MfibSignalDump) Reset()

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 = 1
	MTU_PROTO_API_IP4  MtuProto = 2
	MTU_PROTO_API_IP6  MtuProto = 3
	MTU_PROTO_API_MPLS MtuProto = 4
	MTU_PROTO_API_N    MtuProto = 5
)

func (MtuProto) String

func (x MtuProto) String() 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 PuntRedirect

type PuntRedirect struct {
	RxSwIfIndex InterfaceIndex
	TxSwIfIndex InterfaceIndex
	Nh          Address
}

PuntRedirect represents VPP binary API type 'punt_redirect'.

func (*PuntRedirect) GetTypeName

func (*PuntRedirect) GetTypeName() string

type RPCService

type RPCService interface {
	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)
	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)
	IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error)
	IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error)
	IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error)
	IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, 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)
	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)
	IPTableFlush(ctx context.Context, in *IPTableFlush) (*IPTableFlushReply, error)
	IPTableReplaceBegin(ctx context.Context, in *IPTableReplaceBegin) (*IPTableReplaceBeginReply, error)
	IPTableReplaceEnd(ctx context.Context, in *IPTableReplaceEnd) (*IPTableReplaceEndReply, 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)
}

RPCService represents RPC service API for ip module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

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_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 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 SetIPFlowHash

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

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

func (*SetIPFlowHash) Reset

func (m *SetIPFlowHash) Reset()

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

func (*SetIPFlowHashReply) Reset

func (m *SetIPFlowHashReply) 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

type SwInterfaceIP6EnableDisable

type SwInterfaceIP6EnableDisable struct {
	SwIfIndex InterfaceIndex
	Enable    bool
}

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

func (*SwInterfaceIP6EnableDisable) Reset

func (m *SwInterfaceIP6EnableDisable) Reset()

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

func (*SwInterfaceIP6EnableDisableReply) Reset

type SwInterfaceIP6SetLinkLocalAddress

type SwInterfaceIP6SetLinkLocalAddress struct {
	SwIfIndex InterfaceIndex
	IP        IP6Address
}

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

func (*SwInterfaceIP6SetLinkLocalAddress) Reset

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

func (*SwInterfaceIP6SetLinkLocalAddressReply) Reset

Jump to

Keyboard shortcuts

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