interfaces

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

It consists of:

 1 alias
51 messages
25 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.1.1"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xbfceada9
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type CollectDetailedInterfaceStats

type CollectDetailedInterfaceStats struct {
	SwIfIndex     uint32
	EnableDisable uint8
}

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

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

type CreateLoopback

type CreateLoopback struct {
	MacAddress []byte `struc:"[6]byte"`
}

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

type CreateLoopbackInstance

type CreateLoopbackInstance struct {
	MacAddress   []byte `struc:"[6]byte"`
	IsSpecified  uint8
	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

type CreateLoopbackInstanceReply

type CreateLoopbackInstanceReply struct {
	Retval    int32
	SwIfIndex uint32
}

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

type CreateLoopbackReply

type CreateLoopbackReply struct {
	Retval    int32
	SwIfIndex uint32
}

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

type CreateSubif

type CreateSubif struct {
	SwIfIndex      uint32
	SubID          uint32
	NoTags         uint8
	OneTag         uint8
	TwoTags        uint8
	Dot1ad         uint8
	ExactMatch     uint8
	DefaultSub     uint8
	OuterVlanIDAny uint8
	InnerVlanIDAny uint8
	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

type CreateSubifReply

type CreateSubifReply struct {
	Retval    int32
	SwIfIndex uint32
}

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

type CreateVlanSubif

type CreateVlanSubif struct {
	SwIfIndex uint32
	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

type CreateVlanSubifReply

type CreateVlanSubifReply struct {
	Retval    int32
	SwIfIndex uint32
}

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

type DeleteLoopback

type DeleteLoopback struct {
	SwIfIndex uint32
}

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

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

type DeleteSubif

type DeleteSubif struct {
	SwIfIndex uint32
}

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

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

type HwInterfaceSetMtu

type HwInterfaceSetMtu struct {
	SwIfIndex uint32
	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

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

type InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex represents VPP binary API alias 'interface_index'.

type InterfaceNameRenumber

type InterfaceNameRenumber struct {
	SwIfIndex          uint32
	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

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

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

type SwInterfaceAddDelAddress struct {
	SwIfIndex     uint32
	IsAdd         uint8
	IsIPv6        uint8
	DelAll        uint8
	AddressLength uint8
	Address       []byte `struc:"[16]byte"`
}

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

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

type SwInterfaceClearStats

type SwInterfaceClearStats struct {
	SwIfIndex uint32
}

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

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

type SwInterfaceDetails

type SwInterfaceDetails struct {
	SwIfIndex         uint32
	SupSwIfIndex      uint32
	L2AddressLength   uint32
	L2Address         []byte `struc:"[8]byte"`
	AdminUpDown       uint8
	LinkUpDown        uint8
	LinkDuplex        uint8
	LinkSpeed         uint32
	LinkMtu           uint16
	Mtu               []uint32 `struc:"[4]uint32"`
	SubID             uint32
	SubDot1ad         uint8
	SubDot1ah         uint8
	SubNumberOfTags   uint8
	SubOuterVlanID    uint16
	SubInnerVlanID    uint16
	SubExactMatch     uint8
	SubDefault        uint8
	SubOuterVlanIDAny uint8
	SubInnerVlanIDAny uint8
	VtrOp             uint32
	VtrPushDot1q      uint32
	VtrTag1           uint32
	VtrTag2           uint32
	OuterTag          uint16
	BDmac             []byte `struc:"[6]byte"`
	BSmac             []byte `struc:"[6]byte"`
	BVlanid           uint16
	ISid              uint32
	InterfaceName     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

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

type SwInterfaceEvent

type SwInterfaceEvent struct {
	PID         uint32
	SwIfIndex   uint32
	AdminUpDown uint8
	LinkUpDown  uint8
	Deleted     uint8
}

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

type SwInterfaceGetMacAddress

type SwInterfaceGetMacAddress struct {
	SwIfIndex uint32
}

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

type SwInterfaceGetMacAddressReply

type SwInterfaceGetMacAddressReply struct {
	Retval     int32
	MacAddress []byte `struc:"[6]byte"`
}

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

type SwInterfaceGetTable

type SwInterfaceGetTable struct {
	SwIfIndex uint32
	IsIPv6    uint8
}

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

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

type SwInterfaceRxPlacementDetails

type SwInterfaceRxPlacementDetails struct {
	SwIfIndex uint32
	QueueID   uint32
	WorkerID  uint32
	Mode      uint8
}

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

type SwInterfaceRxPlacementDump

type SwInterfaceRxPlacementDump struct {
	SwIfIndex uint32
}

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

type SwInterfaceSetFlags

type SwInterfaceSetFlags struct {
	SwIfIndex   uint32
	AdminUpDown uint8
}

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

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

type SwInterfaceSetIPDirectedBroadcast

type SwInterfaceSetIPDirectedBroadcast struct {
	SwIfIndex uint32
	Enable    uint8
}

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

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

type SwInterfaceSetMacAddress

type SwInterfaceSetMacAddress struct {
	SwIfIndex  uint32
	MacAddress []byte `struc:"[6]byte"`
}

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

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

type SwInterfaceSetMtu

type SwInterfaceSetMtu struct {
	SwIfIndex uint32
	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

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

type SwInterfaceSetRxMode

type SwInterfaceSetRxMode struct {
	SwIfIndex    uint32
	QueueIDValid uint8
	QueueID      uint32
	Mode         uint8
}

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

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

type SwInterfaceSetRxPlacement

type SwInterfaceSetRxPlacement struct {
	SwIfIndex uint32
	QueueID   uint32
	WorkerID  uint32
	IsMain    uint8
}

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

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

type SwInterfaceSetTable

type SwInterfaceSetTable struct {
	SwIfIndex uint32
	IsIPv6    uint8
	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

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

type SwInterfaceSetUnnumbered

type SwInterfaceSetUnnumbered struct {
	SwIfIndex           uint32
	UnnumberedSwIfIndex uint32
	IsAdd               uint8
}

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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