ip

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 9 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"
	// APIVersion is the API version of this module.
	APIVersion = "3.0.1"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xfc3fea46
)

Variables

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 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 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 = ip_types.Address

type AddressFamily

type AddressFamily = ip_types.AddressFamily

type AddressUnion

type AddressUnion = ip_types.AddressUnion

type AddressWithPrefix added in v0.3.7

type AddressWithPrefix = ip_types.AddressWithPrefix

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 added in v0.3.7

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 added in v0.3.7

func (x FibPathFlags) String() string

type FibPathNh added in v0.3.7

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

FibPathNh represents VPP binary API type 'fib_path_nh'.

func (*FibPathNh) GetTypeName added in v0.3.7

func (*FibPathNh) GetTypeName() string

type FibPathNhProto added in v0.3.7

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 added in v0.3.7

func (x FibPathNhProto) String() string

type FibPathType added in v0.3.7

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 added in v0.3.7

func (x FibPathType) String() string

type IP4Address

type IP4Address = ip_types.IP4Address

type IP4AddressWithPrefix added in v0.3.7

type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix

type IP4Prefix

type IP4Prefix = ip_types.IP4Prefix

type IP6Address

type IP6Address = ip_types.IP6Address

type IP6AddressWithPrefix added in v0.3.7

type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix

type IP6Prefix

type IP6Prefix = ip_types.IP6Prefix

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

func (m *IPDetails) Reset()

type IPDscp added in v0.3.7

type IPDscp = ip_types.IPDscp

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 added in v0.3.7

func (m *IPDump) Reset()

type IPEcn added in v0.3.7

type IPEcn = ip_types.IPEcn

type IPMroute added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

func (m *IPMrouteAddDelReply) Reset()

type IPMrouteDetails added in v0.3.7

type IPMrouteDetails struct {
	Route IPMroute
}

IPMrouteDetails represents VPP binary API message 'ip_mroute_details'.

func (*IPMrouteDetails) GetCrcString added in v0.3.7

func (*IPMrouteDetails) GetCrcString() string

func (*IPMrouteDetails) GetMessageName added in v0.3.7

func (*IPMrouteDetails) GetMessageName() string

func (*IPMrouteDetails) GetMessageType added in v0.3.7

func (*IPMrouteDetails) GetMessageType() api.MessageType

func (*IPMrouteDetails) Reset added in v0.3.7

func (m *IPMrouteDetails) Reset()

type IPMrouteDump added in v0.3.7

type IPMrouteDump struct {
	Table IPTable
}

IPMrouteDump represents VPP binary API message 'ip_mroute_dump'.

func (*IPMrouteDump) GetCrcString added in v0.3.7

func (*IPMrouteDump) GetCrcString() string

func (*IPMrouteDump) GetMessageName added in v0.3.7

func (*IPMrouteDump) GetMessageName() string

func (*IPMrouteDump) GetMessageType added in v0.3.7

func (*IPMrouteDump) GetMessageType() api.MessageType

func (*IPMrouteDump) Reset added in v0.3.7

func (m *IPMrouteDump) Reset()

type IPMtableDetails added in v0.3.7

type IPMtableDetails struct {
	Table IPTable
}

IPMtableDetails represents VPP binary API message 'ip_mtable_details'.

func (*IPMtableDetails) GetCrcString added in v0.3.7

func (*IPMtableDetails) GetCrcString() string

func (*IPMtableDetails) GetMessageName added in v0.3.7

func (*IPMtableDetails) GetMessageName() string

func (*IPMtableDetails) GetMessageType added in v0.3.7

func (*IPMtableDetails) GetMessageType() api.MessageType

func (*IPMtableDetails) Reset added in v0.3.7

func (m *IPMtableDetails) Reset()

type IPMtableDump added in v0.3.7

type IPMtableDump struct{}

IPMtableDump represents VPP binary API message 'ip_mtable_dump'.

func (*IPMtableDump) GetCrcString added in v0.3.7

func (*IPMtableDump) GetCrcString() string

func (*IPMtableDump) GetMessageName added in v0.3.7

func (*IPMtableDump) GetMessageName() string

func (*IPMtableDump) GetMessageType added in v0.3.7

func (*IPMtableDump) GetMessageType() api.MessageType

func (*IPMtableDump) Reset added in v0.3.7

func (m *IPMtableDump) Reset()

type IPProto added in v0.3.7

type IPProto = ip_types.IPProto

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

func (m *IPPuntRedirectReply) Reset()

type IPReassType added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

func (m *IPReassemblySetReply) Reset()

type IPRoute added in v0.3.7

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 added in v0.3.7

func (*IPRoute) GetTypeName() string

type IPRouteAddDel added in v0.3.7

type IPRouteAddDel struct {
	IsAdd       bool
	IsMultipath bool
	Route       IPRoute
}

IPRouteAddDel represents VPP binary API message 'ip_route_add_del'.

func (*IPRouteAddDel) GetCrcString added in v0.3.7

func (*IPRouteAddDel) GetCrcString() string

func (*IPRouteAddDel) GetMessageName added in v0.3.7

func (*IPRouteAddDel) GetMessageName() string

func (*IPRouteAddDel) GetMessageType added in v0.3.7

func (*IPRouteAddDel) GetMessageType() api.MessageType

func (*IPRouteAddDel) Reset added in v0.3.7

func (m *IPRouteAddDel) Reset()

type IPRouteAddDelReply added in v0.3.7

type IPRouteAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

IPRouteAddDelReply represents VPP binary API message 'ip_route_add_del_reply'.

func (*IPRouteAddDelReply) GetCrcString added in v0.3.7

func (*IPRouteAddDelReply) GetCrcString() string

func (*IPRouteAddDelReply) GetMessageName added in v0.3.7

func (*IPRouteAddDelReply) GetMessageName() string

func (*IPRouteAddDelReply) GetMessageType added in v0.3.7

func (*IPRouteAddDelReply) GetMessageType() api.MessageType

func (*IPRouteAddDelReply) Reset added in v0.3.7

func (m *IPRouteAddDelReply) Reset()

type IPRouteDetails added in v0.3.7

type IPRouteDetails struct {
	Route IPRoute
}

IPRouteDetails represents VPP binary API message 'ip_route_details'.

func (*IPRouteDetails) GetCrcString added in v0.3.7

func (*IPRouteDetails) GetCrcString() string

func (*IPRouteDetails) GetMessageName added in v0.3.7

func (*IPRouteDetails) GetMessageName() string

func (*IPRouteDetails) GetMessageType added in v0.3.7

func (*IPRouteDetails) GetMessageType() api.MessageType

func (*IPRouteDetails) Reset added in v0.3.7

func (m *IPRouteDetails) Reset()

type IPRouteDump added in v0.3.7

type IPRouteDump struct {
	Table IPTable
}

IPRouteDump represents VPP binary API message 'ip_route_dump'.

func (*IPRouteDump) GetCrcString added in v0.3.7

func (*IPRouteDump) GetCrcString() string

func (*IPRouteDump) GetMessageName added in v0.3.7

func (*IPRouteDump) GetMessageName() string

func (*IPRouteDump) GetMessageType added in v0.3.7

func (*IPRouteDump) GetMessageType() api.MessageType

func (*IPRouteDump) Reset added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

type IPTable added in v0.3.7

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

IPTable represents VPP binary API type 'ip_table'.

func (*IPTable) GetTypeName added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

func (m *IPTableAddDelReply) Reset()

type IPTableDetails added in v0.3.7

type IPTableDetails struct {
	Table IPTable
}

IPTableDetails represents VPP binary API message 'ip_table_details'.

func (*IPTableDetails) GetCrcString added in v0.3.7

func (*IPTableDetails) GetCrcString() string

func (*IPTableDetails) GetMessageName added in v0.3.7

func (*IPTableDetails) GetMessageName() string

func (*IPTableDetails) GetMessageType added in v0.3.7

func (*IPTableDetails) GetMessageType() api.MessageType

func (*IPTableDetails) Reset added in v0.3.7

func (m *IPTableDetails) Reset()

type IPTableDump added in v0.3.7

type IPTableDump struct{}

IPTableDump represents VPP binary API message 'ip_table_dump'.

func (*IPTableDump) GetCrcString added in v0.3.7

func (*IPTableDump) GetCrcString() string

func (*IPTableDump) GetMessageName added in v0.3.7

func (*IPTableDump) GetMessageName() string

func (*IPTableDump) GetMessageType added in v0.3.7

func (*IPTableDump) GetMessageType() api.MessageType

func (*IPTableDump) Reset added in v0.3.7

func (m *IPTableDump) Reset()

type IPTableFlush added in v0.3.7

type IPTableFlush struct {
	Table IPTable
}

IPTableFlush represents VPP binary API message 'ip_table_flush'.

func (*IPTableFlush) GetCrcString added in v0.3.7

func (*IPTableFlush) GetCrcString() string

func (*IPTableFlush) GetMessageName added in v0.3.7

func (*IPTableFlush) GetMessageName() string

func (*IPTableFlush) GetMessageType added in v0.3.7

func (*IPTableFlush) GetMessageType() api.MessageType

func (*IPTableFlush) Reset added in v0.3.7

func (m *IPTableFlush) Reset()

type IPTableFlushReply added in v0.3.7

type IPTableFlushReply struct {
	Retval int32
}

IPTableFlushReply represents VPP binary API message 'ip_table_flush_reply'.

func (*IPTableFlushReply) GetCrcString added in v0.3.7

func (*IPTableFlushReply) GetCrcString() string

func (*IPTableFlushReply) GetMessageName added in v0.3.7

func (*IPTableFlushReply) GetMessageName() string

func (*IPTableFlushReply) GetMessageType added in v0.3.7

func (*IPTableFlushReply) GetMessageType() api.MessageType

func (*IPTableFlushReply) Reset added in v0.3.7

func (m *IPTableFlushReply) Reset()

type IPTableReplaceBegin added in v0.3.7

type IPTableReplaceBegin struct {
	Table IPTable
}

IPTableReplaceBegin represents VPP binary API message 'ip_table_replace_begin'.

func (*IPTableReplaceBegin) GetCrcString added in v0.3.7

func (*IPTableReplaceBegin) GetCrcString() string

func (*IPTableReplaceBegin) GetMessageName added in v0.3.7

func (*IPTableReplaceBegin) GetMessageName() string

func (*IPTableReplaceBegin) GetMessageType added in v0.3.7

func (*IPTableReplaceBegin) GetMessageType() api.MessageType

func (*IPTableReplaceBegin) Reset added in v0.3.7

func (m *IPTableReplaceBegin) Reset()

type IPTableReplaceBeginReply added in v0.3.7

type IPTableReplaceBeginReply struct {
	Retval int32
}

IPTableReplaceBeginReply represents VPP binary API message 'ip_table_replace_begin_reply'.

func (*IPTableReplaceBeginReply) GetCrcString added in v0.3.7

func (*IPTableReplaceBeginReply) GetCrcString() string

func (*IPTableReplaceBeginReply) GetMessageName added in v0.3.7

func (*IPTableReplaceBeginReply) GetMessageName() string

func (*IPTableReplaceBeginReply) GetMessageType added in v0.3.7

func (*IPTableReplaceBeginReply) GetMessageType() api.MessageType

func (*IPTableReplaceBeginReply) Reset added in v0.3.7

func (m *IPTableReplaceBeginReply) Reset()

type IPTableReplaceEnd added in v0.3.7

type IPTableReplaceEnd struct {
	Table IPTable
}

IPTableReplaceEnd represents VPP binary API message 'ip_table_replace_end'.

func (*IPTableReplaceEnd) GetCrcString added in v0.3.7

func (*IPTableReplaceEnd) GetCrcString() string

func (*IPTableReplaceEnd) GetMessageName added in v0.3.7

func (*IPTableReplaceEnd) GetMessageName() string

func (*IPTableReplaceEnd) GetMessageType added in v0.3.7

func (*IPTableReplaceEnd) GetMessageType() api.MessageType

func (*IPTableReplaceEnd) Reset added in v0.3.7

func (m *IPTableReplaceEnd) Reset()

type IPTableReplaceEndReply added in v0.3.7

type IPTableReplaceEndReply struct {
	Retval int32
}

IPTableReplaceEndReply represents VPP binary API message 'ip_table_replace_end_reply'.

func (*IPTableReplaceEndReply) GetCrcString added in v0.3.7

func (*IPTableReplaceEndReply) GetCrcString() string

func (*IPTableReplaceEndReply) GetMessageName added in v0.3.7

func (*IPTableReplaceEndReply) GetMessageName() string

func (*IPTableReplaceEndReply) GetMessageType added in v0.3.7

func (*IPTableReplaceEndReply) GetMessageType() api.MessageType

func (*IPTableReplaceEndReply) Reset added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

func (m *IPUnnumberedDump) Reset()

type IfStatusFlags added in v0.3.7

type IfStatusFlags = interface_types.IfStatusFlags

type IfType added in v0.3.7

type IfType = interface_types.IfType

type InterfaceIndex added in v0.3.7

type InterfaceIndex = interface_types.InterfaceIndex

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

func (m *IoamEnableReply) Reset()

type LinkDuplex added in v0.3.7

type LinkDuplex = interface_types.LinkDuplex

type MacAddress

type MacAddress = ethernet_types.MacAddress

type MfibItfFlags added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

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 added in v0.3.7

func (m *MfibSignalDump) Reset()

type Mprefix

type Mprefix = ip_types.Mprefix

type MtuProto added in v0.3.7

type MtuProto = interface_types.MtuProto

type Prefix

type Prefix = ip_types.Prefix

type PrefixMatcher added in v0.3.7

type PrefixMatcher = ip_types.PrefixMatcher

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 added in v0.3.7

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

type RPCService_DumpIPMtableClient added in v0.3.7

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

type RPCService_DumpIPPuntRedirectClient

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

type RPCService_DumpIPRouteClient added in v0.3.7

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

type RPCService_DumpIPTableClient added in v0.3.7

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 added in v0.3.7

type RxMode = interface_types.RxMode

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 added in v0.3.7

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 added in v0.3.7

func (m *SetIPFlowHashReply) Reset()

type SubIfFlags added in v0.3.7

type SubIfFlags = interface_types.SubIfFlags

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 added in v0.3.7

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 added in v0.3.7

type SwInterfaceIP6SetLinkLocalAddress added in v0.3.7

type SwInterfaceIP6SetLinkLocalAddress struct {
	SwIfIndex InterfaceIndex
	IP        IP6Address
}

SwInterfaceIP6SetLinkLocalAddress represents VPP binary API message 'sw_interface_ip6_set_link_local_address'.

func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString added in v0.3.7

func (*SwInterfaceIP6SetLinkLocalAddress) GetCrcString() string

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName added in v0.3.7

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageName() string

func (*SwInterfaceIP6SetLinkLocalAddress) GetMessageType added in v0.3.7

func (*SwInterfaceIP6SetLinkLocalAddress) Reset added in v0.3.7

type SwInterfaceIP6SetLinkLocalAddressReply added in v0.3.7

type SwInterfaceIP6SetLinkLocalAddressReply struct {
	Retval int32
}

SwInterfaceIP6SetLinkLocalAddressReply represents VPP binary API message 'sw_interface_ip6_set_link_local_address_reply'.

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetCrcString added in v0.3.7

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageName added in v0.3.7

func (*SwInterfaceIP6SetLinkLocalAddressReply) GetMessageType added in v0.3.7

func (*SwInterfaceIP6SetLinkLocalAddressReply) Reset added in v0.3.7

Jump to

Keyboard shortcuts

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