interfaces

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package interfaces is a generated VPP binary API for 'interface' module.

It consists of:

10 enums
 7 aliases
 6 types
 1 union
53 messages
26 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "interface"
	// APIVersion is the API version of this module.
	APIVersion = "3.2.2"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xfebc3ffa
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Address added in v0.3.7

type Address = ip_types.Address

type AddressFamily added in v0.3.7

type AddressFamily = ip_types.AddressFamily

type AddressUnion added in v0.3.7

type AddressUnion = ip_types.AddressUnion

type AddressWithPrefix added in v0.3.7

type AddressWithPrefix = ip_types.AddressWithPrefix

type CollectDetailedInterfaceStats

type CollectDetailedInterfaceStats struct {
	SwIfIndex     InterfaceIndex
	EnableDisable bool
}

CollectDetailedInterfaceStats represents VPP binary API message 'collect_detailed_interface_stats'.

func (*CollectDetailedInterfaceStats) GetCrcString

func (*CollectDetailedInterfaceStats) GetCrcString() string

func (*CollectDetailedInterfaceStats) GetMessageName

func (*CollectDetailedInterfaceStats) GetMessageName() string

func (*CollectDetailedInterfaceStats) GetMessageType

func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType

func (*CollectDetailedInterfaceStats) Reset added in v0.3.7

func (m *CollectDetailedInterfaceStats) Reset()

type CollectDetailedInterfaceStatsReply

type CollectDetailedInterfaceStatsReply struct {
	Retval int32
}

CollectDetailedInterfaceStatsReply represents VPP binary API message 'collect_detailed_interface_stats_reply'.

func (*CollectDetailedInterfaceStatsReply) GetCrcString

func (*CollectDetailedInterfaceStatsReply) GetMessageName

func (*CollectDetailedInterfaceStatsReply) GetMessageName() string

func (*CollectDetailedInterfaceStatsReply) GetMessageType

func (*CollectDetailedInterfaceStatsReply) Reset added in v0.3.7

type CreateLoopback

type CreateLoopback struct {
	MacAddress MacAddress
}

CreateLoopback represents VPP binary API message 'create_loopback'.

func (*CreateLoopback) GetCrcString

func (*CreateLoopback) GetCrcString() string

func (*CreateLoopback) GetMessageName

func (*CreateLoopback) GetMessageName() string

func (*CreateLoopback) GetMessageType

func (*CreateLoopback) GetMessageType() api.MessageType

func (*CreateLoopback) Reset added in v0.3.7

func (m *CreateLoopback) Reset()

type CreateLoopbackInstance

type CreateLoopbackInstance struct {
	MacAddress   MacAddress
	IsSpecified  bool
	UserInstance uint32
}

CreateLoopbackInstance represents VPP binary API message 'create_loopback_instance'.

func (*CreateLoopbackInstance) GetCrcString

func (*CreateLoopbackInstance) GetCrcString() string

func (*CreateLoopbackInstance) GetMessageName

func (*CreateLoopbackInstance) GetMessageName() string

func (*CreateLoopbackInstance) GetMessageType

func (*CreateLoopbackInstance) GetMessageType() api.MessageType

func (*CreateLoopbackInstance) Reset added in v0.3.7

func (m *CreateLoopbackInstance) Reset()

type CreateLoopbackInstanceReply

type CreateLoopbackInstanceReply struct {
	Retval    int32
	SwIfIndex InterfaceIndex
}

CreateLoopbackInstanceReply represents VPP binary API message 'create_loopback_instance_reply'.

func (*CreateLoopbackInstanceReply) GetCrcString

func (*CreateLoopbackInstanceReply) GetCrcString() string

func (*CreateLoopbackInstanceReply) GetMessageName

func (*CreateLoopbackInstanceReply) GetMessageName() string

func (*CreateLoopbackInstanceReply) GetMessageType

func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType

func (*CreateLoopbackInstanceReply) Reset added in v0.3.7

func (m *CreateLoopbackInstanceReply) Reset()

type CreateLoopbackReply

type CreateLoopbackReply struct {
	Retval    int32
	SwIfIndex InterfaceIndex
}

CreateLoopbackReply represents VPP binary API message 'create_loopback_reply'.

func (*CreateLoopbackReply) GetCrcString

func (*CreateLoopbackReply) GetCrcString() string

func (*CreateLoopbackReply) GetMessageName

func (*CreateLoopbackReply) GetMessageName() string

func (*CreateLoopbackReply) GetMessageType

func (*CreateLoopbackReply) GetMessageType() api.MessageType

func (*CreateLoopbackReply) Reset added in v0.3.7

func (m *CreateLoopbackReply) Reset()

type CreateSubif

type CreateSubif struct {
	SwIfIndex   InterfaceIndex
	SubID       uint32
	SubIfFlags  SubIfFlags
	OuterVlanID uint16
	InnerVlanID uint16
}

CreateSubif represents VPP binary API message 'create_subif'.

func (*CreateSubif) GetCrcString

func (*CreateSubif) GetCrcString() string

func (*CreateSubif) GetMessageName

func (*CreateSubif) GetMessageName() string

func (*CreateSubif) GetMessageType

func (*CreateSubif) GetMessageType() api.MessageType

func (*CreateSubif) Reset added in v0.3.7

func (m *CreateSubif) Reset()

type CreateSubifReply

type CreateSubifReply struct {
	Retval    int32
	SwIfIndex InterfaceIndex
}

CreateSubifReply represents VPP binary API message 'create_subif_reply'.

func (*CreateSubifReply) GetCrcString

func (*CreateSubifReply) GetCrcString() string

func (*CreateSubifReply) GetMessageName

func (*CreateSubifReply) GetMessageName() string

func (*CreateSubifReply) GetMessageType

func (*CreateSubifReply) GetMessageType() api.MessageType

func (*CreateSubifReply) Reset added in v0.3.7

func (m *CreateSubifReply) Reset()

type CreateVlanSubif

type CreateVlanSubif struct {
	SwIfIndex InterfaceIndex
	VlanID    uint32
}

CreateVlanSubif represents VPP binary API message 'create_vlan_subif'.

func (*CreateVlanSubif) GetCrcString

func (*CreateVlanSubif) GetCrcString() string

func (*CreateVlanSubif) GetMessageName

func (*CreateVlanSubif) GetMessageName() string

func (*CreateVlanSubif) GetMessageType

func (*CreateVlanSubif) GetMessageType() api.MessageType

func (*CreateVlanSubif) Reset added in v0.3.7

func (m *CreateVlanSubif) Reset()

type CreateVlanSubifReply

type CreateVlanSubifReply struct {
	Retval    int32
	SwIfIndex InterfaceIndex
}

CreateVlanSubifReply represents VPP binary API message 'create_vlan_subif_reply'.

func (*CreateVlanSubifReply) GetCrcString

func (*CreateVlanSubifReply) GetCrcString() string

func (*CreateVlanSubifReply) GetMessageName

func (*CreateVlanSubifReply) GetMessageName() string

func (*CreateVlanSubifReply) GetMessageType

func (*CreateVlanSubifReply) GetMessageType() api.MessageType

func (*CreateVlanSubifReply) Reset added in v0.3.7

func (m *CreateVlanSubifReply) Reset()

type DeleteLoopback

type DeleteLoopback struct {
	SwIfIndex InterfaceIndex
}

DeleteLoopback represents VPP binary API message 'delete_loopback'.

func (*DeleteLoopback) GetCrcString

func (*DeleteLoopback) GetCrcString() string

func (*DeleteLoopback) GetMessageName

func (*DeleteLoopback) GetMessageName() string

func (*DeleteLoopback) GetMessageType

func (*DeleteLoopback) GetMessageType() api.MessageType

func (*DeleteLoopback) Reset added in v0.3.7

func (m *DeleteLoopback) Reset()

type DeleteLoopbackReply

type DeleteLoopbackReply struct {
	Retval int32
}

DeleteLoopbackReply represents VPP binary API message 'delete_loopback_reply'.

func (*DeleteLoopbackReply) GetCrcString

func (*DeleteLoopbackReply) GetCrcString() string

func (*DeleteLoopbackReply) GetMessageName

func (*DeleteLoopbackReply) GetMessageName() string

func (*DeleteLoopbackReply) GetMessageType

func (*DeleteLoopbackReply) GetMessageType() api.MessageType

func (*DeleteLoopbackReply) Reset added in v0.3.7

func (m *DeleteLoopbackReply) Reset()

type DeleteSubif

type DeleteSubif struct {
	SwIfIndex InterfaceIndex
}

DeleteSubif represents VPP binary API message 'delete_subif'.

func (*DeleteSubif) GetCrcString

func (*DeleteSubif) GetCrcString() string

func (*DeleteSubif) GetMessageName

func (*DeleteSubif) GetMessageName() string

func (*DeleteSubif) GetMessageType

func (*DeleteSubif) GetMessageType() api.MessageType

func (*DeleteSubif) Reset added in v0.3.7

func (m *DeleteSubif) Reset()

type DeleteSubifReply

type DeleteSubifReply struct {
	Retval int32
}

DeleteSubifReply represents VPP binary API message 'delete_subif_reply'.

func (*DeleteSubifReply) GetCrcString

func (*DeleteSubifReply) GetCrcString() string

func (*DeleteSubifReply) GetMessageName

func (*DeleteSubifReply) GetMessageName() string

func (*DeleteSubifReply) GetMessageType

func (*DeleteSubifReply) GetMessageType() api.MessageType

func (*DeleteSubifReply) Reset added in v0.3.7

func (m *DeleteSubifReply) Reset()

type HwInterfaceSetMtu

type HwInterfaceSetMtu struct {
	SwIfIndex InterfaceIndex
	Mtu       uint16
}

HwInterfaceSetMtu represents VPP binary API message 'hw_interface_set_mtu'.

func (*HwInterfaceSetMtu) GetCrcString

func (*HwInterfaceSetMtu) GetCrcString() string

func (*HwInterfaceSetMtu) GetMessageName

func (*HwInterfaceSetMtu) GetMessageName() string

func (*HwInterfaceSetMtu) GetMessageType

func (*HwInterfaceSetMtu) GetMessageType() api.MessageType

func (*HwInterfaceSetMtu) Reset added in v0.3.7

func (m *HwInterfaceSetMtu) Reset()

type HwInterfaceSetMtuReply

type HwInterfaceSetMtuReply struct {
	Retval int32
}

HwInterfaceSetMtuReply represents VPP binary API message 'hw_interface_set_mtu_reply'.

func (*HwInterfaceSetMtuReply) GetCrcString

func (*HwInterfaceSetMtuReply) GetCrcString() string

func (*HwInterfaceSetMtuReply) GetMessageName

func (*HwInterfaceSetMtuReply) GetMessageName() string

func (*HwInterfaceSetMtuReply) GetMessageType

func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType

func (*HwInterfaceSetMtuReply) Reset added in v0.3.7

func (m *HwInterfaceSetMtuReply) Reset()

type IP4Address added in v0.3.7

type IP4Address = ip_types.IP4Address

type IP4AddressWithPrefix added in v0.3.7

type IP4AddressWithPrefix = ip_types.IP4AddressWithPrefix

type IP4Prefix added in v0.3.7

type IP4Prefix = ip_types.IP4Prefix

type IP6Address added in v0.3.7

type IP6Address = ip_types.IP6Address

type IP6AddressWithPrefix added in v0.3.7

type IP6AddressWithPrefix = ip_types.IP6AddressWithPrefix

type IP6Prefix added in v0.3.7

type IP6Prefix = ip_types.IP6Prefix

type IPDscp added in v0.3.7

type IPDscp = ip_types.IPDscp

type IPEcn added in v0.3.7

type IPEcn = ip_types.IPEcn

type IPProto added in v0.3.7

type IPProto = ip_types.IPProto

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

type InterfaceIndex = interface_types.InterfaceIndex

type InterfaceNameRenumber

type InterfaceNameRenumber struct {
	SwIfIndex          InterfaceIndex
	NewShowDevInstance uint32
}

InterfaceNameRenumber represents VPP binary API message 'interface_name_renumber'.

func (*InterfaceNameRenumber) GetCrcString

func (*InterfaceNameRenumber) GetCrcString() string

func (*InterfaceNameRenumber) GetMessageName

func (*InterfaceNameRenumber) GetMessageName() string

func (*InterfaceNameRenumber) GetMessageType

func (*InterfaceNameRenumber) GetMessageType() api.MessageType

func (*InterfaceNameRenumber) Reset added in v0.3.7

func (m *InterfaceNameRenumber) Reset()

type InterfaceNameRenumberReply

type InterfaceNameRenumberReply struct {
	Retval int32
}

InterfaceNameRenumberReply represents VPP binary API message 'interface_name_renumber_reply'.

func (*InterfaceNameRenumberReply) GetCrcString

func (*InterfaceNameRenumberReply) GetCrcString() string

func (*InterfaceNameRenumberReply) GetMessageName

func (*InterfaceNameRenumberReply) GetMessageName() string

func (*InterfaceNameRenumberReply) GetMessageType

func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType

func (*InterfaceNameRenumberReply) Reset added in v0.3.7

func (m *InterfaceNameRenumberReply) Reset()

type LinkDuplex added in v0.3.7

type LinkDuplex = interface_types.LinkDuplex

type MacAddress added in v0.3.7

type MacAddress = ethernet_types.MacAddress

type Mprefix added in v0.3.7

type Mprefix = ip_types.Mprefix

type MtuProto added in v0.3.7

type MtuProto = interface_types.MtuProto

type Prefix added in v0.3.7

type Prefix = ip_types.Prefix

type PrefixMatcher added in v0.3.7

type PrefixMatcher = ip_types.PrefixMatcher

type RPCService

type RPCService interface {
	DumpSwInterface(ctx context.Context, in *SwInterfaceDump) (RPCService_DumpSwInterfaceClient, error)
	DumpSwInterfaceRxPlacement(ctx context.Context, in *SwInterfaceRxPlacementDump) (RPCService_DumpSwInterfaceRxPlacementClient, error)
	CollectDetailedInterfaceStats(ctx context.Context, in *CollectDetailedInterfaceStats) (*CollectDetailedInterfaceStatsReply, error)
	CreateLoopback(ctx context.Context, in *CreateLoopback) (*CreateLoopbackReply, error)
	CreateLoopbackInstance(ctx context.Context, in *CreateLoopbackInstance) (*CreateLoopbackInstanceReply, error)
	CreateSubif(ctx context.Context, in *CreateSubif) (*CreateSubifReply, error)
	CreateVlanSubif(ctx context.Context, in *CreateVlanSubif) (*CreateVlanSubifReply, error)
	DeleteLoopback(ctx context.Context, in *DeleteLoopback) (*DeleteLoopbackReply, error)
	DeleteSubif(ctx context.Context, in *DeleteSubif) (*DeleteSubifReply, error)
	HwInterfaceSetMtu(ctx context.Context, in *HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error)
	InterfaceNameRenumber(ctx context.Context, in *InterfaceNameRenumber) (*InterfaceNameRenumberReply, error)
	SwInterfaceAddDelAddress(ctx context.Context, in *SwInterfaceAddDelAddress) (*SwInterfaceAddDelAddressReply, error)
	SwInterfaceAddDelMacAddress(ctx context.Context, in *SwInterfaceAddDelMacAddress) (*SwInterfaceAddDelMacAddressReply, error)
	SwInterfaceClearStats(ctx context.Context, in *SwInterfaceClearStats) (*SwInterfaceClearStatsReply, error)
	SwInterfaceGetMacAddress(ctx context.Context, in *SwInterfaceGetMacAddress) (*SwInterfaceGetMacAddressReply, error)
	SwInterfaceGetTable(ctx context.Context, in *SwInterfaceGetTable) (*SwInterfaceGetTableReply, error)
	SwInterfaceSetFlags(ctx context.Context, in *SwInterfaceSetFlags) (*SwInterfaceSetFlagsReply, error)
	SwInterfaceSetIPDirectedBroadcast(ctx context.Context, in *SwInterfaceSetIPDirectedBroadcast) (*SwInterfaceSetIPDirectedBroadcastReply, error)
	SwInterfaceSetMacAddress(ctx context.Context, in *SwInterfaceSetMacAddress) (*SwInterfaceSetMacAddressReply, error)
	SwInterfaceSetMtu(ctx context.Context, in *SwInterfaceSetMtu) (*SwInterfaceSetMtuReply, error)
	SwInterfaceSetRxMode(ctx context.Context, in *SwInterfaceSetRxMode) (*SwInterfaceSetRxModeReply, error)
	SwInterfaceSetRxPlacement(ctx context.Context, in *SwInterfaceSetRxPlacement) (*SwInterfaceSetRxPlacementReply, error)
	SwInterfaceSetTable(ctx context.Context, in *SwInterfaceSetTable) (*SwInterfaceSetTableReply, error)
	SwInterfaceSetUnnumbered(ctx context.Context, in *SwInterfaceSetUnnumbered) (*SwInterfaceSetUnnumberedReply, error)
	SwInterfaceTagAddDel(ctx context.Context, in *SwInterfaceTagAddDel) (*SwInterfaceTagAddDelReply, error)
	WantInterfaceEvents(ctx context.Context, in *WantInterfaceEvents) (*WantInterfaceEventsReply, error)
}

RPCService represents RPC service API for interface module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpSwInterfaceClient

type RPCService_DumpSwInterfaceClient interface {
	Recv() (*SwInterfaceDetails, error)
}

type RPCService_DumpSwInterfaceRxPlacementClient

type RPCService_DumpSwInterfaceRxPlacementClient interface {
	Recv() (*SwInterfaceRxPlacementDetails, error)
}

type RxMode added in v0.3.7

type RxMode = interface_types.RxMode

type SubIfFlags added in v0.3.7

type SubIfFlags = interface_types.SubIfFlags

type SwInterfaceAddDelAddress

type SwInterfaceAddDelAddress struct {
	SwIfIndex InterfaceIndex
	IsAdd     bool
	DelAll    bool
	Prefix    AddressWithPrefix
}

SwInterfaceAddDelAddress represents VPP binary API message 'sw_interface_add_del_address'.

func (*SwInterfaceAddDelAddress) GetCrcString

func (*SwInterfaceAddDelAddress) GetCrcString() string

func (*SwInterfaceAddDelAddress) GetMessageName

func (*SwInterfaceAddDelAddress) GetMessageName() string

func (*SwInterfaceAddDelAddress) GetMessageType

func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType

func (*SwInterfaceAddDelAddress) Reset added in v0.3.7

func (m *SwInterfaceAddDelAddress) Reset()

type SwInterfaceAddDelAddressReply

type SwInterfaceAddDelAddressReply struct {
	Retval int32
}

SwInterfaceAddDelAddressReply represents VPP binary API message 'sw_interface_add_del_address_reply'.

func (*SwInterfaceAddDelAddressReply) GetCrcString

func (*SwInterfaceAddDelAddressReply) GetCrcString() string

func (*SwInterfaceAddDelAddressReply) GetMessageName

func (*SwInterfaceAddDelAddressReply) GetMessageName() string

func (*SwInterfaceAddDelAddressReply) GetMessageType

func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType

func (*SwInterfaceAddDelAddressReply) Reset added in v0.3.7

func (m *SwInterfaceAddDelAddressReply) Reset()

type SwInterfaceAddDelMacAddress added in v0.3.7

type SwInterfaceAddDelMacAddress struct {
	SwIfIndex uint32
	Addr      MacAddress
	IsAdd     uint8
}

SwInterfaceAddDelMacAddress represents VPP binary API message 'sw_interface_add_del_mac_address'.

func (*SwInterfaceAddDelMacAddress) GetCrcString added in v0.3.7

func (*SwInterfaceAddDelMacAddress) GetCrcString() string

func (*SwInterfaceAddDelMacAddress) GetMessageName added in v0.3.7

func (*SwInterfaceAddDelMacAddress) GetMessageName() string

func (*SwInterfaceAddDelMacAddress) GetMessageType added in v0.3.7

func (*SwInterfaceAddDelMacAddress) GetMessageType() api.MessageType

func (*SwInterfaceAddDelMacAddress) Reset added in v0.3.7

func (m *SwInterfaceAddDelMacAddress) Reset()

type SwInterfaceAddDelMacAddressReply added in v0.3.7

type SwInterfaceAddDelMacAddressReply struct {
	Retval int32
}

SwInterfaceAddDelMacAddressReply represents VPP binary API message 'sw_interface_add_del_mac_address_reply'.

func (*SwInterfaceAddDelMacAddressReply) GetCrcString added in v0.3.7

func (*SwInterfaceAddDelMacAddressReply) GetCrcString() string

func (*SwInterfaceAddDelMacAddressReply) GetMessageName added in v0.3.7

func (*SwInterfaceAddDelMacAddressReply) GetMessageName() string

func (*SwInterfaceAddDelMacAddressReply) GetMessageType added in v0.3.7

func (*SwInterfaceAddDelMacAddressReply) Reset added in v0.3.7

type SwInterfaceClearStats

type SwInterfaceClearStats struct {
	SwIfIndex InterfaceIndex
}

SwInterfaceClearStats represents VPP binary API message 'sw_interface_clear_stats'.

func (*SwInterfaceClearStats) GetCrcString

func (*SwInterfaceClearStats) GetCrcString() string

func (*SwInterfaceClearStats) GetMessageName

func (*SwInterfaceClearStats) GetMessageName() string

func (*SwInterfaceClearStats) GetMessageType

func (*SwInterfaceClearStats) GetMessageType() api.MessageType

func (*SwInterfaceClearStats) Reset added in v0.3.7

func (m *SwInterfaceClearStats) Reset()

type SwInterfaceClearStatsReply

type SwInterfaceClearStatsReply struct {
	Retval int32
}

SwInterfaceClearStatsReply represents VPP binary API message 'sw_interface_clear_stats_reply'.

func (*SwInterfaceClearStatsReply) GetCrcString

func (*SwInterfaceClearStatsReply) GetCrcString() string

func (*SwInterfaceClearStatsReply) GetMessageName

func (*SwInterfaceClearStatsReply) GetMessageName() string

func (*SwInterfaceClearStatsReply) GetMessageType

func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType

func (*SwInterfaceClearStatsReply) Reset added in v0.3.7

func (m *SwInterfaceClearStatsReply) Reset()

type SwInterfaceDetails

type SwInterfaceDetails struct {
	SwIfIndex        InterfaceIndex
	SupSwIfIndex     uint32
	L2Address        MacAddress
	Flags            IfStatusFlags
	Type             IfType
	LinkDuplex       LinkDuplex
	LinkSpeed        uint32
	LinkMtu          uint16
	Mtu              []uint32 `struc:"[4]uint32"`
	SubID            uint32
	SubNumberOfTags  uint8
	SubOuterVlanID   uint16
	SubInnerVlanID   uint16
	SubIfFlags       SubIfFlags
	VtrOp            uint32
	VtrPushDot1q     uint32
	VtrTag1          uint32
	VtrTag2          uint32
	OuterTag         uint16
	BDmac            MacAddress
	BSmac            MacAddress
	BVlanid          uint16
	ISid             uint32
	InterfaceName    string `struc:"[64]byte"`
	InterfaceDevType string `struc:"[64]byte"`
	Tag              string `struc:"[64]byte"`
}

SwInterfaceDetails represents VPP binary API message 'sw_interface_details'.

func (*SwInterfaceDetails) GetCrcString

func (*SwInterfaceDetails) GetCrcString() string

func (*SwInterfaceDetails) GetMessageName

func (*SwInterfaceDetails) GetMessageName() string

func (*SwInterfaceDetails) GetMessageType

func (*SwInterfaceDetails) GetMessageType() api.MessageType

func (*SwInterfaceDetails) Reset added in v0.3.7

func (m *SwInterfaceDetails) Reset()

type SwInterfaceDump

type SwInterfaceDump struct {
	SwIfIndex         InterfaceIndex
	NameFilterValid   bool
	XXX_NameFilterLen uint32 `struc:"sizeof=NameFilter"`
	NameFilter        string
}

SwInterfaceDump represents VPP binary API message 'sw_interface_dump'.

func (*SwInterfaceDump) GetCrcString

func (*SwInterfaceDump) GetCrcString() string

func (*SwInterfaceDump) GetMessageName

func (*SwInterfaceDump) GetMessageName() string

func (*SwInterfaceDump) GetMessageType

func (*SwInterfaceDump) GetMessageType() api.MessageType

func (*SwInterfaceDump) Reset added in v0.3.7

func (m *SwInterfaceDump) Reset()

type SwInterfaceEvent

type SwInterfaceEvent struct {
	PID       uint32
	SwIfIndex InterfaceIndex
	Flags     IfStatusFlags
	Deleted   bool
}

SwInterfaceEvent represents VPP binary API message 'sw_interface_event'.

func (*SwInterfaceEvent) GetCrcString

func (*SwInterfaceEvent) GetCrcString() string

func (*SwInterfaceEvent) GetMessageName

func (*SwInterfaceEvent) GetMessageName() string

func (*SwInterfaceEvent) GetMessageType

func (*SwInterfaceEvent) GetMessageType() api.MessageType

func (*SwInterfaceEvent) Reset added in v0.3.7

func (m *SwInterfaceEvent) Reset()

type SwInterfaceGetMacAddress

type SwInterfaceGetMacAddress struct {
	SwIfIndex InterfaceIndex
}

SwInterfaceGetMacAddress represents VPP binary API message 'sw_interface_get_mac_address'.

func (*SwInterfaceGetMacAddress) GetCrcString

func (*SwInterfaceGetMacAddress) GetCrcString() string

func (*SwInterfaceGetMacAddress) GetMessageName

func (*SwInterfaceGetMacAddress) GetMessageName() string

func (*SwInterfaceGetMacAddress) GetMessageType

func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType

func (*SwInterfaceGetMacAddress) Reset added in v0.3.7

func (m *SwInterfaceGetMacAddress) Reset()

type SwInterfaceGetMacAddressReply

type SwInterfaceGetMacAddressReply struct {
	Retval     int32
	MacAddress MacAddress
}

SwInterfaceGetMacAddressReply represents VPP binary API message 'sw_interface_get_mac_address_reply'.

func (*SwInterfaceGetMacAddressReply) GetCrcString

func (*SwInterfaceGetMacAddressReply) GetCrcString() string

func (*SwInterfaceGetMacAddressReply) GetMessageName

func (*SwInterfaceGetMacAddressReply) GetMessageName() string

func (*SwInterfaceGetMacAddressReply) GetMessageType

func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType

func (*SwInterfaceGetMacAddressReply) Reset added in v0.3.7

func (m *SwInterfaceGetMacAddressReply) Reset()

type SwInterfaceGetTable

type SwInterfaceGetTable struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
}

SwInterfaceGetTable represents VPP binary API message 'sw_interface_get_table'.

func (*SwInterfaceGetTable) GetCrcString

func (*SwInterfaceGetTable) GetCrcString() string

func (*SwInterfaceGetTable) GetMessageName

func (*SwInterfaceGetTable) GetMessageName() string

func (*SwInterfaceGetTable) GetMessageType

func (*SwInterfaceGetTable) GetMessageType() api.MessageType

func (*SwInterfaceGetTable) Reset added in v0.3.7

func (m *SwInterfaceGetTable) Reset()

type SwInterfaceGetTableReply

type SwInterfaceGetTableReply struct {
	Retval int32
	VrfID  uint32
}

SwInterfaceGetTableReply represents VPP binary API message 'sw_interface_get_table_reply'.

func (*SwInterfaceGetTableReply) GetCrcString

func (*SwInterfaceGetTableReply) GetCrcString() string

func (*SwInterfaceGetTableReply) GetMessageName

func (*SwInterfaceGetTableReply) GetMessageName() string

func (*SwInterfaceGetTableReply) GetMessageType

func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType

func (*SwInterfaceGetTableReply) Reset added in v0.3.7

func (m *SwInterfaceGetTableReply) Reset()

type SwInterfaceRxPlacementDetails

type SwInterfaceRxPlacementDetails struct {
	SwIfIndex InterfaceIndex
	QueueID   uint32
	WorkerID  uint32
	Mode      RxMode
}

SwInterfaceRxPlacementDetails represents VPP binary API message 'sw_interface_rx_placement_details'.

func (*SwInterfaceRxPlacementDetails) GetCrcString

func (*SwInterfaceRxPlacementDetails) GetCrcString() string

func (*SwInterfaceRxPlacementDetails) GetMessageName

func (*SwInterfaceRxPlacementDetails) GetMessageName() string

func (*SwInterfaceRxPlacementDetails) GetMessageType

func (*SwInterfaceRxPlacementDetails) GetMessageType() api.MessageType

func (*SwInterfaceRxPlacementDetails) Reset added in v0.3.7

func (m *SwInterfaceRxPlacementDetails) Reset()

type SwInterfaceRxPlacementDump

type SwInterfaceRxPlacementDump struct {
	SwIfIndex InterfaceIndex
}

SwInterfaceRxPlacementDump represents VPP binary API message 'sw_interface_rx_placement_dump'.

func (*SwInterfaceRxPlacementDump) GetCrcString

func (*SwInterfaceRxPlacementDump) GetCrcString() string

func (*SwInterfaceRxPlacementDump) GetMessageName

func (*SwInterfaceRxPlacementDump) GetMessageName() string

func (*SwInterfaceRxPlacementDump) GetMessageType

func (*SwInterfaceRxPlacementDump) GetMessageType() api.MessageType

func (*SwInterfaceRxPlacementDump) Reset added in v0.3.7

func (m *SwInterfaceRxPlacementDump) Reset()

type SwInterfaceSetFlags

type SwInterfaceSetFlags struct {
	SwIfIndex InterfaceIndex
	Flags     IfStatusFlags
}

SwInterfaceSetFlags represents VPP binary API message 'sw_interface_set_flags'.

func (*SwInterfaceSetFlags) GetCrcString

func (*SwInterfaceSetFlags) GetCrcString() string

func (*SwInterfaceSetFlags) GetMessageName

func (*SwInterfaceSetFlags) GetMessageName() string

func (*SwInterfaceSetFlags) GetMessageType

func (*SwInterfaceSetFlags) GetMessageType() api.MessageType

func (*SwInterfaceSetFlags) Reset added in v0.3.7

func (m *SwInterfaceSetFlags) Reset()

type SwInterfaceSetFlagsReply

type SwInterfaceSetFlagsReply struct {
	Retval int32
}

SwInterfaceSetFlagsReply represents VPP binary API message 'sw_interface_set_flags_reply'.

func (*SwInterfaceSetFlagsReply) GetCrcString

func (*SwInterfaceSetFlagsReply) GetCrcString() string

func (*SwInterfaceSetFlagsReply) GetMessageName

func (*SwInterfaceSetFlagsReply) GetMessageName() string

func (*SwInterfaceSetFlagsReply) GetMessageType

func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType

func (*SwInterfaceSetFlagsReply) Reset added in v0.3.7

func (m *SwInterfaceSetFlagsReply) Reset()

type SwInterfaceSetIPDirectedBroadcast

type SwInterfaceSetIPDirectedBroadcast struct {
	SwIfIndex InterfaceIndex
	Enable    bool
}

SwInterfaceSetIPDirectedBroadcast represents VPP binary API message 'sw_interface_set_ip_directed_broadcast'.

func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString

func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString() string

func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName

func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName() string

func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType

func (*SwInterfaceSetIPDirectedBroadcast) Reset added in v0.3.7

type SwInterfaceSetIPDirectedBroadcastReply

type SwInterfaceSetIPDirectedBroadcastReply struct {
	Retval int32
}

SwInterfaceSetIPDirectedBroadcastReply represents VPP binary API message 'sw_interface_set_ip_directed_broadcast_reply'.

func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString

func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName

func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType

func (*SwInterfaceSetIPDirectedBroadcastReply) Reset added in v0.3.7

type SwInterfaceSetMacAddress

type SwInterfaceSetMacAddress struct {
	SwIfIndex  InterfaceIndex
	MacAddress MacAddress
}

SwInterfaceSetMacAddress represents VPP binary API message 'sw_interface_set_mac_address'.

func (*SwInterfaceSetMacAddress) GetCrcString

func (*SwInterfaceSetMacAddress) GetCrcString() string

func (*SwInterfaceSetMacAddress) GetMessageName

func (*SwInterfaceSetMacAddress) GetMessageName() string

func (*SwInterfaceSetMacAddress) GetMessageType

func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType

func (*SwInterfaceSetMacAddress) Reset added in v0.3.7

func (m *SwInterfaceSetMacAddress) Reset()

type SwInterfaceSetMacAddressReply

type SwInterfaceSetMacAddressReply struct {
	Retval int32
}

SwInterfaceSetMacAddressReply represents VPP binary API message 'sw_interface_set_mac_address_reply'.

func (*SwInterfaceSetMacAddressReply) GetCrcString

func (*SwInterfaceSetMacAddressReply) GetCrcString() string

func (*SwInterfaceSetMacAddressReply) GetMessageName

func (*SwInterfaceSetMacAddressReply) GetMessageName() string

func (*SwInterfaceSetMacAddressReply) GetMessageType

func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType

func (*SwInterfaceSetMacAddressReply) Reset added in v0.3.7

func (m *SwInterfaceSetMacAddressReply) Reset()

type SwInterfaceSetMtu

type SwInterfaceSetMtu struct {
	SwIfIndex InterfaceIndex
	Mtu       []uint32 `struc:"[4]uint32"`
}

SwInterfaceSetMtu represents VPP binary API message 'sw_interface_set_mtu'.

func (*SwInterfaceSetMtu) GetCrcString

func (*SwInterfaceSetMtu) GetCrcString() string

func (*SwInterfaceSetMtu) GetMessageName

func (*SwInterfaceSetMtu) GetMessageName() string

func (*SwInterfaceSetMtu) GetMessageType

func (*SwInterfaceSetMtu) GetMessageType() api.MessageType

func (*SwInterfaceSetMtu) Reset added in v0.3.7

func (m *SwInterfaceSetMtu) Reset()

type SwInterfaceSetMtuReply

type SwInterfaceSetMtuReply struct {
	Retval int32
}

SwInterfaceSetMtuReply represents VPP binary API message 'sw_interface_set_mtu_reply'.

func (*SwInterfaceSetMtuReply) GetCrcString

func (*SwInterfaceSetMtuReply) GetCrcString() string

func (*SwInterfaceSetMtuReply) GetMessageName

func (*SwInterfaceSetMtuReply) GetMessageName() string

func (*SwInterfaceSetMtuReply) GetMessageType

func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType

func (*SwInterfaceSetMtuReply) Reset added in v0.3.7

func (m *SwInterfaceSetMtuReply) Reset()

type SwInterfaceSetRxMode

type SwInterfaceSetRxMode struct {
	SwIfIndex    InterfaceIndex
	QueueIDValid bool
	QueueID      uint32
	Mode         RxMode
}

SwInterfaceSetRxMode represents VPP binary API message 'sw_interface_set_rx_mode'.

func (*SwInterfaceSetRxMode) GetCrcString

func (*SwInterfaceSetRxMode) GetCrcString() string

func (*SwInterfaceSetRxMode) GetMessageName

func (*SwInterfaceSetRxMode) GetMessageName() string

func (*SwInterfaceSetRxMode) GetMessageType

func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType

func (*SwInterfaceSetRxMode) Reset added in v0.3.7

func (m *SwInterfaceSetRxMode) Reset()

type SwInterfaceSetRxModeReply

type SwInterfaceSetRxModeReply struct {
	Retval int32
}

SwInterfaceSetRxModeReply represents VPP binary API message 'sw_interface_set_rx_mode_reply'.

func (*SwInterfaceSetRxModeReply) GetCrcString

func (*SwInterfaceSetRxModeReply) GetCrcString() string

func (*SwInterfaceSetRxModeReply) GetMessageName

func (*SwInterfaceSetRxModeReply) GetMessageName() string

func (*SwInterfaceSetRxModeReply) GetMessageType

func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType

func (*SwInterfaceSetRxModeReply) Reset added in v0.3.7

func (m *SwInterfaceSetRxModeReply) Reset()

type SwInterfaceSetRxPlacement

type SwInterfaceSetRxPlacement struct {
	SwIfIndex InterfaceIndex
	QueueID   uint32
	WorkerID  uint32
	IsMain    bool
}

SwInterfaceSetRxPlacement represents VPP binary API message 'sw_interface_set_rx_placement'.

func (*SwInterfaceSetRxPlacement) GetCrcString

func (*SwInterfaceSetRxPlacement) GetCrcString() string

func (*SwInterfaceSetRxPlacement) GetMessageName

func (*SwInterfaceSetRxPlacement) GetMessageName() string

func (*SwInterfaceSetRxPlacement) GetMessageType

func (*SwInterfaceSetRxPlacement) GetMessageType() api.MessageType

func (*SwInterfaceSetRxPlacement) Reset added in v0.3.7

func (m *SwInterfaceSetRxPlacement) Reset()

type SwInterfaceSetRxPlacementReply

type SwInterfaceSetRxPlacementReply struct {
	Retval int32
}

SwInterfaceSetRxPlacementReply represents VPP binary API message 'sw_interface_set_rx_placement_reply'.

func (*SwInterfaceSetRxPlacementReply) GetCrcString

func (*SwInterfaceSetRxPlacementReply) GetCrcString() string

func (*SwInterfaceSetRxPlacementReply) GetMessageName

func (*SwInterfaceSetRxPlacementReply) GetMessageName() string

func (*SwInterfaceSetRxPlacementReply) GetMessageType

func (*SwInterfaceSetRxPlacementReply) Reset added in v0.3.7

func (m *SwInterfaceSetRxPlacementReply) Reset()

type SwInterfaceSetTable

type SwInterfaceSetTable struct {
	SwIfIndex InterfaceIndex
	IsIPv6    bool
	VrfID     uint32
}

SwInterfaceSetTable represents VPP binary API message 'sw_interface_set_table'.

func (*SwInterfaceSetTable) GetCrcString

func (*SwInterfaceSetTable) GetCrcString() string

func (*SwInterfaceSetTable) GetMessageName

func (*SwInterfaceSetTable) GetMessageName() string

func (*SwInterfaceSetTable) GetMessageType

func (*SwInterfaceSetTable) GetMessageType() api.MessageType

func (*SwInterfaceSetTable) Reset added in v0.3.7

func (m *SwInterfaceSetTable) Reset()

type SwInterfaceSetTableReply

type SwInterfaceSetTableReply struct {
	Retval int32
}

SwInterfaceSetTableReply represents VPP binary API message 'sw_interface_set_table_reply'.

func (*SwInterfaceSetTableReply) GetCrcString

func (*SwInterfaceSetTableReply) GetCrcString() string

func (*SwInterfaceSetTableReply) GetMessageName

func (*SwInterfaceSetTableReply) GetMessageName() string

func (*SwInterfaceSetTableReply) GetMessageType

func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType

func (*SwInterfaceSetTableReply) Reset added in v0.3.7

func (m *SwInterfaceSetTableReply) Reset()

type SwInterfaceSetUnnumbered

type SwInterfaceSetUnnumbered struct {
	SwIfIndex           InterfaceIndex
	UnnumberedSwIfIndex InterfaceIndex
	IsAdd               bool
}

SwInterfaceSetUnnumbered represents VPP binary API message 'sw_interface_set_unnumbered'.

func (*SwInterfaceSetUnnumbered) GetCrcString

func (*SwInterfaceSetUnnumbered) GetCrcString() string

func (*SwInterfaceSetUnnumbered) GetMessageName

func (*SwInterfaceSetUnnumbered) GetMessageName() string

func (*SwInterfaceSetUnnumbered) GetMessageType

func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType

func (*SwInterfaceSetUnnumbered) Reset added in v0.3.7

func (m *SwInterfaceSetUnnumbered) Reset()

type SwInterfaceSetUnnumberedReply

type SwInterfaceSetUnnumberedReply struct {
	Retval int32
}

SwInterfaceSetUnnumberedReply represents VPP binary API message 'sw_interface_set_unnumbered_reply'.

func (*SwInterfaceSetUnnumberedReply) GetCrcString

func (*SwInterfaceSetUnnumberedReply) GetCrcString() string

func (*SwInterfaceSetUnnumberedReply) GetMessageName

func (*SwInterfaceSetUnnumberedReply) GetMessageName() string

func (*SwInterfaceSetUnnumberedReply) GetMessageType

func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType

func (*SwInterfaceSetUnnumberedReply) Reset added in v0.3.7

func (m *SwInterfaceSetUnnumberedReply) Reset()

type SwInterfaceTagAddDel

type SwInterfaceTagAddDel struct {
	IsAdd     bool
	SwIfIndex InterfaceIndex
	Tag       string `struc:"[64]byte"`
}

SwInterfaceTagAddDel represents VPP binary API message 'sw_interface_tag_add_del'.

func (*SwInterfaceTagAddDel) GetCrcString

func (*SwInterfaceTagAddDel) GetCrcString() string

func (*SwInterfaceTagAddDel) GetMessageName

func (*SwInterfaceTagAddDel) GetMessageName() string

func (*SwInterfaceTagAddDel) GetMessageType

func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType

func (*SwInterfaceTagAddDel) Reset added in v0.3.7

func (m *SwInterfaceTagAddDel) Reset()

type SwInterfaceTagAddDelReply

type SwInterfaceTagAddDelReply struct {
	Retval int32
}

SwInterfaceTagAddDelReply represents VPP binary API message 'sw_interface_tag_add_del_reply'.

func (*SwInterfaceTagAddDelReply) GetCrcString

func (*SwInterfaceTagAddDelReply) GetCrcString() string

func (*SwInterfaceTagAddDelReply) GetMessageName

func (*SwInterfaceTagAddDelReply) GetMessageName() string

func (*SwInterfaceTagAddDelReply) GetMessageType

func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType

func (*SwInterfaceTagAddDelReply) Reset added in v0.3.7

func (m *SwInterfaceTagAddDelReply) Reset()

type WantInterfaceEvents

type WantInterfaceEvents struct {
	EnableDisable uint32
	PID           uint32
}

WantInterfaceEvents represents VPP binary API message 'want_interface_events'.

func (*WantInterfaceEvents) GetCrcString

func (*WantInterfaceEvents) GetCrcString() string

func (*WantInterfaceEvents) GetMessageName

func (*WantInterfaceEvents) GetMessageName() string

func (*WantInterfaceEvents) GetMessageType

func (*WantInterfaceEvents) GetMessageType() api.MessageType

func (*WantInterfaceEvents) Reset added in v0.3.7

func (m *WantInterfaceEvents) Reset()

type WantInterfaceEventsReply

type WantInterfaceEventsReply struct {
	Retval int32
}

WantInterfaceEventsReply represents VPP binary API message 'want_interface_events_reply'.

func (*WantInterfaceEventsReply) GetCrcString

func (*WantInterfaceEventsReply) GetCrcString() string

func (*WantInterfaceEventsReply) GetMessageName

func (*WantInterfaceEventsReply) GetMessageName() string

func (*WantInterfaceEventsReply) GetMessageType

func (*WantInterfaceEventsReply) GetMessageType() api.MessageType

func (*WantInterfaceEventsReply) Reset added in v0.3.7

func (m *WantInterfaceEventsReply) Reset()

Jump to

Keyboard shortcuts

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