ip

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 6 Imported by: 27

Documentation

Overview

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

It consists of:

 2 enums
 3 aliases
12 types
 1 union
91 messages
44 services

Index

Constants

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

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 IPNeighborFlags_name = map[uint32]string{
	0: "IP_API_NEIGHBOR_FLAG_NONE",
	1: "IP_API_NEIGHBOR_FLAG_STATIC",
	2: "IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY",
}
View Source
var IPNeighborFlags_value = map[string]uint32{
	"IP_API_NEIGHBOR_FLAG_NONE":         0,
	"IP_API_NEIGHBOR_FLAG_STATIC":       1,
	"IP_API_NEIGHBOR_FLAG_NO_FIB_ENTRY": 2,
}

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) GetCrcString

func (*Address) GetCrcString() string

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) GetCrcString

func (*AddressUnion) GetCrcString() string

func (*AddressUnion) GetIP4

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

func (*AddressUnion) GetIP6

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

func (*AddressUnion) GetTypeName

func (*AddressUnion) GetTypeName() string

func (*AddressUnion) SetIP4

func (u *AddressUnion) SetIP4(a IP4Address)

func (*AddressUnion) SetIP6

func (u *AddressUnion) SetIP6(a IP6Address)

type FibMplsLabel

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

FibMplsLabel represents VPP binary API type 'fib_mpls_label'.

func (*FibMplsLabel) GetCrcString

func (*FibMplsLabel) GetCrcString() string

func (*FibMplsLabel) GetTypeName

func (*FibMplsLabel) GetTypeName() string

type FibPath

type FibPath struct {
	SwIfIndex         uint32
	TableID           uint32
	Weight            uint8
	Preference        uint8
	IsLocal           uint8
	IsDrop            uint8
	IsUDPEncap        uint8
	IsUnreach         uint8
	IsProhibit        uint8
	IsResolveHost     uint8
	IsResolveAttached uint8
	IsDvr             uint8
	IsSourceLookup    uint8
	IsInterfaceRx     uint8
	Afi               uint8
	NextHop           []byte `struc:"[16]byte"`
	NextHopID         uint32
	RpfID             uint32
	ViaLabel          uint32
	NLabels           uint8 `struc:"sizeof=LabelStack"` // MANUALLY FIXED, see https://jira.fd.io/browse/VPP-1261
	LabelStack        []FibMplsLabel
}

FibPath represents VPP binary API type 'fib_path'.

func (*FibPath) GetCrcString

func (*FibPath) GetCrcString() string

func (*FibPath) GetTypeName

func (*FibPath) GetTypeName() string

type IP4Address

type IP4Address [4]uint8

IP4Address represents VPP binary API alias 'ip4_address'.

type IP4ArpEvent

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

IP4ArpEvent represents VPP binary API message 'ip4_arp_event'.

func (*IP4ArpEvent) GetCrcString

func (*IP4ArpEvent) GetCrcString() string

func (*IP4ArpEvent) GetMessageName

func (*IP4ArpEvent) GetMessageName() string

func (*IP4ArpEvent) GetMessageType

func (*IP4ArpEvent) GetMessageType() api.MessageType

type IP4Prefix

type IP4Prefix struct {
	Prefix IP4Address
	Len    uint8
}

IP4Prefix represents VPP binary API type 'ip4_prefix'.

func (*IP4Prefix) GetCrcString

func (*IP4Prefix) GetCrcString() string

func (*IP4Prefix) GetTypeName

func (*IP4Prefix) GetTypeName() string

type IP6Address

type IP6Address [16]uint8

IP6Address represents VPP binary API alias 'ip6_address'.

type IP6FibDetails

type IP6FibDetails struct {
	TableID       uint32
	TableName     []byte `struc:"[64]byte"`
	AddressLength uint8
	Address       []byte `struc:"[16]byte"`
	Count         uint32 `struc:"sizeof=Path"`
	StatsIndex    uint32
	Path          []FibPath
}

IP6FibDetails represents VPP binary API message 'ip6_fib_details'.

func (*IP6FibDetails) GetCrcString

func (*IP6FibDetails) GetCrcString() string

func (*IP6FibDetails) GetMessageName

func (*IP6FibDetails) GetMessageName() string

func (*IP6FibDetails) GetMessageType

func (*IP6FibDetails) GetMessageType() api.MessageType

type IP6FibDump

type IP6FibDump struct{}

IP6FibDump represents VPP binary API message 'ip6_fib_dump'.

func (*IP6FibDump) GetCrcString

func (*IP6FibDump) GetCrcString() string

func (*IP6FibDump) GetMessageName

func (*IP6FibDump) GetMessageName() string

func (*IP6FibDump) GetMessageType

func (*IP6FibDump) GetMessageType() api.MessageType

type IP6MfibDetails

type IP6MfibDetails struct {
	TableID       uint32
	AddressLength uint8
	GrpAddress    []byte `struc:"[16]byte"`
	SrcAddress    []byte `struc:"[16]byte"`
	Count         uint32 `struc:"sizeof=Path"`
	Path          []MfibPath
}

IP6MfibDetails represents VPP binary API message 'ip6_mfib_details'.

func (*IP6MfibDetails) GetCrcString

func (*IP6MfibDetails) GetCrcString() string

func (*IP6MfibDetails) GetMessageName

func (*IP6MfibDetails) GetMessageName() string

func (*IP6MfibDetails) GetMessageType

func (*IP6MfibDetails) GetMessageType() api.MessageType

type IP6MfibDump

type IP6MfibDump struct{}

IP6MfibDump represents VPP binary API message 'ip6_mfib_dump'.

func (*IP6MfibDump) GetCrcString

func (*IP6MfibDump) GetCrcString() string

func (*IP6MfibDump) GetMessageName

func (*IP6MfibDump) GetMessageName() string

func (*IP6MfibDump) GetMessageType

func (*IP6MfibDump) GetMessageType() api.MessageType

type IP6NdEvent

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

IP6NdEvent represents VPP binary API message 'ip6_nd_event'.

func (*IP6NdEvent) GetCrcString

func (*IP6NdEvent) GetCrcString() string

func (*IP6NdEvent) GetMessageName

func (*IP6NdEvent) GetMessageName() string

func (*IP6NdEvent) GetMessageType

func (*IP6NdEvent) GetMessageType() api.MessageType

type IP6Prefix

type IP6Prefix struct {
	Prefix IP6Address
	Len    uint8
}

IP6Prefix represents VPP binary API type 'ip6_prefix'.

func (*IP6Prefix) GetCrcString

func (*IP6Prefix) GetCrcString() string

func (*IP6Prefix) GetTypeName

func (*IP6Prefix) GetTypeName() string

type IP6RaEvent

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

IP6RaEvent represents VPP binary API message 'ip6_ra_event'.

func (*IP6RaEvent) GetCrcString

func (*IP6RaEvent) GetCrcString() string

func (*IP6RaEvent) GetMessageName

func (*IP6RaEvent) GetMessageName() string

func (*IP6RaEvent) GetMessageType

func (*IP6RaEvent) GetMessageType() api.MessageType

type IP6RaPrefixInfo

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

IP6RaPrefixInfo represents VPP binary API type 'ip6_ra_prefix_info'.

func (*IP6RaPrefixInfo) GetCrcString

func (*IP6RaPrefixInfo) GetCrcString() string

func (*IP6RaPrefixInfo) GetTypeName

func (*IP6RaPrefixInfo) GetTypeName() string

type IP6ndProxyAddDel

type IP6ndProxyAddDel struct {
	SwIfIndex uint32
	IsDel     uint8
	IP        IP6Address
}

IP6ndProxyAddDel represents VPP binary API message 'ip6nd_proxy_add_del'.

func (*IP6ndProxyAddDel) GetCrcString

func (*IP6ndProxyAddDel) GetCrcString() string

func (*IP6ndProxyAddDel) GetMessageName

func (*IP6ndProxyAddDel) GetMessageName() string

func (*IP6ndProxyAddDel) GetMessageType

func (*IP6ndProxyAddDel) GetMessageType() api.MessageType

type IP6ndProxyAddDelReply

type IP6ndProxyAddDelReply struct {
	Retval int32
}

IP6ndProxyAddDelReply represents VPP binary API message 'ip6nd_proxy_add_del_reply'.

func (*IP6ndProxyAddDelReply) GetCrcString

func (*IP6ndProxyAddDelReply) GetCrcString() string

func (*IP6ndProxyAddDelReply) GetMessageName

func (*IP6ndProxyAddDelReply) GetMessageName() string

func (*IP6ndProxyAddDelReply) GetMessageType

func (*IP6ndProxyAddDelReply) GetMessageType() api.MessageType

type IP6ndProxyDetails

type IP6ndProxyDetails struct {
	SwIfIndex uint32
	IP        IP6Address
}

IP6ndProxyDetails represents VPP binary API message 'ip6nd_proxy_details'.

func (*IP6ndProxyDetails) GetCrcString

func (*IP6ndProxyDetails) GetCrcString() string

func (*IP6ndProxyDetails) GetMessageName

func (*IP6ndProxyDetails) GetMessageName() string

func (*IP6ndProxyDetails) GetMessageType

func (*IP6ndProxyDetails) GetMessageType() api.MessageType

type IP6ndProxyDump

type IP6ndProxyDump struct{}

IP6ndProxyDump represents VPP binary API message 'ip6nd_proxy_dump'.

func (*IP6ndProxyDump) GetCrcString

func (*IP6ndProxyDump) GetCrcString() string

func (*IP6ndProxyDump) GetMessageName

func (*IP6ndProxyDump) GetMessageName() string

func (*IP6ndProxyDump) GetMessageType

func (*IP6ndProxyDump) GetMessageType() api.MessageType

type IP6ndSendRouterSolicitation

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

IP6ndSendRouterSolicitation represents VPP binary API message 'ip6nd_send_router_solicitation'.

func (*IP6ndSendRouterSolicitation) GetCrcString

func (*IP6ndSendRouterSolicitation) GetCrcString() string

func (*IP6ndSendRouterSolicitation) GetMessageName

func (*IP6ndSendRouterSolicitation) GetMessageName() string

func (*IP6ndSendRouterSolicitation) GetMessageType

func (*IP6ndSendRouterSolicitation) GetMessageType() api.MessageType

type IP6ndSendRouterSolicitationReply

type IP6ndSendRouterSolicitationReply struct {
	Retval int32
}

IP6ndSendRouterSolicitationReply represents VPP binary API message 'ip6nd_send_router_solicitation_reply'.

func (*IP6ndSendRouterSolicitationReply) GetCrcString

func (*IP6ndSendRouterSolicitationReply) GetCrcString() string

func (*IP6ndSendRouterSolicitationReply) GetMessageName

func (*IP6ndSendRouterSolicitationReply) GetMessageName() string

func (*IP6ndSendRouterSolicitationReply) GetMessageType

type IPAddDelRoute

type IPAddDelRoute struct {
	NextHopSwIfIndex     uint32
	TableID              uint32
	ClassifyTableIndex   uint32
	NextHopTableID       uint32
	NextHopID            uint32
	IsAdd                uint8
	IsDrop               uint8
	IsUnreach            uint8
	IsProhibit           uint8
	IsIPv6               uint8
	IsLocal              uint8
	IsClassify           uint8
	IsMultipath          uint8
	IsResolveHost        uint8
	IsResolveAttached    uint8
	IsDvr                uint8
	IsSourceLookup       uint8
	IsUDPEncap           uint8
	NextHopWeight        uint8
	NextHopPreference    uint8
	NextHopProto         uint8
	DstAddressLength     uint8
	DstAddress           []byte `struc:"[16]byte"`
	NextHopAddress       []byte `struc:"[16]byte"`
	NextHopNOutLabels    uint8  `struc:"sizeof=NextHopOutLabelStack"`
	NextHopViaLabel      uint32
	NextHopOutLabelStack []FibMplsLabel
}

IPAddDelRoute represents VPP binary API message 'ip_add_del_route'.

func (*IPAddDelRoute) GetCrcString

func (*IPAddDelRoute) GetCrcString() string

func (*IPAddDelRoute) GetMessageName

func (*IPAddDelRoute) GetMessageName() string

func (*IPAddDelRoute) GetMessageType

func (*IPAddDelRoute) GetMessageType() api.MessageType

type IPAddDelRouteReply

type IPAddDelRouteReply struct {
	Retval     int32
	StatsIndex uint32
}

IPAddDelRouteReply represents VPP binary API message 'ip_add_del_route_reply'.

func (*IPAddDelRouteReply) GetCrcString

func (*IPAddDelRouteReply) GetCrcString() string

func (*IPAddDelRouteReply) GetMessageName

func (*IPAddDelRouteReply) GetMessageName() string

func (*IPAddDelRouteReply) GetMessageType

func (*IPAddDelRouteReply) GetMessageType() api.MessageType

type IPAddressDetails

type IPAddressDetails struct {
	IP           []byte `struc:"[16]byte"`
	PrefixLength uint8
	SwIfIndex    uint32
	IsIPv6       uint8
}

IPAddressDetails represents VPP binary API message 'ip_address_details'.

func (*IPAddressDetails) GetCrcString

func (*IPAddressDetails) GetCrcString() string

func (*IPAddressDetails) GetMessageName

func (*IPAddressDetails) GetMessageName() string

func (*IPAddressDetails) GetMessageType

func (*IPAddressDetails) GetMessageType() api.MessageType

type IPAddressDump

type IPAddressDump struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

IPAddressDump represents VPP binary API message 'ip_address_dump'.

func (*IPAddressDump) GetCrcString

func (*IPAddressDump) GetCrcString() string

func (*IPAddressDump) GetMessageName

func (*IPAddressDump) GetMessageName() string

func (*IPAddressDump) GetMessageType

func (*IPAddressDump) GetMessageType() api.MessageType

type IPContainerProxyAddDel

type IPContainerProxyAddDel struct {
	Pfx       Prefix
	SwIfIndex uint32
	IsAdd     uint8
}

IPContainerProxyAddDel represents VPP binary API message 'ip_container_proxy_add_del'.

func (*IPContainerProxyAddDel) GetCrcString

func (*IPContainerProxyAddDel) GetCrcString() string

func (*IPContainerProxyAddDel) GetMessageName

func (*IPContainerProxyAddDel) GetMessageName() string

func (*IPContainerProxyAddDel) GetMessageType

func (*IPContainerProxyAddDel) GetMessageType() api.MessageType

type IPContainerProxyAddDelReply

type IPContainerProxyAddDelReply struct {
	Retval int32
}

IPContainerProxyAddDelReply represents VPP binary API message 'ip_container_proxy_add_del_reply'.

func (*IPContainerProxyAddDelReply) GetCrcString

func (*IPContainerProxyAddDelReply) GetCrcString() string

func (*IPContainerProxyAddDelReply) GetMessageName

func (*IPContainerProxyAddDelReply) GetMessageName() string

func (*IPContainerProxyAddDelReply) GetMessageType

func (*IPContainerProxyAddDelReply) GetMessageType() api.MessageType

type IPContainerProxyDetails

type IPContainerProxyDetails struct {
	SwIfIndex uint32
	Prefix    Prefix
}

IPContainerProxyDetails represents VPP binary API message 'ip_container_proxy_details'.

func (*IPContainerProxyDetails) GetCrcString

func (*IPContainerProxyDetails) GetCrcString() string

func (*IPContainerProxyDetails) GetMessageName

func (*IPContainerProxyDetails) GetMessageName() string

func (*IPContainerProxyDetails) GetMessageType

func (*IPContainerProxyDetails) GetMessageType() api.MessageType

type IPContainerProxyDump

type IPContainerProxyDump struct{}

IPContainerProxyDump represents VPP binary API message 'ip_container_proxy_dump'.

func (*IPContainerProxyDump) GetCrcString

func (*IPContainerProxyDump) GetCrcString() string

func (*IPContainerProxyDump) GetMessageName

func (*IPContainerProxyDump) GetMessageName() string

func (*IPContainerProxyDump) GetMessageType

func (*IPContainerProxyDump) GetMessageType() api.MessageType

type IPDetails

type IPDetails struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

IPDetails represents VPP binary API message 'ip_details'.

func (*IPDetails) GetCrcString

func (*IPDetails) GetCrcString() string

func (*IPDetails) GetMessageName

func (*IPDetails) GetMessageName() string

func (*IPDetails) GetMessageType

func (*IPDetails) GetMessageType() api.MessageType

type IPDump

type IPDump struct {
	IsIPv6 uint8
}

IPDump represents VPP binary API message 'ip_dump'.

func (*IPDump) GetCrcString

func (*IPDump) GetCrcString() string

func (*IPDump) GetMessageName

func (*IPDump) GetMessageName() string

func (*IPDump) GetMessageType

func (*IPDump) GetMessageType() api.MessageType

type IPFibDetails

type IPFibDetails struct {
	TableID       uint32
	TableName     []byte `struc:"[64]byte"`
	AddressLength uint8
	Address       []byte `struc:"[4]byte"`
	Count         uint32 `struc:"sizeof=Path"`
	StatsIndex    uint32
	Path          []FibPath
}

IPFibDetails represents VPP binary API message 'ip_fib_details'.

func (*IPFibDetails) GetCrcString

func (*IPFibDetails) GetCrcString() string

func (*IPFibDetails) GetMessageName

func (*IPFibDetails) GetMessageName() string

func (*IPFibDetails) GetMessageType

func (*IPFibDetails) GetMessageType() api.MessageType

type IPFibDump

type IPFibDump struct{}

IPFibDump represents VPP binary API message 'ip_fib_dump'.

func (*IPFibDump) GetCrcString

func (*IPFibDump) GetCrcString() string

func (*IPFibDump) GetMessageName

func (*IPFibDump) GetMessageName() string

func (*IPFibDump) GetMessageType

func (*IPFibDump) GetMessageType() api.MessageType

type IPMfibDetails

type IPMfibDetails struct {
	TableID       uint32
	EntryFlags    uint32
	RpfID         uint32
	AddressLength uint8
	GrpAddress    []byte `struc:"[4]byte"`
	SrcAddress    []byte `struc:"[4]byte"`
	Count         uint32 `struc:"sizeof=Path"`
	StatsIndex    uint32
	Path          []MfibPath
}

IPMfibDetails represents VPP binary API message 'ip_mfib_details'.

func (*IPMfibDetails) GetCrcString

func (*IPMfibDetails) GetCrcString() string

func (*IPMfibDetails) GetMessageName

func (*IPMfibDetails) GetMessageName() string

func (*IPMfibDetails) GetMessageType

func (*IPMfibDetails) GetMessageType() api.MessageType

type IPMfibDump

type IPMfibDump struct{}

IPMfibDump represents VPP binary API message 'ip_mfib_dump'.

func (*IPMfibDump) GetCrcString

func (*IPMfibDump) GetCrcString() string

func (*IPMfibDump) GetMessageName

func (*IPMfibDump) GetMessageName() string

func (*IPMfibDump) GetMessageType

func (*IPMfibDump) GetMessageType() api.MessageType

type IPMrouteAddDel

type IPMrouteAddDel struct {
	NextHopSwIfIndex uint32
	TableID          uint32
	EntryFlags       uint32
	ItfFlags         uint32
	RpfID            uint32
	BierImp          uint32
	GrpAddressLength uint16
	NextHopAfi       uint8
	IsAdd            uint8
	IsIPv6           uint8
	IsLocal          uint8
	GrpAddress       []byte `struc:"[16]byte"`
	SrcAddress       []byte `struc:"[16]byte"`
	NhAddress        []byte `struc:"[16]byte"`
}

IPMrouteAddDel represents VPP binary API message 'ip_mroute_add_del'.

func (*IPMrouteAddDel) GetCrcString

func (*IPMrouteAddDel) GetCrcString() string

func (*IPMrouteAddDel) GetMessageName

func (*IPMrouteAddDel) GetMessageName() string

func (*IPMrouteAddDel) GetMessageType

func (*IPMrouteAddDel) GetMessageType() api.MessageType

type IPMrouteAddDelReply

type IPMrouteAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

IPMrouteAddDelReply represents VPP binary API message 'ip_mroute_add_del_reply'.

func (*IPMrouteAddDelReply) GetCrcString

func (*IPMrouteAddDelReply) GetCrcString() string

func (*IPMrouteAddDelReply) GetMessageName

func (*IPMrouteAddDelReply) GetMessageName() string

func (*IPMrouteAddDelReply) GetMessageType

func (*IPMrouteAddDelReply) GetMessageType() api.MessageType

type IPNeighbor

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

IPNeighbor represents VPP binary API type 'ip_neighbor'.

func (*IPNeighbor) GetCrcString

func (*IPNeighbor) GetCrcString() string

func (*IPNeighbor) GetTypeName

func (*IPNeighbor) GetTypeName() string

type IPNeighborAddDel

type IPNeighborAddDel struct {
	IsAdd    uint8
	Neighbor IPNeighbor
}

IPNeighborAddDel represents VPP binary API message 'ip_neighbor_add_del'.

func (*IPNeighborAddDel) GetCrcString

func (*IPNeighborAddDel) GetCrcString() string

func (*IPNeighborAddDel) GetMessageName

func (*IPNeighborAddDel) GetMessageName() string

func (*IPNeighborAddDel) GetMessageType

func (*IPNeighborAddDel) GetMessageType() api.MessageType

type IPNeighborAddDelReply

type IPNeighborAddDelReply struct {
	Retval     int32
	StatsIndex uint32
}

IPNeighborAddDelReply represents VPP binary API message 'ip_neighbor_add_del_reply'.

func (*IPNeighborAddDelReply) GetCrcString

func (*IPNeighborAddDelReply) GetCrcString() string

func (*IPNeighborAddDelReply) GetMessageName

func (*IPNeighborAddDelReply) GetMessageName() string

func (*IPNeighborAddDelReply) GetMessageType

func (*IPNeighborAddDelReply) GetMessageType() api.MessageType

type IPNeighborDetails

type IPNeighborDetails struct {
	Neighbor IPNeighbor
}

IPNeighborDetails represents VPP binary API message 'ip_neighbor_details'.

func (*IPNeighborDetails) GetCrcString

func (*IPNeighborDetails) GetCrcString() string

func (*IPNeighborDetails) GetMessageName

func (*IPNeighborDetails) GetMessageName() string

func (*IPNeighborDetails) GetMessageType

func (*IPNeighborDetails) GetMessageType() api.MessageType

type IPNeighborDump

type IPNeighborDump struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

IPNeighborDump represents VPP binary API message 'ip_neighbor_dump'.

func (*IPNeighborDump) GetCrcString

func (*IPNeighborDump) GetCrcString() string

func (*IPNeighborDump) GetMessageName

func (*IPNeighborDump) GetMessageName() string

func (*IPNeighborDump) GetMessageType

func (*IPNeighborDump) GetMessageType() api.MessageType

type IPNeighborFlags

type IPNeighborFlags uint32

IPNeighborFlags represents VPP binary API enum 'ip_neighbor_flags'.

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

func (IPNeighborFlags) String

func (x IPNeighborFlags) String() string

type IPProbeNeighbor

type IPProbeNeighbor struct {
	SwIfIndex uint32
	Dst       Address
}

IPProbeNeighbor represents VPP binary API message 'ip_probe_neighbor'.

func (*IPProbeNeighbor) GetCrcString

func (*IPProbeNeighbor) GetCrcString() string

func (*IPProbeNeighbor) GetMessageName

func (*IPProbeNeighbor) GetMessageName() string

func (*IPProbeNeighbor) GetMessageType

func (*IPProbeNeighbor) GetMessageType() api.MessageType

type IPProbeNeighborReply

type IPProbeNeighborReply struct {
	Retval int32
}

IPProbeNeighborReply represents VPP binary API message 'ip_probe_neighbor_reply'.

func (*IPProbeNeighborReply) GetCrcString

func (*IPProbeNeighborReply) GetCrcString() string

func (*IPProbeNeighborReply) GetMessageName

func (*IPProbeNeighborReply) GetMessageName() string

func (*IPProbeNeighborReply) GetMessageType

func (*IPProbeNeighborReply) GetMessageType() api.MessageType

type IPPuntPolice

type IPPuntPolice struct {
	PolicerIndex uint32
	IsAdd        uint8
	IsIP6        uint8
}

IPPuntPolice represents VPP binary API message 'ip_punt_police'.

func (*IPPuntPolice) GetCrcString

func (*IPPuntPolice) GetCrcString() string

func (*IPPuntPolice) GetMessageName

func (*IPPuntPolice) GetMessageName() string

func (*IPPuntPolice) GetMessageType

func (*IPPuntPolice) GetMessageType() api.MessageType

type IPPuntPoliceReply

type IPPuntPoliceReply struct {
	Retval int32
}

IPPuntPoliceReply represents VPP binary API message 'ip_punt_police_reply'.

func (*IPPuntPoliceReply) GetCrcString

func (*IPPuntPoliceReply) GetCrcString() string

func (*IPPuntPoliceReply) GetMessageName

func (*IPPuntPoliceReply) GetMessageName() string

func (*IPPuntPoliceReply) GetMessageType

func (*IPPuntPoliceReply) GetMessageType() api.MessageType

type IPPuntRedirect

type IPPuntRedirect struct {
	Punt  PuntRedirect
	IsAdd uint8
}

IPPuntRedirect represents VPP binary API message 'ip_punt_redirect'.

func (*IPPuntRedirect) GetCrcString

func (*IPPuntRedirect) GetCrcString() string

func (*IPPuntRedirect) GetMessageName

func (*IPPuntRedirect) GetMessageName() string

func (*IPPuntRedirect) GetMessageType

func (*IPPuntRedirect) GetMessageType() api.MessageType

type IPPuntRedirectDetails

type IPPuntRedirectDetails struct {
	Punt PuntRedirect
}

IPPuntRedirectDetails represents VPP binary API message 'ip_punt_redirect_details'.

func (*IPPuntRedirectDetails) GetCrcString

func (*IPPuntRedirectDetails) GetCrcString() string

func (*IPPuntRedirectDetails) GetMessageName

func (*IPPuntRedirectDetails) GetMessageName() string

func (*IPPuntRedirectDetails) GetMessageType

func (*IPPuntRedirectDetails) GetMessageType() api.MessageType

type IPPuntRedirectDump

type IPPuntRedirectDump struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

IPPuntRedirectDump represents VPP binary API message 'ip_punt_redirect_dump'.

func (*IPPuntRedirectDump) GetCrcString

func (*IPPuntRedirectDump) GetCrcString() string

func (*IPPuntRedirectDump) GetMessageName

func (*IPPuntRedirectDump) GetMessageName() string

func (*IPPuntRedirectDump) GetMessageType

func (*IPPuntRedirectDump) GetMessageType() api.MessageType

type IPPuntRedirectReply

type IPPuntRedirectReply struct {
	Retval int32
}

IPPuntRedirectReply represents VPP binary API message 'ip_punt_redirect_reply'.

func (*IPPuntRedirectReply) GetCrcString

func (*IPPuntRedirectReply) GetCrcString() string

func (*IPPuntRedirectReply) GetMessageName

func (*IPPuntRedirectReply) GetMessageName() string

func (*IPPuntRedirectReply) GetMessageType

func (*IPPuntRedirectReply) GetMessageType() api.MessageType

type IPReassemblyEnableDisable

type IPReassemblyEnableDisable struct {
	SwIfIndex uint32
	EnableIP4 uint8
	EnableIP6 uint8
}

IPReassemblyEnableDisable represents VPP binary API message 'ip_reassembly_enable_disable'.

func (*IPReassemblyEnableDisable) GetCrcString

func (*IPReassemblyEnableDisable) GetCrcString() string

func (*IPReassemblyEnableDisable) GetMessageName

func (*IPReassemblyEnableDisable) GetMessageName() string

func (*IPReassemblyEnableDisable) GetMessageType

func (*IPReassemblyEnableDisable) GetMessageType() api.MessageType

type IPReassemblyEnableDisableReply

type IPReassemblyEnableDisableReply struct {
	Retval int32
}

IPReassemblyEnableDisableReply represents VPP binary API message 'ip_reassembly_enable_disable_reply'.

func (*IPReassemblyEnableDisableReply) GetCrcString

func (*IPReassemblyEnableDisableReply) GetCrcString() string

func (*IPReassemblyEnableDisableReply) GetMessageName

func (*IPReassemblyEnableDisableReply) GetMessageName() string

func (*IPReassemblyEnableDisableReply) GetMessageType

type IPReassemblyGet

type IPReassemblyGet struct {
	IsIP6 uint8
}

IPReassemblyGet represents VPP binary API message 'ip_reassembly_get'.

func (*IPReassemblyGet) GetCrcString

func (*IPReassemblyGet) GetCrcString() string

func (*IPReassemblyGet) GetMessageName

func (*IPReassemblyGet) GetMessageName() string

func (*IPReassemblyGet) GetMessageType

func (*IPReassemblyGet) GetMessageType() api.MessageType

type IPReassemblyGetReply

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

IPReassemblyGetReply represents VPP binary API message 'ip_reassembly_get_reply'.

func (*IPReassemblyGetReply) GetCrcString

func (*IPReassemblyGetReply) GetCrcString() string

func (*IPReassemblyGetReply) GetMessageName

func (*IPReassemblyGetReply) GetMessageName() string

func (*IPReassemblyGetReply) GetMessageType

func (*IPReassemblyGetReply) GetMessageType() api.MessageType

type IPReassemblySet

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

IPReassemblySet represents VPP binary API message 'ip_reassembly_set'.

func (*IPReassemblySet) GetCrcString

func (*IPReassemblySet) GetCrcString() string

func (*IPReassemblySet) GetMessageName

func (*IPReassemblySet) GetMessageName() string

func (*IPReassemblySet) GetMessageType

func (*IPReassemblySet) GetMessageType() api.MessageType

type IPReassemblySetReply

type IPReassemblySetReply struct {
	Retval int32
}

IPReassemblySetReply represents VPP binary API message 'ip_reassembly_set_reply'.

func (*IPReassemblySetReply) GetCrcString

func (*IPReassemblySetReply) GetCrcString() string

func (*IPReassemblySetReply) GetMessageName

func (*IPReassemblySetReply) GetMessageName() string

func (*IPReassemblySetReply) GetMessageType

func (*IPReassemblySetReply) GetMessageType() api.MessageType

type IPScanNeighborEnableDisable

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

IPScanNeighborEnableDisable represents VPP binary API message 'ip_scan_neighbor_enable_disable'.

func (*IPScanNeighborEnableDisable) GetCrcString

func (*IPScanNeighborEnableDisable) GetCrcString() string

func (*IPScanNeighborEnableDisable) GetMessageName

func (*IPScanNeighborEnableDisable) GetMessageName() string

func (*IPScanNeighborEnableDisable) GetMessageType

func (*IPScanNeighborEnableDisable) GetMessageType() api.MessageType

type IPScanNeighborEnableDisableReply

type IPScanNeighborEnableDisableReply struct {
	Retval int32
}

IPScanNeighborEnableDisableReply represents VPP binary API message 'ip_scan_neighbor_enable_disable_reply'.

func (*IPScanNeighborEnableDisableReply) GetCrcString

func (*IPScanNeighborEnableDisableReply) GetCrcString() string

func (*IPScanNeighborEnableDisableReply) GetMessageName

func (*IPScanNeighborEnableDisableReply) GetMessageName() string

func (*IPScanNeighborEnableDisableReply) GetMessageType

type IPSourceAndPortRangeCheckAddDel

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

IPSourceAndPortRangeCheckAddDel represents VPP binary API message 'ip_source_and_port_range_check_add_del'.

func (*IPSourceAndPortRangeCheckAddDel) GetCrcString

func (*IPSourceAndPortRangeCheckAddDel) GetCrcString() string

func (*IPSourceAndPortRangeCheckAddDel) GetMessageName

func (*IPSourceAndPortRangeCheckAddDel) GetMessageName() string

func (*IPSourceAndPortRangeCheckAddDel) GetMessageType

type IPSourceAndPortRangeCheckAddDelReply

type IPSourceAndPortRangeCheckAddDelReply struct {
	Retval int32
}

IPSourceAndPortRangeCheckAddDelReply represents VPP binary API message 'ip_source_and_port_range_check_add_del_reply'.

func (*IPSourceAndPortRangeCheckAddDelReply) GetCrcString

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageName() string

func (*IPSourceAndPortRangeCheckAddDelReply) GetMessageType

type IPSourceAndPortRangeCheckInterfaceAddDel

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

IPSourceAndPortRangeCheckInterfaceAddDel represents VPP binary API message 'ip_source_and_port_range_check_interface_add_del'.

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetCrcString

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageName

func (*IPSourceAndPortRangeCheckInterfaceAddDel) GetMessageType

type IPSourceAndPortRangeCheckInterfaceAddDelReply

type IPSourceAndPortRangeCheckInterfaceAddDelReply struct {
	Retval int32
}

IPSourceAndPortRangeCheckInterfaceAddDelReply represents VPP binary API message 'ip_source_and_port_range_check_interface_add_del_reply'.

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetCrcString

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageName

func (*IPSourceAndPortRangeCheckInterfaceAddDelReply) GetMessageType

type IPSourceCheckInterfaceAddDel

type IPSourceCheckInterfaceAddDel struct {
	IsAdd     uint8
	Loose     uint8
	SwIfIndex uint32
}

IPSourceCheckInterfaceAddDel represents VPP binary API message 'ip_source_check_interface_add_del'.

func (*IPSourceCheckInterfaceAddDel) GetCrcString

func (*IPSourceCheckInterfaceAddDel) GetCrcString() string

func (*IPSourceCheckInterfaceAddDel) GetMessageName

func (*IPSourceCheckInterfaceAddDel) GetMessageName() string

func (*IPSourceCheckInterfaceAddDel) GetMessageType

func (*IPSourceCheckInterfaceAddDel) GetMessageType() api.MessageType

type IPSourceCheckInterfaceAddDelReply

type IPSourceCheckInterfaceAddDelReply struct {
	Retval int32
}

IPSourceCheckInterfaceAddDelReply represents VPP binary API message 'ip_source_check_interface_add_del_reply'.

func (*IPSourceCheckInterfaceAddDelReply) GetCrcString

func (*IPSourceCheckInterfaceAddDelReply) GetCrcString() string

func (*IPSourceCheckInterfaceAddDelReply) GetMessageName

func (*IPSourceCheckInterfaceAddDelReply) GetMessageName() string

func (*IPSourceCheckInterfaceAddDelReply) GetMessageType

type IPTableAddDel

type IPTableAddDel struct {
	TableID uint32
	IsIPv6  uint8
	IsAdd   uint8
	Name    []byte `struc:"[64]byte"`
}

IPTableAddDel represents VPP binary API message 'ip_table_add_del'.

func (*IPTableAddDel) GetCrcString

func (*IPTableAddDel) GetCrcString() string

func (*IPTableAddDel) GetMessageName

func (*IPTableAddDel) GetMessageName() string

func (*IPTableAddDel) GetMessageType

func (*IPTableAddDel) GetMessageType() api.MessageType

type IPTableAddDelReply

type IPTableAddDelReply struct {
	Retval int32
}

IPTableAddDelReply represents VPP binary API message 'ip_table_add_del_reply'.

func (*IPTableAddDelReply) GetCrcString

func (*IPTableAddDelReply) GetCrcString() string

func (*IPTableAddDelReply) GetMessageName

func (*IPTableAddDelReply) GetMessageName() string

func (*IPTableAddDelReply) GetMessageType

func (*IPTableAddDelReply) GetMessageType() api.MessageType

type IPUnnumberedDetails

type IPUnnumberedDetails struct {
	SwIfIndex   uint32
	IPSwIfIndex uint32
}

IPUnnumberedDetails represents VPP binary API message 'ip_unnumbered_details'.

func (*IPUnnumberedDetails) GetCrcString

func (*IPUnnumberedDetails) GetCrcString() string

func (*IPUnnumberedDetails) GetMessageName

func (*IPUnnumberedDetails) GetMessageName() string

func (*IPUnnumberedDetails) GetMessageType

func (*IPUnnumberedDetails) GetMessageType() api.MessageType

type IPUnnumberedDump

type IPUnnumberedDump struct {
	SwIfIndex uint32
}

IPUnnumberedDump represents VPP binary API message 'ip_unnumbered_dump'.

func (*IPUnnumberedDump) GetCrcString

func (*IPUnnumberedDump) GetCrcString() string

func (*IPUnnumberedDump) GetMessageName

func (*IPUnnumberedDump) GetMessageName() string

func (*IPUnnumberedDump) GetMessageType

func (*IPUnnumberedDump) GetMessageType() api.MessageType

type IoamDisable

type IoamDisable struct {
	ID uint16
}

IoamDisable represents VPP binary API message 'ioam_disable'.

func (*IoamDisable) GetCrcString

func (*IoamDisable) GetCrcString() string

func (*IoamDisable) GetMessageName

func (*IoamDisable) GetMessageName() string

func (*IoamDisable) GetMessageType

func (*IoamDisable) GetMessageType() api.MessageType

type IoamDisableReply

type IoamDisableReply struct {
	Retval int32
}

IoamDisableReply represents VPP binary API message 'ioam_disable_reply'.

func (*IoamDisableReply) GetCrcString

func (*IoamDisableReply) GetCrcString() string

func (*IoamDisableReply) GetMessageName

func (*IoamDisableReply) GetMessageName() string

func (*IoamDisableReply) GetMessageType

func (*IoamDisableReply) GetMessageType() api.MessageType

type IoamEnable

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

IoamEnable represents VPP binary API message 'ioam_enable'.

func (*IoamEnable) GetCrcString

func (*IoamEnable) GetCrcString() string

func (*IoamEnable) GetMessageName

func (*IoamEnable) GetMessageName() string

func (*IoamEnable) GetMessageType

func (*IoamEnable) GetMessageType() api.MessageType

type IoamEnableReply

type IoamEnableReply struct {
	Retval int32
}

IoamEnableReply represents VPP binary API message 'ioam_enable_reply'.

func (*IoamEnableReply) GetCrcString

func (*IoamEnableReply) GetCrcString() string

func (*IoamEnableReply) GetMessageName

func (*IoamEnableReply) GetMessageName() string

func (*IoamEnableReply) GetMessageType

func (*IoamEnableReply) GetMessageType() api.MessageType

type MacAddress

type MacAddress [6]uint8

MacAddress represents VPP binary API alias 'mac_address'.

type MfibPath

type MfibPath struct {
	Path     FibPath
	ItfFlags uint32
}

MfibPath represents VPP binary API type 'mfib_path'.

func (*MfibPath) GetCrcString

func (*MfibPath) GetCrcString() string

func (*MfibPath) GetTypeName

func (*MfibPath) GetTypeName() string

type MfibSignalDetails

type MfibSignalDetails struct {
	SwIfIndex     uint32
	TableID       uint32
	GrpAddressLen uint16
	GrpAddress    []byte `struc:"[16]byte"`
	SrcAddress    []byte `struc:"[16]byte"`
	IPPacketLen   uint16
	IPPacketData  []byte `struc:"[256]byte"`
}

MfibSignalDetails represents VPP binary API message 'mfib_signal_details'.

func (*MfibSignalDetails) GetCrcString

func (*MfibSignalDetails) GetCrcString() string

func (*MfibSignalDetails) GetMessageName

func (*MfibSignalDetails) GetMessageName() string

func (*MfibSignalDetails) GetMessageType

func (*MfibSignalDetails) GetMessageType() api.MessageType

type MfibSignalDump

type MfibSignalDump struct{}

MfibSignalDump represents VPP binary API message 'mfib_signal_dump'.

func (*MfibSignalDump) GetCrcString

func (*MfibSignalDump) GetCrcString() string

func (*MfibSignalDump) GetMessageName

func (*MfibSignalDump) GetMessageName() string

func (*MfibSignalDump) GetMessageType

func (*MfibSignalDump) GetMessageType() api.MessageType

type Mprefix

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

Mprefix represents VPP binary API type 'mprefix'.

func (*Mprefix) GetCrcString

func (*Mprefix) GetCrcString() string

func (*Mprefix) GetTypeName

func (*Mprefix) GetTypeName() string

type Prefix

type Prefix struct {
	Address       Address
	AddressLength uint8
}

Prefix represents VPP binary API type 'prefix'.

func (*Prefix) GetCrcString

func (*Prefix) GetCrcString() string

func (*Prefix) GetTypeName

func (*Prefix) GetTypeName() string

type ProxyArp

type ProxyArp struct {
	TableID uint32
	Low     IP4Address
	Hi      IP4Address
}

ProxyArp represents VPP binary API type 'proxy_arp'.

func (*ProxyArp) GetCrcString

func (*ProxyArp) GetCrcString() string

func (*ProxyArp) GetTypeName

func (*ProxyArp) GetTypeName() string

type ProxyArpAddDel

type ProxyArpAddDel struct {
	IsAdd uint8
	Proxy ProxyArp
}

ProxyArpAddDel represents VPP binary API message 'proxy_arp_add_del'.

func (*ProxyArpAddDel) GetCrcString

func (*ProxyArpAddDel) GetCrcString() string

func (*ProxyArpAddDel) GetMessageName

func (*ProxyArpAddDel) GetMessageName() string

func (*ProxyArpAddDel) GetMessageType

func (*ProxyArpAddDel) GetMessageType() api.MessageType

type ProxyArpAddDelReply

type ProxyArpAddDelReply struct {
	Retval int32
}

ProxyArpAddDelReply represents VPP binary API message 'proxy_arp_add_del_reply'.

func (*ProxyArpAddDelReply) GetCrcString

func (*ProxyArpAddDelReply) GetCrcString() string

func (*ProxyArpAddDelReply) GetMessageName

func (*ProxyArpAddDelReply) GetMessageName() string

func (*ProxyArpAddDelReply) GetMessageType

func (*ProxyArpAddDelReply) GetMessageType() api.MessageType

type ProxyArpDetails

type ProxyArpDetails struct {
	Proxy ProxyArp
}

ProxyArpDetails represents VPP binary API message 'proxy_arp_details'.

func (*ProxyArpDetails) GetCrcString

func (*ProxyArpDetails) GetCrcString() string

func (*ProxyArpDetails) GetMessageName

func (*ProxyArpDetails) GetMessageName() string

func (*ProxyArpDetails) GetMessageType

func (*ProxyArpDetails) GetMessageType() api.MessageType

type ProxyArpDump

type ProxyArpDump struct{}

ProxyArpDump represents VPP binary API message 'proxy_arp_dump'.

func (*ProxyArpDump) GetCrcString

func (*ProxyArpDump) GetCrcString() string

func (*ProxyArpDump) GetMessageName

func (*ProxyArpDump) GetMessageName() string

func (*ProxyArpDump) GetMessageType

func (*ProxyArpDump) GetMessageType() api.MessageType

type ProxyArpIntfcDetails

type ProxyArpIntfcDetails struct {
	SwIfIndex uint32
}

ProxyArpIntfcDetails represents VPP binary API message 'proxy_arp_intfc_details'.

func (*ProxyArpIntfcDetails) GetCrcString

func (*ProxyArpIntfcDetails) GetCrcString() string

func (*ProxyArpIntfcDetails) GetMessageName

func (*ProxyArpIntfcDetails) GetMessageName() string

func (*ProxyArpIntfcDetails) GetMessageType

func (*ProxyArpIntfcDetails) GetMessageType() api.MessageType

type ProxyArpIntfcDump

type ProxyArpIntfcDump struct{}

ProxyArpIntfcDump represents VPP binary API message 'proxy_arp_intfc_dump'.

func (*ProxyArpIntfcDump) GetCrcString

func (*ProxyArpIntfcDump) GetCrcString() string

func (*ProxyArpIntfcDump) GetMessageName

func (*ProxyArpIntfcDump) GetMessageName() string

func (*ProxyArpIntfcDump) GetMessageType

func (*ProxyArpIntfcDump) GetMessageType() api.MessageType

type ProxyArpIntfcEnableDisable

type ProxyArpIntfcEnableDisable struct {
	SwIfIndex     uint32
	EnableDisable uint8
}

ProxyArpIntfcEnableDisable represents VPP binary API message 'proxy_arp_intfc_enable_disable'.

func (*ProxyArpIntfcEnableDisable) GetCrcString

func (*ProxyArpIntfcEnableDisable) GetCrcString() string

func (*ProxyArpIntfcEnableDisable) GetMessageName

func (*ProxyArpIntfcEnableDisable) GetMessageName() string

func (*ProxyArpIntfcEnableDisable) GetMessageType

func (*ProxyArpIntfcEnableDisable) GetMessageType() api.MessageType

type ProxyArpIntfcEnableDisableReply

type ProxyArpIntfcEnableDisableReply struct {
	Retval int32
}

ProxyArpIntfcEnableDisableReply represents VPP binary API message 'proxy_arp_intfc_enable_disable_reply'.

func (*ProxyArpIntfcEnableDisableReply) GetCrcString

func (*ProxyArpIntfcEnableDisableReply) GetCrcString() string

func (*ProxyArpIntfcEnableDisableReply) GetMessageName

func (*ProxyArpIntfcEnableDisableReply) GetMessageName() string

func (*ProxyArpIntfcEnableDisableReply) GetMessageType

type PuntRedirect

type PuntRedirect struct {
	RxSwIfIndex uint32
	TxSwIfIndex uint32
	Nh          Address
}

PuntRedirect represents VPP binary API type 'punt_redirect'.

func (*PuntRedirect) GetCrcString

func (*PuntRedirect) GetCrcString() string

func (*PuntRedirect) GetTypeName

func (*PuntRedirect) GetTypeName() string

type RPCService

type RPCService interface {
	DumpIP6Fib(ctx context.Context, in *IP6FibDump) (RPCService_DumpIP6FibClient, error)
	DumpIP6Mfib(ctx context.Context, in *IP6MfibDump) (RPCService_DumpIP6MfibClient, error)
	DumpIP6ndProxy(ctx context.Context, in *IP6ndProxyDump) (RPCService_DumpIP6ndProxyClient, error)
	DumpIPAddress(ctx context.Context, in *IPAddressDump) (RPCService_DumpIPAddressClient, error)
	DumpIPContainerProxy(ctx context.Context, in *IPContainerProxyDump) (RPCService_DumpIPContainerProxyClient, error)
	DumpIP(ctx context.Context, in *IPDump) (RPCService_DumpIPClient, error)
	DumpIPFib(ctx context.Context, in *IPFibDump) (RPCService_DumpIPFibClient, error)
	DumpIPMfib(ctx context.Context, in *IPMfibDump) (RPCService_DumpIPMfibClient, error)
	DumpIPNeighbor(ctx context.Context, in *IPNeighborDump) (RPCService_DumpIPNeighborClient, error)
	DumpIPPuntRedirect(ctx context.Context, in *IPPuntRedirectDump) (RPCService_DumpIPPuntRedirectClient, error)
	DumpIPUnnumbered(ctx context.Context, in *IPUnnumberedDump) (RPCService_DumpIPUnnumberedClient, error)
	DumpMfibSignal(ctx context.Context, in *MfibSignalDump) (RPCService_DumpMfibSignalClient, error)
	DumpProxyArp(ctx context.Context, in *ProxyArpDump) (RPCService_DumpProxyArpClient, error)
	DumpProxyArpIntfc(ctx context.Context, in *ProxyArpIntfcDump) (RPCService_DumpProxyArpIntfcClient, error)
	IoamDisable(ctx context.Context, in *IoamDisable) (*IoamDisableReply, error)
	IoamEnable(ctx context.Context, in *IoamEnable) (*IoamEnableReply, error)
	IP6ndProxyAddDel(ctx context.Context, in *IP6ndProxyAddDel) (*IP6ndProxyAddDelReply, error)
	IP6ndSendRouterSolicitation(ctx context.Context, in *IP6ndSendRouterSolicitation) (*IP6ndSendRouterSolicitationReply, error)
	IPAddDelRoute(ctx context.Context, in *IPAddDelRoute) (*IPAddDelRouteReply, error)
	IPContainerProxyAddDel(ctx context.Context, in *IPContainerProxyAddDel) (*IPContainerProxyAddDelReply, error)
	IPMrouteAddDel(ctx context.Context, in *IPMrouteAddDel) (*IPMrouteAddDelReply, error)
	IPNeighborAddDel(ctx context.Context, in *IPNeighborAddDel) (*IPNeighborAddDelReply, error)
	IPProbeNeighbor(ctx context.Context, in *IPProbeNeighbor) (*IPProbeNeighborReply, error)
	IPPuntPolice(ctx context.Context, in *IPPuntPolice) (*IPPuntPoliceReply, error)
	IPPuntRedirect(ctx context.Context, in *IPPuntRedirect) (*IPPuntRedirectReply, error)
	IPReassemblyEnableDisable(ctx context.Context, in *IPReassemblyEnableDisable) (*IPReassemblyEnableDisableReply, error)
	IPReassemblyGet(ctx context.Context, in *IPReassemblyGet) (*IPReassemblyGetReply, error)
	IPReassemblySet(ctx context.Context, in *IPReassemblySet) (*IPReassemblySetReply, error)
	IPScanNeighborEnableDisable(ctx context.Context, in *IPScanNeighborEnableDisable) (*IPScanNeighborEnableDisableReply, error)
	IPSourceAndPortRangeCheckAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckAddDel) (*IPSourceAndPortRangeCheckAddDelReply, error)
	IPSourceAndPortRangeCheckInterfaceAddDel(ctx context.Context, in *IPSourceAndPortRangeCheckInterfaceAddDel) (*IPSourceAndPortRangeCheckInterfaceAddDelReply, error)
	IPSourceCheckInterfaceAddDel(ctx context.Context, in *IPSourceCheckInterfaceAddDel) (*IPSourceCheckInterfaceAddDelReply, error)
	IPTableAddDel(ctx context.Context, in *IPTableAddDel) (*IPTableAddDelReply, error)
	ProxyArpAddDel(ctx context.Context, in *ProxyArpAddDel) (*ProxyArpAddDelReply, error)
	ProxyArpIntfcEnableDisable(ctx context.Context, in *ProxyArpIntfcEnableDisable) (*ProxyArpIntfcEnableDisableReply, error)
	ResetFib(ctx context.Context, in *ResetFib) (*ResetFibReply, error)
	SetArpNeighborLimit(ctx context.Context, in *SetArpNeighborLimit) (*SetArpNeighborLimitReply, error)
	SetIPFlowHash(ctx context.Context, in *SetIPFlowHash) (*SetIPFlowHashReply, error)
	SwInterfaceIP6EnableDisable(ctx context.Context, in *SwInterfaceIP6EnableDisable) (*SwInterfaceIP6EnableDisableReply, error)
	SwInterfaceIP6ndRaConfig(ctx context.Context, in *SwInterfaceIP6ndRaConfig) (*SwInterfaceIP6ndRaConfigReply, error)
	SwInterfaceIP6ndRaPrefix(ctx context.Context, in *SwInterfaceIP6ndRaPrefix) (*SwInterfaceIP6ndRaPrefixReply, error)
	WantIP4ArpEvents(ctx context.Context, in *WantIP4ArpEvents) (*WantIP4ArpEventsReply, error)
	WantIP6NdEvents(ctx context.Context, in *WantIP6NdEvents) (*WantIP6NdEventsReply, error)
	WantIP6RaEvents(ctx context.Context, in *WantIP6RaEvents) (*WantIP6RaEventsReply, error)
}

RPCService represents RPC service API for ip module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpIP6FibClient

type RPCService_DumpIP6FibClient interface {
	Recv() (*IP6FibDetails, error)
}

type RPCService_DumpIP6MfibClient

type RPCService_DumpIP6MfibClient interface {
	Recv() (*IP6MfibDetails, error)
}

type RPCService_DumpIP6ndProxyClient

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

type RPCService_DumpIPAddressClient

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

type RPCService_DumpIPClient

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

type RPCService_DumpIPContainerProxyClient

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

type RPCService_DumpIPFibClient

type RPCService_DumpIPFibClient interface {
	Recv() (*IPFibDetails, error)
}

type RPCService_DumpIPMfibClient

type RPCService_DumpIPMfibClient interface {
	Recv() (*IPMfibDetails, error)
}

type RPCService_DumpIPNeighborClient

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

type RPCService_DumpIPPuntRedirectClient

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

type RPCService_DumpIPUnnumberedClient

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

type RPCService_DumpMfibSignalClient

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

type RPCService_DumpProxyArpClient

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

type RPCService_DumpProxyArpIntfcClient

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

type ResetFib

type ResetFib struct {
	VrfID  uint32
	IsIPv6 uint8
}

ResetFib represents VPP binary API message 'reset_fib'.

func (*ResetFib) GetCrcString

func (*ResetFib) GetCrcString() string

func (*ResetFib) GetMessageName

func (*ResetFib) GetMessageName() string

func (*ResetFib) GetMessageType

func (*ResetFib) GetMessageType() api.MessageType

type ResetFibReply

type ResetFibReply struct {
	Retval int32
}

ResetFibReply represents VPP binary API message 'reset_fib_reply'.

func (*ResetFibReply) GetCrcString

func (*ResetFibReply) GetCrcString() string

func (*ResetFibReply) GetMessageName

func (*ResetFibReply) GetMessageName() string

func (*ResetFibReply) GetMessageType

func (*ResetFibReply) GetMessageType() api.MessageType

type SetArpNeighborLimit

type SetArpNeighborLimit struct {
	IsIPv6           uint8
	ArpNeighborLimit uint32
}

SetArpNeighborLimit represents VPP binary API message 'set_arp_neighbor_limit'.

func (*SetArpNeighborLimit) GetCrcString

func (*SetArpNeighborLimit) GetCrcString() string

func (*SetArpNeighborLimit) GetMessageName

func (*SetArpNeighborLimit) GetMessageName() string

func (*SetArpNeighborLimit) GetMessageType

func (*SetArpNeighborLimit) GetMessageType() api.MessageType

type SetArpNeighborLimitReply

type SetArpNeighborLimitReply struct {
	Retval int32
}

SetArpNeighborLimitReply represents VPP binary API message 'set_arp_neighbor_limit_reply'.

func (*SetArpNeighborLimitReply) GetCrcString

func (*SetArpNeighborLimitReply) GetCrcString() string

func (*SetArpNeighborLimitReply) GetMessageName

func (*SetArpNeighborLimitReply) GetMessageName() string

func (*SetArpNeighborLimitReply) GetMessageType

func (*SetArpNeighborLimitReply) GetMessageType() api.MessageType

type SetIPFlowHash

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

SetIPFlowHash represents VPP binary API message 'set_ip_flow_hash'.

func (*SetIPFlowHash) GetCrcString

func (*SetIPFlowHash) GetCrcString() string

func (*SetIPFlowHash) GetMessageName

func (*SetIPFlowHash) GetMessageName() string

func (*SetIPFlowHash) GetMessageType

func (*SetIPFlowHash) GetMessageType() api.MessageType

type SetIPFlowHashReply

type SetIPFlowHashReply struct {
	Retval int32
}

SetIPFlowHashReply represents VPP binary API message 'set_ip_flow_hash_reply'.

func (*SetIPFlowHashReply) GetCrcString

func (*SetIPFlowHashReply) GetCrcString() string

func (*SetIPFlowHashReply) GetMessageName

func (*SetIPFlowHashReply) GetMessageName() string

func (*SetIPFlowHashReply) GetMessageType

func (*SetIPFlowHashReply) GetMessageType() api.MessageType

type SwInterfaceIP6EnableDisable

type SwInterfaceIP6EnableDisable struct {
	SwIfIndex uint32
	Enable    uint8
}

SwInterfaceIP6EnableDisable represents VPP binary API message 'sw_interface_ip6_enable_disable'.

func (*SwInterfaceIP6EnableDisable) GetCrcString

func (*SwInterfaceIP6EnableDisable) GetCrcString() string

func (*SwInterfaceIP6EnableDisable) GetMessageName

func (*SwInterfaceIP6EnableDisable) GetMessageName() string

func (*SwInterfaceIP6EnableDisable) GetMessageType

func (*SwInterfaceIP6EnableDisable) GetMessageType() api.MessageType

type SwInterfaceIP6EnableDisableReply

type SwInterfaceIP6EnableDisableReply struct {
	Retval int32
}

SwInterfaceIP6EnableDisableReply represents VPP binary API message 'sw_interface_ip6_enable_disable_reply'.

func (*SwInterfaceIP6EnableDisableReply) GetCrcString

func (*SwInterfaceIP6EnableDisableReply) GetCrcString() string

func (*SwInterfaceIP6EnableDisableReply) GetMessageName

func (*SwInterfaceIP6EnableDisableReply) GetMessageName() string

func (*SwInterfaceIP6EnableDisableReply) GetMessageType

type SwInterfaceIP6ndRaConfig

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

SwInterfaceIP6ndRaConfig represents VPP binary API message 'sw_interface_ip6nd_ra_config'.

func (*SwInterfaceIP6ndRaConfig) GetCrcString

func (*SwInterfaceIP6ndRaConfig) GetCrcString() string

func (*SwInterfaceIP6ndRaConfig) GetMessageName

func (*SwInterfaceIP6ndRaConfig) GetMessageName() string

func (*SwInterfaceIP6ndRaConfig) GetMessageType

func (*SwInterfaceIP6ndRaConfig) GetMessageType() api.MessageType

type SwInterfaceIP6ndRaConfigReply

type SwInterfaceIP6ndRaConfigReply struct {
	Retval int32
}

SwInterfaceIP6ndRaConfigReply represents VPP binary API message 'sw_interface_ip6nd_ra_config_reply'.

func (*SwInterfaceIP6ndRaConfigReply) GetCrcString

func (*SwInterfaceIP6ndRaConfigReply) GetCrcString() string

func (*SwInterfaceIP6ndRaConfigReply) GetMessageName

func (*SwInterfaceIP6ndRaConfigReply) GetMessageName() string

func (*SwInterfaceIP6ndRaConfigReply) GetMessageType

func (*SwInterfaceIP6ndRaConfigReply) GetMessageType() api.MessageType

type SwInterfaceIP6ndRaPrefix

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

SwInterfaceIP6ndRaPrefix represents VPP binary API message 'sw_interface_ip6nd_ra_prefix'.

func (*SwInterfaceIP6ndRaPrefix) GetCrcString

func (*SwInterfaceIP6ndRaPrefix) GetCrcString() string

func (*SwInterfaceIP6ndRaPrefix) GetMessageName

func (*SwInterfaceIP6ndRaPrefix) GetMessageName() string

func (*SwInterfaceIP6ndRaPrefix) GetMessageType

func (*SwInterfaceIP6ndRaPrefix) GetMessageType() api.MessageType

type SwInterfaceIP6ndRaPrefixReply

type SwInterfaceIP6ndRaPrefixReply struct {
	Retval int32
}

SwInterfaceIP6ndRaPrefixReply represents VPP binary API message 'sw_interface_ip6nd_ra_prefix_reply'.

func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString

func (*SwInterfaceIP6ndRaPrefixReply) GetCrcString() string

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageName() string

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType

func (*SwInterfaceIP6ndRaPrefixReply) GetMessageType() api.MessageType

type WantIP4ArpEvents

type WantIP4ArpEvents struct {
	EnableDisable uint8
	PID           uint32
	IP            IP4Address
}

WantIP4ArpEvents represents VPP binary API message 'want_ip4_arp_events'.

func (*WantIP4ArpEvents) GetCrcString

func (*WantIP4ArpEvents) GetCrcString() string

func (*WantIP4ArpEvents) GetMessageName

func (*WantIP4ArpEvents) GetMessageName() string

func (*WantIP4ArpEvents) GetMessageType

func (*WantIP4ArpEvents) GetMessageType() api.MessageType

type WantIP4ArpEventsReply

type WantIP4ArpEventsReply struct {
	Retval int32
}

WantIP4ArpEventsReply represents VPP binary API message 'want_ip4_arp_events_reply'.

func (*WantIP4ArpEventsReply) GetCrcString

func (*WantIP4ArpEventsReply) GetCrcString() string

func (*WantIP4ArpEventsReply) GetMessageName

func (*WantIP4ArpEventsReply) GetMessageName() string

func (*WantIP4ArpEventsReply) GetMessageType

func (*WantIP4ArpEventsReply) GetMessageType() api.MessageType

type WantIP6NdEvents

type WantIP6NdEvents struct {
	EnableDisable uint8
	PID           uint32
	IP            IP6Address
}

WantIP6NdEvents represents VPP binary API message 'want_ip6_nd_events'.

func (*WantIP6NdEvents) GetCrcString

func (*WantIP6NdEvents) GetCrcString() string

func (*WantIP6NdEvents) GetMessageName

func (*WantIP6NdEvents) GetMessageName() string

func (*WantIP6NdEvents) GetMessageType

func (*WantIP6NdEvents) GetMessageType() api.MessageType

type WantIP6NdEventsReply

type WantIP6NdEventsReply struct {
	Retval int32
}

WantIP6NdEventsReply represents VPP binary API message 'want_ip6_nd_events_reply'.

func (*WantIP6NdEventsReply) GetCrcString

func (*WantIP6NdEventsReply) GetCrcString() string

func (*WantIP6NdEventsReply) GetMessageName

func (*WantIP6NdEventsReply) GetMessageName() string

func (*WantIP6NdEventsReply) GetMessageType

func (*WantIP6NdEventsReply) GetMessageType() api.MessageType

type WantIP6RaEvents

type WantIP6RaEvents struct {
	EnableDisable uint8
	PID           uint32
}

WantIP6RaEvents represents VPP binary API message 'want_ip6_ra_events'.

func (*WantIP6RaEvents) GetCrcString

func (*WantIP6RaEvents) GetCrcString() string

func (*WantIP6RaEvents) GetMessageName

func (*WantIP6RaEvents) GetMessageName() string

func (*WantIP6RaEvents) GetMessageType

func (*WantIP6RaEvents) GetMessageType() api.MessageType

type WantIP6RaEventsReply

type WantIP6RaEventsReply struct {
	Retval int32
}

WantIP6RaEventsReply represents VPP binary API message 'want_ip6_ra_events_reply'.

func (*WantIP6RaEventsReply) GetCrcString

func (*WantIP6RaEventsReply) GetCrcString() string

func (*WantIP6RaEventsReply) GetMessageName

func (*WantIP6RaEventsReply) GetMessageName() string

func (*WantIP6RaEventsReply) GetMessageType

func (*WantIP6RaEventsReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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