Documentation ¶
Overview ¶
Package interfaces contains generated bindings for API file interface.api.
Contents:
57 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type CollectDetailedInterfaceStats
- func (*CollectDetailedInterfaceStats) GetCrcString() string
- func (*CollectDetailedInterfaceStats) GetMessageName() string
- func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType
- func (m *CollectDetailedInterfaceStats) Marshal(b []byte) ([]byte, error)
- func (m *CollectDetailedInterfaceStats) Reset()
- func (m *CollectDetailedInterfaceStats) Size() (size int)
- func (m *CollectDetailedInterfaceStats) Unmarshal(b []byte) error
- type CollectDetailedInterfaceStatsReply
- func (*CollectDetailedInterfaceStatsReply) GetCrcString() string
- func (*CollectDetailedInterfaceStatsReply) GetMessageName() string
- func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType
- func (m *CollectDetailedInterfaceStatsReply) Marshal(b []byte) ([]byte, error)
- func (m *CollectDetailedInterfaceStatsReply) Reset()
- func (m *CollectDetailedInterfaceStatsReply) Size() (size int)
- func (m *CollectDetailedInterfaceStatsReply) Unmarshal(b []byte) error
- type CreateLoopback
- func (*CreateLoopback) GetCrcString() string
- func (*CreateLoopback) GetMessageName() string
- func (*CreateLoopback) GetMessageType() api.MessageType
- func (m *CreateLoopback) Marshal(b []byte) ([]byte, error)
- func (m *CreateLoopback) Reset()
- func (m *CreateLoopback) Size() (size int)
- func (m *CreateLoopback) Unmarshal(b []byte) error
- type CreateLoopbackInstance
- func (*CreateLoopbackInstance) GetCrcString() string
- func (*CreateLoopbackInstance) GetMessageName() string
- func (*CreateLoopbackInstance) GetMessageType() api.MessageType
- func (m *CreateLoopbackInstance) Marshal(b []byte) ([]byte, error)
- func (m *CreateLoopbackInstance) Reset()
- func (m *CreateLoopbackInstance) Size() (size int)
- func (m *CreateLoopbackInstance) Unmarshal(b []byte) error
- type CreateLoopbackInstanceReply
- func (*CreateLoopbackInstanceReply) GetCrcString() string
- func (*CreateLoopbackInstanceReply) GetMessageName() string
- func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType
- func (m *CreateLoopbackInstanceReply) Marshal(b []byte) ([]byte, error)
- func (m *CreateLoopbackInstanceReply) Reset()
- func (m *CreateLoopbackInstanceReply) Size() (size int)
- func (m *CreateLoopbackInstanceReply) Unmarshal(b []byte) error
- type CreateLoopbackReply
- func (*CreateLoopbackReply) GetCrcString() string
- func (*CreateLoopbackReply) GetMessageName() string
- func (*CreateLoopbackReply) GetMessageType() api.MessageType
- func (m *CreateLoopbackReply) Marshal(b []byte) ([]byte, error)
- func (m *CreateLoopbackReply) Reset()
- func (m *CreateLoopbackReply) Size() (size int)
- func (m *CreateLoopbackReply) Unmarshal(b []byte) error
- type CreateSubif
- func (*CreateSubif) GetCrcString() string
- func (*CreateSubif) GetMessageName() string
- func (*CreateSubif) GetMessageType() api.MessageType
- func (m *CreateSubif) Marshal(b []byte) ([]byte, error)
- func (m *CreateSubif) Reset()
- func (m *CreateSubif) Size() (size int)
- func (m *CreateSubif) Unmarshal(b []byte) error
- type CreateSubifReply
- func (*CreateSubifReply) GetCrcString() string
- func (*CreateSubifReply) GetMessageName() string
- func (*CreateSubifReply) GetMessageType() api.MessageType
- func (m *CreateSubifReply) Marshal(b []byte) ([]byte, error)
- func (m *CreateSubifReply) Reset()
- func (m *CreateSubifReply) Size() (size int)
- func (m *CreateSubifReply) Unmarshal(b []byte) error
- type CreateVlanSubif
- func (*CreateVlanSubif) GetCrcString() string
- func (*CreateVlanSubif) GetMessageName() string
- func (*CreateVlanSubif) GetMessageType() api.MessageType
- func (m *CreateVlanSubif) Marshal(b []byte) ([]byte, error)
- func (m *CreateVlanSubif) Reset()
- func (m *CreateVlanSubif) Size() (size int)
- func (m *CreateVlanSubif) Unmarshal(b []byte) error
- type CreateVlanSubifReply
- func (*CreateVlanSubifReply) GetCrcString() string
- func (*CreateVlanSubifReply) GetMessageName() string
- func (*CreateVlanSubifReply) GetMessageType() api.MessageType
- func (m *CreateVlanSubifReply) Marshal(b []byte) ([]byte, error)
- func (m *CreateVlanSubifReply) Reset()
- func (m *CreateVlanSubifReply) Size() (size int)
- func (m *CreateVlanSubifReply) Unmarshal(b []byte) error
- type DeleteLoopback
- func (*DeleteLoopback) GetCrcString() string
- func (*DeleteLoopback) GetMessageName() string
- func (*DeleteLoopback) GetMessageType() api.MessageType
- func (m *DeleteLoopback) Marshal(b []byte) ([]byte, error)
- func (m *DeleteLoopback) Reset()
- func (m *DeleteLoopback) Size() (size int)
- func (m *DeleteLoopback) Unmarshal(b []byte) error
- type DeleteLoopbackReply
- func (*DeleteLoopbackReply) GetCrcString() string
- func (*DeleteLoopbackReply) GetMessageName() string
- func (*DeleteLoopbackReply) GetMessageType() api.MessageType
- func (m *DeleteLoopbackReply) Marshal(b []byte) ([]byte, error)
- func (m *DeleteLoopbackReply) Reset()
- func (m *DeleteLoopbackReply) Size() (size int)
- func (m *DeleteLoopbackReply) Unmarshal(b []byte) error
- type DeleteSubif
- func (*DeleteSubif) GetCrcString() string
- func (*DeleteSubif) GetMessageName() string
- func (*DeleteSubif) GetMessageType() api.MessageType
- func (m *DeleteSubif) Marshal(b []byte) ([]byte, error)
- func (m *DeleteSubif) Reset()
- func (m *DeleteSubif) Size() (size int)
- func (m *DeleteSubif) Unmarshal(b []byte) error
- type DeleteSubifReply
- func (*DeleteSubifReply) GetCrcString() string
- func (*DeleteSubifReply) GetMessageName() string
- func (*DeleteSubifReply) GetMessageType() api.MessageType
- func (m *DeleteSubifReply) Marshal(b []byte) ([]byte, error)
- func (m *DeleteSubifReply) Reset()
- func (m *DeleteSubifReply) Size() (size int)
- func (m *DeleteSubifReply) Unmarshal(b []byte) error
- type HwInterfaceSetMtu
- func (*HwInterfaceSetMtu) GetCrcString() string
- func (*HwInterfaceSetMtu) GetMessageName() string
- func (*HwInterfaceSetMtu) GetMessageType() api.MessageType
- func (m *HwInterfaceSetMtu) Marshal(b []byte) ([]byte, error)
- func (m *HwInterfaceSetMtu) Reset()
- func (m *HwInterfaceSetMtu) Size() (size int)
- func (m *HwInterfaceSetMtu) Unmarshal(b []byte) error
- type HwInterfaceSetMtuReply
- func (*HwInterfaceSetMtuReply) GetCrcString() string
- func (*HwInterfaceSetMtuReply) GetMessageName() string
- func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType
- func (m *HwInterfaceSetMtuReply) Marshal(b []byte) ([]byte, error)
- func (m *HwInterfaceSetMtuReply) Reset()
- func (m *HwInterfaceSetMtuReply) Size() (size int)
- func (m *HwInterfaceSetMtuReply) Unmarshal(b []byte) error
- type InterfaceNameRenumber
- func (*InterfaceNameRenumber) GetCrcString() string
- func (*InterfaceNameRenumber) GetMessageName() string
- func (*InterfaceNameRenumber) GetMessageType() api.MessageType
- func (m *InterfaceNameRenumber) Marshal(b []byte) ([]byte, error)
- func (m *InterfaceNameRenumber) Reset()
- func (m *InterfaceNameRenumber) Size() (size int)
- func (m *InterfaceNameRenumber) Unmarshal(b []byte) error
- type InterfaceNameRenumberReply
- func (*InterfaceNameRenumberReply) GetCrcString() string
- func (*InterfaceNameRenumberReply) GetMessageName() string
- func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType
- func (m *InterfaceNameRenumberReply) Marshal(b []byte) ([]byte, error)
- func (m *InterfaceNameRenumberReply) Reset()
- func (m *InterfaceNameRenumberReply) Size() (size int)
- func (m *InterfaceNameRenumberReply) Unmarshal(b []byte) error
- type RPCService
- type RPCService_SwInterfaceDumpClient
- type RPCService_SwInterfaceRxPlacementDumpClient
- type SwInterfaceAddDelAddress
- func (*SwInterfaceAddDelAddress) GetCrcString() string
- func (*SwInterfaceAddDelAddress) GetMessageName() string
- func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType
- func (m *SwInterfaceAddDelAddress) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceAddDelAddress) Reset()
- func (m *SwInterfaceAddDelAddress) Size() (size int)
- func (m *SwInterfaceAddDelAddress) Unmarshal(b []byte) error
- type SwInterfaceAddDelAddressReply
- func (*SwInterfaceAddDelAddressReply) GetCrcString() string
- func (*SwInterfaceAddDelAddressReply) GetMessageName() string
- func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType
- func (m *SwInterfaceAddDelAddressReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceAddDelAddressReply) Reset()
- func (m *SwInterfaceAddDelAddressReply) Size() (size int)
- func (m *SwInterfaceAddDelAddressReply) Unmarshal(b []byte) error
- type SwInterfaceAddDelMacAddress
- func (*SwInterfaceAddDelMacAddress) GetCrcString() string
- func (*SwInterfaceAddDelMacAddress) GetMessageName() string
- func (*SwInterfaceAddDelMacAddress) GetMessageType() api.MessageType
- func (m *SwInterfaceAddDelMacAddress) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceAddDelMacAddress) Reset()
- func (m *SwInterfaceAddDelMacAddress) Size() (size int)
- func (m *SwInterfaceAddDelMacAddress) Unmarshal(b []byte) error
- type SwInterfaceAddDelMacAddressReply
- func (*SwInterfaceAddDelMacAddressReply) GetCrcString() string
- func (*SwInterfaceAddDelMacAddressReply) GetMessageName() string
- func (*SwInterfaceAddDelMacAddressReply) GetMessageType() api.MessageType
- func (m *SwInterfaceAddDelMacAddressReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceAddDelMacAddressReply) Reset()
- func (m *SwInterfaceAddDelMacAddressReply) Size() (size int)
- func (m *SwInterfaceAddDelMacAddressReply) Unmarshal(b []byte) error
- type SwInterfaceAddressReplaceBegin
- func (*SwInterfaceAddressReplaceBegin) GetCrcString() string
- func (*SwInterfaceAddressReplaceBegin) GetMessageName() string
- func (*SwInterfaceAddressReplaceBegin) GetMessageType() api.MessageType
- func (m *SwInterfaceAddressReplaceBegin) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceAddressReplaceBegin) Reset()
- func (m *SwInterfaceAddressReplaceBegin) Size() (size int)
- func (m *SwInterfaceAddressReplaceBegin) Unmarshal(b []byte) error
- type SwInterfaceAddressReplaceBeginReply
- func (*SwInterfaceAddressReplaceBeginReply) GetCrcString() string
- func (*SwInterfaceAddressReplaceBeginReply) GetMessageName() string
- func (*SwInterfaceAddressReplaceBeginReply) GetMessageType() api.MessageType
- func (m *SwInterfaceAddressReplaceBeginReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceAddressReplaceBeginReply) Reset()
- func (m *SwInterfaceAddressReplaceBeginReply) Size() (size int)
- func (m *SwInterfaceAddressReplaceBeginReply) Unmarshal(b []byte) error
- type SwInterfaceAddressReplaceEnd
- func (*SwInterfaceAddressReplaceEnd) GetCrcString() string
- func (*SwInterfaceAddressReplaceEnd) GetMessageName() string
- func (*SwInterfaceAddressReplaceEnd) GetMessageType() api.MessageType
- func (m *SwInterfaceAddressReplaceEnd) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceAddressReplaceEnd) Reset()
- func (m *SwInterfaceAddressReplaceEnd) Size() (size int)
- func (m *SwInterfaceAddressReplaceEnd) Unmarshal(b []byte) error
- type SwInterfaceAddressReplaceEndReply
- func (*SwInterfaceAddressReplaceEndReply) GetCrcString() string
- func (*SwInterfaceAddressReplaceEndReply) GetMessageName() string
- func (*SwInterfaceAddressReplaceEndReply) GetMessageType() api.MessageType
- func (m *SwInterfaceAddressReplaceEndReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceAddressReplaceEndReply) Reset()
- func (m *SwInterfaceAddressReplaceEndReply) Size() (size int)
- func (m *SwInterfaceAddressReplaceEndReply) Unmarshal(b []byte) error
- type SwInterfaceClearStats
- func (*SwInterfaceClearStats) GetCrcString() string
- func (*SwInterfaceClearStats) GetMessageName() string
- func (*SwInterfaceClearStats) GetMessageType() api.MessageType
- func (m *SwInterfaceClearStats) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceClearStats) Reset()
- func (m *SwInterfaceClearStats) Size() (size int)
- func (m *SwInterfaceClearStats) Unmarshal(b []byte) error
- type SwInterfaceClearStatsReply
- func (*SwInterfaceClearStatsReply) GetCrcString() string
- func (*SwInterfaceClearStatsReply) GetMessageName() string
- func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType
- func (m *SwInterfaceClearStatsReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceClearStatsReply) Reset()
- func (m *SwInterfaceClearStatsReply) Size() (size int)
- func (m *SwInterfaceClearStatsReply) Unmarshal(b []byte) error
- type SwInterfaceDetails
- func (*SwInterfaceDetails) GetCrcString() string
- func (*SwInterfaceDetails) GetMessageName() string
- func (*SwInterfaceDetails) GetMessageType() api.MessageType
- func (m *SwInterfaceDetails) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceDetails) Reset()
- func (m *SwInterfaceDetails) Size() (size int)
- func (m *SwInterfaceDetails) Unmarshal(b []byte) error
- type SwInterfaceDump
- func (*SwInterfaceDump) GetCrcString() string
- func (*SwInterfaceDump) GetMessageName() string
- func (*SwInterfaceDump) GetMessageType() api.MessageType
- func (m *SwInterfaceDump) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceDump) Reset()
- func (m *SwInterfaceDump) Size() (size int)
- func (m *SwInterfaceDump) Unmarshal(b []byte) error
- type SwInterfaceEvent
- func (*SwInterfaceEvent) GetCrcString() string
- func (*SwInterfaceEvent) GetMessageName() string
- func (*SwInterfaceEvent) GetMessageType() api.MessageType
- func (m *SwInterfaceEvent) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceEvent) Reset()
- func (m *SwInterfaceEvent) Size() (size int)
- func (m *SwInterfaceEvent) Unmarshal(b []byte) error
- type SwInterfaceGetMacAddress
- func (*SwInterfaceGetMacAddress) GetCrcString() string
- func (*SwInterfaceGetMacAddress) GetMessageName() string
- func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType
- func (m *SwInterfaceGetMacAddress) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceGetMacAddress) Reset()
- func (m *SwInterfaceGetMacAddress) Size() (size int)
- func (m *SwInterfaceGetMacAddress) Unmarshal(b []byte) error
- type SwInterfaceGetMacAddressReply
- func (*SwInterfaceGetMacAddressReply) GetCrcString() string
- func (*SwInterfaceGetMacAddressReply) GetMessageName() string
- func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType
- func (m *SwInterfaceGetMacAddressReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceGetMacAddressReply) Reset()
- func (m *SwInterfaceGetMacAddressReply) Size() (size int)
- func (m *SwInterfaceGetMacAddressReply) Unmarshal(b []byte) error
- type SwInterfaceGetTable
- func (*SwInterfaceGetTable) GetCrcString() string
- func (*SwInterfaceGetTable) GetMessageName() string
- func (*SwInterfaceGetTable) GetMessageType() api.MessageType
- func (m *SwInterfaceGetTable) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceGetTable) Reset()
- func (m *SwInterfaceGetTable) Size() (size int)
- func (m *SwInterfaceGetTable) Unmarshal(b []byte) error
- type SwInterfaceGetTableReply
- func (*SwInterfaceGetTableReply) GetCrcString() string
- func (*SwInterfaceGetTableReply) GetMessageName() string
- func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType
- func (m *SwInterfaceGetTableReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceGetTableReply) Reset()
- func (m *SwInterfaceGetTableReply) Size() (size int)
- func (m *SwInterfaceGetTableReply) Unmarshal(b []byte) error
- type SwInterfaceRxPlacementDetails
- func (*SwInterfaceRxPlacementDetails) GetCrcString() string
- func (*SwInterfaceRxPlacementDetails) GetMessageName() string
- func (*SwInterfaceRxPlacementDetails) GetMessageType() api.MessageType
- func (m *SwInterfaceRxPlacementDetails) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceRxPlacementDetails) Reset()
- func (m *SwInterfaceRxPlacementDetails) Size() (size int)
- func (m *SwInterfaceRxPlacementDetails) Unmarshal(b []byte) error
- type SwInterfaceRxPlacementDump
- func (*SwInterfaceRxPlacementDump) GetCrcString() string
- func (*SwInterfaceRxPlacementDump) GetMessageName() string
- func (*SwInterfaceRxPlacementDump) GetMessageType() api.MessageType
- func (m *SwInterfaceRxPlacementDump) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceRxPlacementDump) Reset()
- func (m *SwInterfaceRxPlacementDump) Size() (size int)
- func (m *SwInterfaceRxPlacementDump) Unmarshal(b []byte) error
- type SwInterfaceSetFlags
- func (*SwInterfaceSetFlags) GetCrcString() string
- func (*SwInterfaceSetFlags) GetMessageName() string
- func (*SwInterfaceSetFlags) GetMessageType() api.MessageType
- func (m *SwInterfaceSetFlags) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetFlags) Reset()
- func (m *SwInterfaceSetFlags) Size() (size int)
- func (m *SwInterfaceSetFlags) Unmarshal(b []byte) error
- type SwInterfaceSetFlagsReply
- func (*SwInterfaceSetFlagsReply) GetCrcString() string
- func (*SwInterfaceSetFlagsReply) GetMessageName() string
- func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetFlagsReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetFlagsReply) Reset()
- func (m *SwInterfaceSetFlagsReply) Size() (size int)
- func (m *SwInterfaceSetFlagsReply) Unmarshal(b []byte) error
- type SwInterfaceSetIPDirectedBroadcast
- func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString() string
- func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName() string
- func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType() api.MessageType
- func (m *SwInterfaceSetIPDirectedBroadcast) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetIPDirectedBroadcast) Reset()
- func (m *SwInterfaceSetIPDirectedBroadcast) Size() (size int)
- func (m *SwInterfaceSetIPDirectedBroadcast) Unmarshal(b []byte) error
- type SwInterfaceSetIPDirectedBroadcastReply
- func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString() string
- func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName() string
- func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetIPDirectedBroadcastReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetIPDirectedBroadcastReply) Reset()
- func (m *SwInterfaceSetIPDirectedBroadcastReply) Size() (size int)
- func (m *SwInterfaceSetIPDirectedBroadcastReply) Unmarshal(b []byte) error
- type SwInterfaceSetMacAddress
- func (*SwInterfaceSetMacAddress) GetCrcString() string
- func (*SwInterfaceSetMacAddress) GetMessageName() string
- func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType
- func (m *SwInterfaceSetMacAddress) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetMacAddress) Reset()
- func (m *SwInterfaceSetMacAddress) Size() (size int)
- func (m *SwInterfaceSetMacAddress) Unmarshal(b []byte) error
- type SwInterfaceSetMacAddressReply
- func (*SwInterfaceSetMacAddressReply) GetCrcString() string
- func (*SwInterfaceSetMacAddressReply) GetMessageName() string
- func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetMacAddressReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetMacAddressReply) Reset()
- func (m *SwInterfaceSetMacAddressReply) Size() (size int)
- func (m *SwInterfaceSetMacAddressReply) Unmarshal(b []byte) error
- type SwInterfaceSetMtu
- func (*SwInterfaceSetMtu) GetCrcString() string
- func (*SwInterfaceSetMtu) GetMessageName() string
- func (*SwInterfaceSetMtu) GetMessageType() api.MessageType
- func (m *SwInterfaceSetMtu) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetMtu) Reset()
- func (m *SwInterfaceSetMtu) Size() (size int)
- func (m *SwInterfaceSetMtu) Unmarshal(b []byte) error
- type SwInterfaceSetMtuReply
- func (*SwInterfaceSetMtuReply) GetCrcString() string
- func (*SwInterfaceSetMtuReply) GetMessageName() string
- func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetMtuReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetMtuReply) Reset()
- func (m *SwInterfaceSetMtuReply) Size() (size int)
- func (m *SwInterfaceSetMtuReply) Unmarshal(b []byte) error
- type SwInterfaceSetRxMode
- func (*SwInterfaceSetRxMode) GetCrcString() string
- func (*SwInterfaceSetRxMode) GetMessageName() string
- func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType
- func (m *SwInterfaceSetRxMode) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetRxMode) Reset()
- func (m *SwInterfaceSetRxMode) Size() (size int)
- func (m *SwInterfaceSetRxMode) Unmarshal(b []byte) error
- type SwInterfaceSetRxModeReply
- func (*SwInterfaceSetRxModeReply) GetCrcString() string
- func (*SwInterfaceSetRxModeReply) GetMessageName() string
- func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetRxModeReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetRxModeReply) Reset()
- func (m *SwInterfaceSetRxModeReply) Size() (size int)
- func (m *SwInterfaceSetRxModeReply) Unmarshal(b []byte) error
- type SwInterfaceSetRxPlacement
- func (*SwInterfaceSetRxPlacement) GetCrcString() string
- func (*SwInterfaceSetRxPlacement) GetMessageName() string
- func (*SwInterfaceSetRxPlacement) GetMessageType() api.MessageType
- func (m *SwInterfaceSetRxPlacement) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetRxPlacement) Reset()
- func (m *SwInterfaceSetRxPlacement) Size() (size int)
- func (m *SwInterfaceSetRxPlacement) Unmarshal(b []byte) error
- type SwInterfaceSetRxPlacementReply
- func (*SwInterfaceSetRxPlacementReply) GetCrcString() string
- func (*SwInterfaceSetRxPlacementReply) GetMessageName() string
- func (*SwInterfaceSetRxPlacementReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetRxPlacementReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetRxPlacementReply) Reset()
- func (m *SwInterfaceSetRxPlacementReply) Size() (size int)
- func (m *SwInterfaceSetRxPlacementReply) Unmarshal(b []byte) error
- type SwInterfaceSetTable
- func (*SwInterfaceSetTable) GetCrcString() string
- func (*SwInterfaceSetTable) GetMessageName() string
- func (*SwInterfaceSetTable) GetMessageType() api.MessageType
- func (m *SwInterfaceSetTable) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetTable) Reset()
- func (m *SwInterfaceSetTable) Size() (size int)
- func (m *SwInterfaceSetTable) Unmarshal(b []byte) error
- type SwInterfaceSetTableReply
- func (*SwInterfaceSetTableReply) GetCrcString() string
- func (*SwInterfaceSetTableReply) GetMessageName() string
- func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetTableReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetTableReply) Reset()
- func (m *SwInterfaceSetTableReply) Size() (size int)
- func (m *SwInterfaceSetTableReply) Unmarshal(b []byte) error
- type SwInterfaceSetUnnumbered
- func (*SwInterfaceSetUnnumbered) GetCrcString() string
- func (*SwInterfaceSetUnnumbered) GetMessageName() string
- func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType
- func (m *SwInterfaceSetUnnumbered) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetUnnumbered) Reset()
- func (m *SwInterfaceSetUnnumbered) Size() (size int)
- func (m *SwInterfaceSetUnnumbered) Unmarshal(b []byte) error
- type SwInterfaceSetUnnumberedReply
- func (*SwInterfaceSetUnnumberedReply) GetCrcString() string
- func (*SwInterfaceSetUnnumberedReply) GetMessageName() string
- func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetUnnumberedReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetUnnumberedReply) Reset()
- func (m *SwInterfaceSetUnnumberedReply) Size() (size int)
- func (m *SwInterfaceSetUnnumberedReply) Unmarshal(b []byte) error
- type SwInterfaceTagAddDel
- func (*SwInterfaceTagAddDel) GetCrcString() string
- func (*SwInterfaceTagAddDel) GetMessageName() string
- func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType
- func (m *SwInterfaceTagAddDel) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceTagAddDel) Reset()
- func (m *SwInterfaceTagAddDel) Size() (size int)
- func (m *SwInterfaceTagAddDel) Unmarshal(b []byte) error
- type SwInterfaceTagAddDelReply
- func (*SwInterfaceTagAddDelReply) GetCrcString() string
- func (*SwInterfaceTagAddDelReply) GetMessageName() string
- func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType
- func (m *SwInterfaceTagAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceTagAddDelReply) Reset()
- func (m *SwInterfaceTagAddDelReply) Size() (size int)
- func (m *SwInterfaceTagAddDelReply) Unmarshal(b []byte) error
- type WantInterfaceEvents
- func (*WantInterfaceEvents) GetCrcString() string
- func (*WantInterfaceEvents) GetMessageName() string
- func (*WantInterfaceEvents) GetMessageType() api.MessageType
- func (m *WantInterfaceEvents) Marshal(b []byte) ([]byte, error)
- func (m *WantInterfaceEvents) Reset()
- func (m *WantInterfaceEvents) Size() (size int)
- func (m *WantInterfaceEvents) Unmarshal(b []byte) error
- type WantInterfaceEventsReply
- func (*WantInterfaceEventsReply) GetCrcString() string
- func (*WantInterfaceEventsReply) GetMessageName() string
- func (*WantInterfaceEventsReply) GetMessageType() api.MessageType
- func (m *WantInterfaceEventsReply) Marshal(b []byte) ([]byte, error)
- func (m *WantInterfaceEventsReply) Reset()
- func (m *WantInterfaceEventsReply) Size() (size int)
- func (m *WantInterfaceEventsReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "interface" APIVersion = "3.2.2" VersionCrc = 0x58d4cf5a )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type CollectDetailedInterfaceStats ¶
type CollectDetailedInterfaceStats struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` EnableDisable bool `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"` }
CollectDetailedInterfaceStats defines 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) Marshal ¶
func (m *CollectDetailedInterfaceStats) Marshal(b []byte) ([]byte, error)
func (*CollectDetailedInterfaceStats) Reset ¶
func (m *CollectDetailedInterfaceStats) Reset()
func (*CollectDetailedInterfaceStats) Size ¶
func (m *CollectDetailedInterfaceStats) Size() (size int)
func (*CollectDetailedInterfaceStats) Unmarshal ¶
func (m *CollectDetailedInterfaceStats) Unmarshal(b []byte) error
type CollectDetailedInterfaceStatsReply ¶
type CollectDetailedInterfaceStatsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
CollectDetailedInterfaceStatsReply defines message 'collect_detailed_interface_stats_reply'.
func (*CollectDetailedInterfaceStatsReply) GetCrcString ¶
func (*CollectDetailedInterfaceStatsReply) GetCrcString() string
func (*CollectDetailedInterfaceStatsReply) GetMessageName ¶
func (*CollectDetailedInterfaceStatsReply) GetMessageName() string
func (*CollectDetailedInterfaceStatsReply) GetMessageType ¶
func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType
func (*CollectDetailedInterfaceStatsReply) Marshal ¶
func (m *CollectDetailedInterfaceStatsReply) Marshal(b []byte) ([]byte, error)
func (*CollectDetailedInterfaceStatsReply) Reset ¶
func (m *CollectDetailedInterfaceStatsReply) Reset()
func (*CollectDetailedInterfaceStatsReply) Size ¶
func (m *CollectDetailedInterfaceStatsReply) Size() (size int)
func (*CollectDetailedInterfaceStatsReply) Unmarshal ¶
func (m *CollectDetailedInterfaceStatsReply) Unmarshal(b []byte) error
type CreateLoopback ¶
type CreateLoopback struct {
MacAddress ethernet_types.MacAddress `binapi:"mac_address,name=mac_address" json:"mac_address,omitempty"`
}
CreateLoopback defines 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 ¶
func (m *CreateLoopback) Reset()
func (*CreateLoopback) Size ¶
func (m *CreateLoopback) Size() (size int)
func (*CreateLoopback) Unmarshal ¶
func (m *CreateLoopback) Unmarshal(b []byte) error
type CreateLoopbackInstance ¶
type CreateLoopbackInstance struct { MacAddress ethernet_types.MacAddress `binapi:"mac_address,name=mac_address" json:"mac_address,omitempty"` IsSpecified bool `binapi:"bool,name=is_specified" json:"is_specified,omitempty"` UserInstance uint32 `binapi:"u32,name=user_instance" json:"user_instance,omitempty"` }
CreateLoopbackInstance defines 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) Marshal ¶
func (m *CreateLoopbackInstance) Marshal(b []byte) ([]byte, error)
func (*CreateLoopbackInstance) Reset ¶
func (m *CreateLoopbackInstance) Reset()
func (*CreateLoopbackInstance) Size ¶
func (m *CreateLoopbackInstance) Size() (size int)
func (*CreateLoopbackInstance) Unmarshal ¶
func (m *CreateLoopbackInstance) Unmarshal(b []byte) error
type CreateLoopbackInstanceReply ¶
type CreateLoopbackInstanceReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
CreateLoopbackInstanceReply defines 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) Marshal ¶
func (m *CreateLoopbackInstanceReply) Marshal(b []byte) ([]byte, error)
func (*CreateLoopbackInstanceReply) Reset ¶
func (m *CreateLoopbackInstanceReply) Reset()
func (*CreateLoopbackInstanceReply) Size ¶
func (m *CreateLoopbackInstanceReply) Size() (size int)
func (*CreateLoopbackInstanceReply) Unmarshal ¶
func (m *CreateLoopbackInstanceReply) Unmarshal(b []byte) error
type CreateLoopbackReply ¶
type CreateLoopbackReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
CreateLoopbackReply defines 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) Marshal ¶
func (m *CreateLoopbackReply) Marshal(b []byte) ([]byte, error)
func (*CreateLoopbackReply) Reset ¶
func (m *CreateLoopbackReply) Reset()
func (*CreateLoopbackReply) Size ¶
func (m *CreateLoopbackReply) Size() (size int)
func (*CreateLoopbackReply) Unmarshal ¶
func (m *CreateLoopbackReply) Unmarshal(b []byte) error
type CreateSubif ¶
type CreateSubif struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` SubID uint32 `binapi:"u32,name=sub_id" json:"sub_id,omitempty"` SubIfFlags interface_types.SubIfFlags `binapi:"sub_if_flags,name=sub_if_flags" json:"sub_if_flags,omitempty"` OuterVlanID uint16 `binapi:"u16,name=outer_vlan_id" json:"outer_vlan_id,omitempty"` InnerVlanID uint16 `binapi:"u16,name=inner_vlan_id" json:"inner_vlan_id,omitempty"` }
CreateSubif defines 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 ¶
func (m *CreateSubif) Reset()
func (*CreateSubif) Size ¶
func (m *CreateSubif) Size() (size int)
func (*CreateSubif) Unmarshal ¶
func (m *CreateSubif) Unmarshal(b []byte) error
type CreateSubifReply ¶
type CreateSubifReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
CreateSubifReply defines 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 ¶
func (m *CreateSubifReply) Reset()
func (*CreateSubifReply) Size ¶
func (m *CreateSubifReply) Size() (size int)
func (*CreateSubifReply) Unmarshal ¶
func (m *CreateSubifReply) Unmarshal(b []byte) error
type CreateVlanSubif ¶
type CreateVlanSubif struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` VlanID uint32 `binapi:"u32,name=vlan_id" json:"vlan_id,omitempty"` }
CreateVlanSubif defines 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 ¶
func (m *CreateVlanSubif) Reset()
func (*CreateVlanSubif) Size ¶
func (m *CreateVlanSubif) Size() (size int)
func (*CreateVlanSubif) Unmarshal ¶
func (m *CreateVlanSubif) Unmarshal(b []byte) error
type CreateVlanSubifReply ¶
type CreateVlanSubifReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
CreateVlanSubifReply defines 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) Marshal ¶
func (m *CreateVlanSubifReply) Marshal(b []byte) ([]byte, error)
func (*CreateVlanSubifReply) Reset ¶
func (m *CreateVlanSubifReply) Reset()
func (*CreateVlanSubifReply) Size ¶
func (m *CreateVlanSubifReply) Size() (size int)
func (*CreateVlanSubifReply) Unmarshal ¶
func (m *CreateVlanSubifReply) Unmarshal(b []byte) error
type DeleteLoopback ¶
type DeleteLoopback struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
DeleteLoopback defines 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 ¶
func (m *DeleteLoopback) Reset()
func (*DeleteLoopback) Size ¶
func (m *DeleteLoopback) Size() (size int)
func (*DeleteLoopback) Unmarshal ¶
func (m *DeleteLoopback) Unmarshal(b []byte) error
type DeleteLoopbackReply ¶
type DeleteLoopbackReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DeleteLoopbackReply defines 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) Marshal ¶
func (m *DeleteLoopbackReply) Marshal(b []byte) ([]byte, error)
func (*DeleteLoopbackReply) Reset ¶
func (m *DeleteLoopbackReply) Reset()
func (*DeleteLoopbackReply) Size ¶
func (m *DeleteLoopbackReply) Size() (size int)
func (*DeleteLoopbackReply) Unmarshal ¶
func (m *DeleteLoopbackReply) Unmarshal(b []byte) error
type DeleteSubif ¶
type DeleteSubif struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
DeleteSubif defines 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 ¶
func (m *DeleteSubif) Reset()
func (*DeleteSubif) Size ¶
func (m *DeleteSubif) Size() (size int)
func (*DeleteSubif) Unmarshal ¶
func (m *DeleteSubif) Unmarshal(b []byte) error
type DeleteSubifReply ¶
type DeleteSubifReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
DeleteSubifReply defines 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 ¶
func (m *DeleteSubifReply) Reset()
func (*DeleteSubifReply) Size ¶
func (m *DeleteSubifReply) Size() (size int)
func (*DeleteSubifReply) Unmarshal ¶
func (m *DeleteSubifReply) Unmarshal(b []byte) error
type HwInterfaceSetMtu ¶
type HwInterfaceSetMtu struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Mtu uint16 `binapi:"u16,name=mtu" json:"mtu,omitempty"` }
HwInterfaceSetMtu defines 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 ¶
func (m *HwInterfaceSetMtu) Reset()
func (*HwInterfaceSetMtu) Size ¶
func (m *HwInterfaceSetMtu) Size() (size int)
func (*HwInterfaceSetMtu) Unmarshal ¶
func (m *HwInterfaceSetMtu) Unmarshal(b []byte) error
type HwInterfaceSetMtuReply ¶
type HwInterfaceSetMtuReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
HwInterfaceSetMtuReply defines 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) Marshal ¶
func (m *HwInterfaceSetMtuReply) Marshal(b []byte) ([]byte, error)
func (*HwInterfaceSetMtuReply) Reset ¶
func (m *HwInterfaceSetMtuReply) Reset()
func (*HwInterfaceSetMtuReply) Size ¶
func (m *HwInterfaceSetMtuReply) Size() (size int)
func (*HwInterfaceSetMtuReply) Unmarshal ¶
func (m *HwInterfaceSetMtuReply) Unmarshal(b []byte) error
type InterfaceNameRenumber ¶
type InterfaceNameRenumber struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` NewShowDevInstance uint32 `binapi:"u32,name=new_show_dev_instance" json:"new_show_dev_instance,omitempty"` }
InterfaceNameRenumber defines 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) Marshal ¶
func (m *InterfaceNameRenumber) Marshal(b []byte) ([]byte, error)
func (*InterfaceNameRenumber) Reset ¶
func (m *InterfaceNameRenumber) Reset()
func (*InterfaceNameRenumber) Size ¶
func (m *InterfaceNameRenumber) Size() (size int)
func (*InterfaceNameRenumber) Unmarshal ¶
func (m *InterfaceNameRenumber) Unmarshal(b []byte) error
type InterfaceNameRenumberReply ¶
type InterfaceNameRenumberReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
InterfaceNameRenumberReply defines 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) Marshal ¶
func (m *InterfaceNameRenumberReply) Marshal(b []byte) ([]byte, error)
func (*InterfaceNameRenumberReply) Reset ¶
func (m *InterfaceNameRenumberReply) Reset()
func (*InterfaceNameRenumberReply) Size ¶
func (m *InterfaceNameRenumberReply) Size() (size int)
func (*InterfaceNameRenumberReply) Unmarshal ¶
func (m *InterfaceNameRenumberReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { 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) SwInterfaceAddressReplaceBegin(ctx context.Context, in *SwInterfaceAddressReplaceBegin) (*SwInterfaceAddressReplaceBeginReply, error) SwInterfaceAddressReplaceEnd(ctx context.Context, in *SwInterfaceAddressReplaceEnd) (*SwInterfaceAddressReplaceEndReply, error) SwInterfaceClearStats(ctx context.Context, in *SwInterfaceClearStats) (*SwInterfaceClearStatsReply, error) SwInterfaceDump(ctx context.Context, in *SwInterfaceDump) (RPCService_SwInterfaceDumpClient, error) SwInterfaceGetMacAddress(ctx context.Context, in *SwInterfaceGetMacAddress) (*SwInterfaceGetMacAddressReply, error) SwInterfaceGetTable(ctx context.Context, in *SwInterfaceGetTable) (*SwInterfaceGetTableReply, error) SwInterfaceRxPlacementDump(ctx context.Context, in *SwInterfaceRxPlacementDump) (RPCService_SwInterfaceRxPlacementDumpClient, 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 defines RPC service interface.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_SwInterfaceDumpClient ¶
type RPCService_SwInterfaceDumpClient interface { Recv() (*SwInterfaceDetails, error) api.Stream }
type RPCService_SwInterfaceRxPlacementDumpClient ¶
type RPCService_SwInterfaceRxPlacementDumpClient interface { Recv() (*SwInterfaceRxPlacementDetails, error) api.Stream }
type SwInterfaceAddDelAddress ¶
type SwInterfaceAddDelAddress struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` DelAll bool `binapi:"bool,name=del_all" json:"del_all,omitempty"` Prefix ip_types.AddressWithPrefix `binapi:"address_with_prefix,name=prefix" json:"prefix,omitempty"` }
SwInterfaceAddDelAddress defines 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) Marshal ¶
func (m *SwInterfaceAddDelAddress) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceAddDelAddress) Reset ¶
func (m *SwInterfaceAddDelAddress) Reset()
func (*SwInterfaceAddDelAddress) Size ¶
func (m *SwInterfaceAddDelAddress) Size() (size int)
func (*SwInterfaceAddDelAddress) Unmarshal ¶
func (m *SwInterfaceAddDelAddress) Unmarshal(b []byte) error
type SwInterfaceAddDelAddressReply ¶
type SwInterfaceAddDelAddressReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceAddDelAddressReply defines 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) Marshal ¶
func (m *SwInterfaceAddDelAddressReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceAddDelAddressReply) Reset ¶
func (m *SwInterfaceAddDelAddressReply) Reset()
func (*SwInterfaceAddDelAddressReply) Size ¶
func (m *SwInterfaceAddDelAddressReply) Size() (size int)
func (*SwInterfaceAddDelAddressReply) Unmarshal ¶
func (m *SwInterfaceAddDelAddressReply) Unmarshal(b []byte) error
type SwInterfaceAddDelMacAddress ¶
type SwInterfaceAddDelMacAddress struct { SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` Addr ethernet_types.MacAddress `binapi:"mac_address,name=addr" json:"addr,omitempty"` IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"` }
SwInterfaceAddDelMacAddress defines message 'sw_interface_add_del_mac_address'.
func (*SwInterfaceAddDelMacAddress) GetCrcString ¶
func (*SwInterfaceAddDelMacAddress) GetCrcString() string
func (*SwInterfaceAddDelMacAddress) GetMessageName ¶
func (*SwInterfaceAddDelMacAddress) GetMessageName() string
func (*SwInterfaceAddDelMacAddress) GetMessageType ¶
func (*SwInterfaceAddDelMacAddress) GetMessageType() api.MessageType
func (*SwInterfaceAddDelMacAddress) Marshal ¶
func (m *SwInterfaceAddDelMacAddress) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceAddDelMacAddress) Reset ¶
func (m *SwInterfaceAddDelMacAddress) Reset()
func (*SwInterfaceAddDelMacAddress) Size ¶
func (m *SwInterfaceAddDelMacAddress) Size() (size int)
func (*SwInterfaceAddDelMacAddress) Unmarshal ¶
func (m *SwInterfaceAddDelMacAddress) Unmarshal(b []byte) error
type SwInterfaceAddDelMacAddressReply ¶
type SwInterfaceAddDelMacAddressReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceAddDelMacAddressReply defines message 'sw_interface_add_del_mac_address_reply'.
func (*SwInterfaceAddDelMacAddressReply) GetCrcString ¶
func (*SwInterfaceAddDelMacAddressReply) GetCrcString() string
func (*SwInterfaceAddDelMacAddressReply) GetMessageName ¶
func (*SwInterfaceAddDelMacAddressReply) GetMessageName() string
func (*SwInterfaceAddDelMacAddressReply) GetMessageType ¶
func (*SwInterfaceAddDelMacAddressReply) GetMessageType() api.MessageType
func (*SwInterfaceAddDelMacAddressReply) Marshal ¶
func (m *SwInterfaceAddDelMacAddressReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceAddDelMacAddressReply) Reset ¶
func (m *SwInterfaceAddDelMacAddressReply) Reset()
func (*SwInterfaceAddDelMacAddressReply) Size ¶
func (m *SwInterfaceAddDelMacAddressReply) Size() (size int)
func (*SwInterfaceAddDelMacAddressReply) Unmarshal ¶
func (m *SwInterfaceAddDelMacAddressReply) Unmarshal(b []byte) error
type SwInterfaceAddressReplaceBegin ¶
type SwInterfaceAddressReplaceBegin struct{}
SwInterfaceAddressReplaceBegin defines message 'sw_interface_address_replace_begin'.
func (*SwInterfaceAddressReplaceBegin) GetCrcString ¶
func (*SwInterfaceAddressReplaceBegin) GetCrcString() string
func (*SwInterfaceAddressReplaceBegin) GetMessageName ¶
func (*SwInterfaceAddressReplaceBegin) GetMessageName() string
func (*SwInterfaceAddressReplaceBegin) GetMessageType ¶
func (*SwInterfaceAddressReplaceBegin) GetMessageType() api.MessageType
func (*SwInterfaceAddressReplaceBegin) Marshal ¶
func (m *SwInterfaceAddressReplaceBegin) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceAddressReplaceBegin) Reset ¶
func (m *SwInterfaceAddressReplaceBegin) Reset()
func (*SwInterfaceAddressReplaceBegin) Size ¶
func (m *SwInterfaceAddressReplaceBegin) Size() (size int)
func (*SwInterfaceAddressReplaceBegin) Unmarshal ¶
func (m *SwInterfaceAddressReplaceBegin) Unmarshal(b []byte) error
type SwInterfaceAddressReplaceBeginReply ¶
type SwInterfaceAddressReplaceBeginReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceAddressReplaceBeginReply defines message 'sw_interface_address_replace_begin_reply'.
func (*SwInterfaceAddressReplaceBeginReply) GetCrcString ¶
func (*SwInterfaceAddressReplaceBeginReply) GetCrcString() string
func (*SwInterfaceAddressReplaceBeginReply) GetMessageName ¶
func (*SwInterfaceAddressReplaceBeginReply) GetMessageName() string
func (*SwInterfaceAddressReplaceBeginReply) GetMessageType ¶
func (*SwInterfaceAddressReplaceBeginReply) GetMessageType() api.MessageType
func (*SwInterfaceAddressReplaceBeginReply) Marshal ¶
func (m *SwInterfaceAddressReplaceBeginReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceAddressReplaceBeginReply) Reset ¶
func (m *SwInterfaceAddressReplaceBeginReply) Reset()
func (*SwInterfaceAddressReplaceBeginReply) Size ¶
func (m *SwInterfaceAddressReplaceBeginReply) Size() (size int)
func (*SwInterfaceAddressReplaceBeginReply) Unmarshal ¶
func (m *SwInterfaceAddressReplaceBeginReply) Unmarshal(b []byte) error
type SwInterfaceAddressReplaceEnd ¶
type SwInterfaceAddressReplaceEnd struct{}
SwInterfaceAddressReplaceEnd defines message 'sw_interface_address_replace_end'.
func (*SwInterfaceAddressReplaceEnd) GetCrcString ¶
func (*SwInterfaceAddressReplaceEnd) GetCrcString() string
func (*SwInterfaceAddressReplaceEnd) GetMessageName ¶
func (*SwInterfaceAddressReplaceEnd) GetMessageName() string
func (*SwInterfaceAddressReplaceEnd) GetMessageType ¶
func (*SwInterfaceAddressReplaceEnd) GetMessageType() api.MessageType
func (*SwInterfaceAddressReplaceEnd) Marshal ¶
func (m *SwInterfaceAddressReplaceEnd) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceAddressReplaceEnd) Reset ¶
func (m *SwInterfaceAddressReplaceEnd) Reset()
func (*SwInterfaceAddressReplaceEnd) Size ¶
func (m *SwInterfaceAddressReplaceEnd) Size() (size int)
func (*SwInterfaceAddressReplaceEnd) Unmarshal ¶
func (m *SwInterfaceAddressReplaceEnd) Unmarshal(b []byte) error
type SwInterfaceAddressReplaceEndReply ¶
type SwInterfaceAddressReplaceEndReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceAddressReplaceEndReply defines message 'sw_interface_address_replace_end_reply'.
func (*SwInterfaceAddressReplaceEndReply) GetCrcString ¶
func (*SwInterfaceAddressReplaceEndReply) GetCrcString() string
func (*SwInterfaceAddressReplaceEndReply) GetMessageName ¶
func (*SwInterfaceAddressReplaceEndReply) GetMessageName() string
func (*SwInterfaceAddressReplaceEndReply) GetMessageType ¶
func (*SwInterfaceAddressReplaceEndReply) GetMessageType() api.MessageType
func (*SwInterfaceAddressReplaceEndReply) Marshal ¶
func (m *SwInterfaceAddressReplaceEndReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceAddressReplaceEndReply) Reset ¶
func (m *SwInterfaceAddressReplaceEndReply) Reset()
func (*SwInterfaceAddressReplaceEndReply) Size ¶
func (m *SwInterfaceAddressReplaceEndReply) Size() (size int)
func (*SwInterfaceAddressReplaceEndReply) Unmarshal ¶
func (m *SwInterfaceAddressReplaceEndReply) Unmarshal(b []byte) error
type SwInterfaceClearStats ¶
type SwInterfaceClearStats struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
SwInterfaceClearStats defines 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) Marshal ¶
func (m *SwInterfaceClearStats) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceClearStats) Reset ¶
func (m *SwInterfaceClearStats) Reset()
func (*SwInterfaceClearStats) Size ¶
func (m *SwInterfaceClearStats) Size() (size int)
func (*SwInterfaceClearStats) Unmarshal ¶
func (m *SwInterfaceClearStats) Unmarshal(b []byte) error
type SwInterfaceClearStatsReply ¶
type SwInterfaceClearStatsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceClearStatsReply defines 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) Marshal ¶
func (m *SwInterfaceClearStatsReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceClearStatsReply) Reset ¶
func (m *SwInterfaceClearStatsReply) Reset()
func (*SwInterfaceClearStatsReply) Size ¶
func (m *SwInterfaceClearStatsReply) Size() (size int)
func (*SwInterfaceClearStatsReply) Unmarshal ¶
func (m *SwInterfaceClearStatsReply) Unmarshal(b []byte) error
type SwInterfaceDetails ¶
type SwInterfaceDetails struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` SupSwIfIndex uint32 `binapi:"u32,name=sup_sw_if_index" json:"sup_sw_if_index,omitempty"` L2Address ethernet_types.MacAddress `binapi:"mac_address,name=l2_address" json:"l2_address,omitempty"` Flags interface_types.IfStatusFlags `binapi:"if_status_flags,name=flags" json:"flags,omitempty"` Type interface_types.IfType `binapi:"if_type,name=type" json:"type,omitempty"` LinkDuplex interface_types.LinkDuplex `binapi:"link_duplex,name=link_duplex" json:"link_duplex,omitempty"` LinkSpeed uint32 `binapi:"u32,name=link_speed" json:"link_speed,omitempty"` LinkMtu uint16 `binapi:"u16,name=link_mtu" json:"link_mtu,omitempty"` Mtu []uint32 `binapi:"u32[4],name=mtu" json:"mtu,omitempty"` SubID uint32 `binapi:"u32,name=sub_id" json:"sub_id,omitempty"` SubNumberOfTags uint8 `binapi:"u8,name=sub_number_of_tags" json:"sub_number_of_tags,omitempty"` SubOuterVlanID uint16 `binapi:"u16,name=sub_outer_vlan_id" json:"sub_outer_vlan_id,omitempty"` SubInnerVlanID uint16 `binapi:"u16,name=sub_inner_vlan_id" json:"sub_inner_vlan_id,omitempty"` SubIfFlags interface_types.SubIfFlags `binapi:"sub_if_flags,name=sub_if_flags" json:"sub_if_flags,omitempty"` VtrOp uint32 `binapi:"u32,name=vtr_op" json:"vtr_op,omitempty"` VtrPushDot1q uint32 `binapi:"u32,name=vtr_push_dot1q" json:"vtr_push_dot1q,omitempty"` VtrTag1 uint32 `binapi:"u32,name=vtr_tag1" json:"vtr_tag1,omitempty"` VtrTag2 uint32 `binapi:"u32,name=vtr_tag2" json:"vtr_tag2,omitempty"` OuterTag uint16 `binapi:"u16,name=outer_tag" json:"outer_tag,omitempty"` BDmac ethernet_types.MacAddress `binapi:"mac_address,name=b_dmac" json:"b_dmac,omitempty"` BSmac ethernet_types.MacAddress `binapi:"mac_address,name=b_smac" json:"b_smac,omitempty"` BVlanid uint16 `binapi:"u16,name=b_vlanid" json:"b_vlanid,omitempty"` ISid uint32 `binapi:"u32,name=i_sid" json:"i_sid,omitempty"` InterfaceName string `binapi:"string[64],name=interface_name" json:"interface_name,omitempty"` InterfaceDevType string `binapi:"string[64],name=interface_dev_type" json:"interface_dev_type,omitempty"` Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"` }
SwInterfaceDetails defines 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 ¶
func (m *SwInterfaceDetails) Reset()
func (*SwInterfaceDetails) Size ¶
func (m *SwInterfaceDetails) Size() (size int)
func (*SwInterfaceDetails) Unmarshal ¶
func (m *SwInterfaceDetails) Unmarshal(b []byte) error
type SwInterfaceDump ¶
type SwInterfaceDump struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"` NameFilterValid bool `binapi:"bool,name=name_filter_valid" json:"name_filter_valid,omitempty"` NameFilter string `binapi:"string[],name=name_filter" json:"name_filter,omitempty"` }
SwInterfaceDump defines 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 ¶
func (m *SwInterfaceDump) Reset()
func (*SwInterfaceDump) Size ¶
func (m *SwInterfaceDump) Size() (size int)
func (*SwInterfaceDump) Unmarshal ¶
func (m *SwInterfaceDump) Unmarshal(b []byte) error
type SwInterfaceEvent ¶
type SwInterfaceEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Flags interface_types.IfStatusFlags `binapi:"if_status_flags,name=flags" json:"flags,omitempty"` Deleted bool `binapi:"bool,name=deleted" json:"deleted,omitempty"` }
SwInterfaceEvent defines 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 ¶
func (m *SwInterfaceEvent) Reset()
func (*SwInterfaceEvent) Size ¶
func (m *SwInterfaceEvent) Size() (size int)
func (*SwInterfaceEvent) Unmarshal ¶
func (m *SwInterfaceEvent) Unmarshal(b []byte) error
type SwInterfaceGetMacAddress ¶
type SwInterfaceGetMacAddress struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
SwInterfaceGetMacAddress defines 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) Marshal ¶
func (m *SwInterfaceGetMacAddress) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceGetMacAddress) Reset ¶
func (m *SwInterfaceGetMacAddress) Reset()
func (*SwInterfaceGetMacAddress) Size ¶
func (m *SwInterfaceGetMacAddress) Size() (size int)
func (*SwInterfaceGetMacAddress) Unmarshal ¶
func (m *SwInterfaceGetMacAddress) Unmarshal(b []byte) error
type SwInterfaceGetMacAddressReply ¶
type SwInterfaceGetMacAddressReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` MacAddress ethernet_types.MacAddress `binapi:"mac_address,name=mac_address" json:"mac_address,omitempty"` }
SwInterfaceGetMacAddressReply defines 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) Marshal ¶
func (m *SwInterfaceGetMacAddressReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceGetMacAddressReply) Reset ¶
func (m *SwInterfaceGetMacAddressReply) Reset()
func (*SwInterfaceGetMacAddressReply) Size ¶
func (m *SwInterfaceGetMacAddressReply) Size() (size int)
func (*SwInterfaceGetMacAddressReply) Unmarshal ¶
func (m *SwInterfaceGetMacAddressReply) Unmarshal(b []byte) error
type SwInterfaceGetTable ¶
type SwInterfaceGetTable struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"` }
SwInterfaceGetTable defines 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) Marshal ¶
func (m *SwInterfaceGetTable) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceGetTable) Reset ¶
func (m *SwInterfaceGetTable) Reset()
func (*SwInterfaceGetTable) Size ¶
func (m *SwInterfaceGetTable) Size() (size int)
func (*SwInterfaceGetTable) Unmarshal ¶
func (m *SwInterfaceGetTable) Unmarshal(b []byte) error
type SwInterfaceGetTableReply ¶
type SwInterfaceGetTableReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` VrfID uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"` }
SwInterfaceGetTableReply defines 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) Marshal ¶
func (m *SwInterfaceGetTableReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceGetTableReply) Reset ¶
func (m *SwInterfaceGetTableReply) Reset()
func (*SwInterfaceGetTableReply) Size ¶
func (m *SwInterfaceGetTableReply) Size() (size int)
func (*SwInterfaceGetTableReply) Unmarshal ¶
func (m *SwInterfaceGetTableReply) Unmarshal(b []byte) error
type SwInterfaceRxPlacementDetails ¶
type SwInterfaceRxPlacementDetails struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` QueueID uint32 `binapi:"u32,name=queue_id" json:"queue_id,omitempty"` WorkerID uint32 `binapi:"u32,name=worker_id" json:"worker_id,omitempty"` Mode interface_types.RxMode `binapi:"rx_mode,name=mode" json:"mode,omitempty"` }
SwInterfaceRxPlacementDetails defines 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) Marshal ¶
func (m *SwInterfaceRxPlacementDetails) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceRxPlacementDetails) Reset ¶
func (m *SwInterfaceRxPlacementDetails) Reset()
func (*SwInterfaceRxPlacementDetails) Size ¶
func (m *SwInterfaceRxPlacementDetails) Size() (size int)
func (*SwInterfaceRxPlacementDetails) Unmarshal ¶
func (m *SwInterfaceRxPlacementDetails) Unmarshal(b []byte) error
type SwInterfaceRxPlacementDump ¶
type SwInterfaceRxPlacementDump struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
SwInterfaceRxPlacementDump defines 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) Marshal ¶
func (m *SwInterfaceRxPlacementDump) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceRxPlacementDump) Reset ¶
func (m *SwInterfaceRxPlacementDump) Reset()
func (*SwInterfaceRxPlacementDump) Size ¶
func (m *SwInterfaceRxPlacementDump) Size() (size int)
func (*SwInterfaceRxPlacementDump) Unmarshal ¶
func (m *SwInterfaceRxPlacementDump) Unmarshal(b []byte) error
type SwInterfaceSetFlags ¶
type SwInterfaceSetFlags struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Flags interface_types.IfStatusFlags `binapi:"if_status_flags,name=flags" json:"flags,omitempty"` }
SwInterfaceSetFlags defines 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) Marshal ¶
func (m *SwInterfaceSetFlags) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetFlags) Reset ¶
func (m *SwInterfaceSetFlags) Reset()
func (*SwInterfaceSetFlags) Size ¶
func (m *SwInterfaceSetFlags) Size() (size int)
func (*SwInterfaceSetFlags) Unmarshal ¶
func (m *SwInterfaceSetFlags) Unmarshal(b []byte) error
type SwInterfaceSetFlagsReply ¶
type SwInterfaceSetFlagsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetFlagsReply defines 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) Marshal ¶
func (m *SwInterfaceSetFlagsReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetFlagsReply) Reset ¶
func (m *SwInterfaceSetFlagsReply) Reset()
func (*SwInterfaceSetFlagsReply) Size ¶
func (m *SwInterfaceSetFlagsReply) Size() (size int)
func (*SwInterfaceSetFlagsReply) Unmarshal ¶
func (m *SwInterfaceSetFlagsReply) Unmarshal(b []byte) error
type SwInterfaceSetIPDirectedBroadcast ¶
type SwInterfaceSetIPDirectedBroadcast struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"` }
SwInterfaceSetIPDirectedBroadcast defines 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) GetMessageType() api.MessageType
func (*SwInterfaceSetIPDirectedBroadcast) Marshal ¶
func (m *SwInterfaceSetIPDirectedBroadcast) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetIPDirectedBroadcast) Reset ¶
func (m *SwInterfaceSetIPDirectedBroadcast) Reset()
func (*SwInterfaceSetIPDirectedBroadcast) Size ¶
func (m *SwInterfaceSetIPDirectedBroadcast) Size() (size int)
func (*SwInterfaceSetIPDirectedBroadcast) Unmarshal ¶
func (m *SwInterfaceSetIPDirectedBroadcast) Unmarshal(b []byte) error
type SwInterfaceSetIPDirectedBroadcastReply ¶
type SwInterfaceSetIPDirectedBroadcastReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetIPDirectedBroadcastReply defines message 'sw_interface_set_ip_directed_broadcast_reply'.
func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString ¶
func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString() string
func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName ¶
func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName() string
func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType ¶
func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType() api.MessageType
func (*SwInterfaceSetIPDirectedBroadcastReply) Marshal ¶
func (m *SwInterfaceSetIPDirectedBroadcastReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetIPDirectedBroadcastReply) Reset ¶
func (m *SwInterfaceSetIPDirectedBroadcastReply) Reset()
func (*SwInterfaceSetIPDirectedBroadcastReply) Size ¶
func (m *SwInterfaceSetIPDirectedBroadcastReply) Size() (size int)
func (*SwInterfaceSetIPDirectedBroadcastReply) Unmarshal ¶
func (m *SwInterfaceSetIPDirectedBroadcastReply) Unmarshal(b []byte) error
type SwInterfaceSetMacAddress ¶
type SwInterfaceSetMacAddress struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` MacAddress ethernet_types.MacAddress `binapi:"mac_address,name=mac_address" json:"mac_address,omitempty"` }
SwInterfaceSetMacAddress defines 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) Marshal ¶
func (m *SwInterfaceSetMacAddress) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetMacAddress) Reset ¶
func (m *SwInterfaceSetMacAddress) Reset()
func (*SwInterfaceSetMacAddress) Size ¶
func (m *SwInterfaceSetMacAddress) Size() (size int)
func (*SwInterfaceSetMacAddress) Unmarshal ¶
func (m *SwInterfaceSetMacAddress) Unmarshal(b []byte) error
type SwInterfaceSetMacAddressReply ¶
type SwInterfaceSetMacAddressReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetMacAddressReply defines 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) Marshal ¶
func (m *SwInterfaceSetMacAddressReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetMacAddressReply) Reset ¶
func (m *SwInterfaceSetMacAddressReply) Reset()
func (*SwInterfaceSetMacAddressReply) Size ¶
func (m *SwInterfaceSetMacAddressReply) Size() (size int)
func (*SwInterfaceSetMacAddressReply) Unmarshal ¶
func (m *SwInterfaceSetMacAddressReply) Unmarshal(b []byte) error
type SwInterfaceSetMtu ¶
type SwInterfaceSetMtu struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Mtu []uint32 `binapi:"u32[4],name=mtu" json:"mtu,omitempty"` }
SwInterfaceSetMtu defines 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 ¶
func (m *SwInterfaceSetMtu) Reset()
func (*SwInterfaceSetMtu) Size ¶
func (m *SwInterfaceSetMtu) Size() (size int)
func (*SwInterfaceSetMtu) Unmarshal ¶
func (m *SwInterfaceSetMtu) Unmarshal(b []byte) error
type SwInterfaceSetMtuReply ¶
type SwInterfaceSetMtuReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetMtuReply defines 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) Marshal ¶
func (m *SwInterfaceSetMtuReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetMtuReply) Reset ¶
func (m *SwInterfaceSetMtuReply) Reset()
func (*SwInterfaceSetMtuReply) Size ¶
func (m *SwInterfaceSetMtuReply) Size() (size int)
func (*SwInterfaceSetMtuReply) Unmarshal ¶
func (m *SwInterfaceSetMtuReply) Unmarshal(b []byte) error
type SwInterfaceSetRxMode ¶
type SwInterfaceSetRxMode struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` QueueIDValid bool `binapi:"bool,name=queue_id_valid" json:"queue_id_valid,omitempty"` QueueID uint32 `binapi:"u32,name=queue_id" json:"queue_id,omitempty"` Mode interface_types.RxMode `binapi:"rx_mode,name=mode" json:"mode,omitempty"` }
SwInterfaceSetRxMode defines 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) Marshal ¶
func (m *SwInterfaceSetRxMode) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetRxMode) Reset ¶
func (m *SwInterfaceSetRxMode) Reset()
func (*SwInterfaceSetRxMode) Size ¶
func (m *SwInterfaceSetRxMode) Size() (size int)
func (*SwInterfaceSetRxMode) Unmarshal ¶
func (m *SwInterfaceSetRxMode) Unmarshal(b []byte) error
type SwInterfaceSetRxModeReply ¶
type SwInterfaceSetRxModeReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetRxModeReply defines 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) Marshal ¶
func (m *SwInterfaceSetRxModeReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetRxModeReply) Reset ¶
func (m *SwInterfaceSetRxModeReply) Reset()
func (*SwInterfaceSetRxModeReply) Size ¶
func (m *SwInterfaceSetRxModeReply) Size() (size int)
func (*SwInterfaceSetRxModeReply) Unmarshal ¶
func (m *SwInterfaceSetRxModeReply) Unmarshal(b []byte) error
type SwInterfaceSetRxPlacement ¶
type SwInterfaceSetRxPlacement struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` QueueID uint32 `binapi:"u32,name=queue_id" json:"queue_id,omitempty"` WorkerID uint32 `binapi:"u32,name=worker_id" json:"worker_id,omitempty"` IsMain bool `binapi:"bool,name=is_main" json:"is_main,omitempty"` }
SwInterfaceSetRxPlacement defines 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) Marshal ¶
func (m *SwInterfaceSetRxPlacement) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetRxPlacement) Reset ¶
func (m *SwInterfaceSetRxPlacement) Reset()
func (*SwInterfaceSetRxPlacement) Size ¶
func (m *SwInterfaceSetRxPlacement) Size() (size int)
func (*SwInterfaceSetRxPlacement) Unmarshal ¶
func (m *SwInterfaceSetRxPlacement) Unmarshal(b []byte) error
type SwInterfaceSetRxPlacementReply ¶
type SwInterfaceSetRxPlacementReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetRxPlacementReply defines 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) GetMessageType() api.MessageType
func (*SwInterfaceSetRxPlacementReply) Marshal ¶
func (m *SwInterfaceSetRxPlacementReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetRxPlacementReply) Reset ¶
func (m *SwInterfaceSetRxPlacementReply) Reset()
func (*SwInterfaceSetRxPlacementReply) Size ¶
func (m *SwInterfaceSetRxPlacementReply) Size() (size int)
func (*SwInterfaceSetRxPlacementReply) Unmarshal ¶
func (m *SwInterfaceSetRxPlacementReply) Unmarshal(b []byte) error
type SwInterfaceSetTable ¶
type SwInterfaceSetTable struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IsIPv6 bool `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"` VrfID uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"` }
SwInterfaceSetTable defines 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) Marshal ¶
func (m *SwInterfaceSetTable) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetTable) Reset ¶
func (m *SwInterfaceSetTable) Reset()
func (*SwInterfaceSetTable) Size ¶
func (m *SwInterfaceSetTable) Size() (size int)
func (*SwInterfaceSetTable) Unmarshal ¶
func (m *SwInterfaceSetTable) Unmarshal(b []byte) error
type SwInterfaceSetTableReply ¶
type SwInterfaceSetTableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetTableReply defines 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) Marshal ¶
func (m *SwInterfaceSetTableReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetTableReply) Reset ¶
func (m *SwInterfaceSetTableReply) Reset()
func (*SwInterfaceSetTableReply) Size ¶
func (m *SwInterfaceSetTableReply) Size() (size int)
func (*SwInterfaceSetTableReply) Unmarshal ¶
func (m *SwInterfaceSetTableReply) Unmarshal(b []byte) error
type SwInterfaceSetUnnumbered ¶
type SwInterfaceSetUnnumbered struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` UnnumberedSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=unnumbered_sw_if_index" json:"unnumbered_sw_if_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` }
SwInterfaceSetUnnumbered defines 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) Marshal ¶
func (m *SwInterfaceSetUnnumbered) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetUnnumbered) Reset ¶
func (m *SwInterfaceSetUnnumbered) Reset()
func (*SwInterfaceSetUnnumbered) Size ¶
func (m *SwInterfaceSetUnnumbered) Size() (size int)
func (*SwInterfaceSetUnnumbered) Unmarshal ¶
func (m *SwInterfaceSetUnnumbered) Unmarshal(b []byte) error
type SwInterfaceSetUnnumberedReply ¶
type SwInterfaceSetUnnumberedReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetUnnumberedReply defines 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) Marshal ¶
func (m *SwInterfaceSetUnnumberedReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetUnnumberedReply) Reset ¶
func (m *SwInterfaceSetUnnumberedReply) Reset()
func (*SwInterfaceSetUnnumberedReply) Size ¶
func (m *SwInterfaceSetUnnumberedReply) Size() (size int)
func (*SwInterfaceSetUnnumberedReply) Unmarshal ¶
func (m *SwInterfaceSetUnnumberedReply) Unmarshal(b []byte) error
type SwInterfaceTagAddDel ¶
type SwInterfaceTagAddDel struct { IsAdd bool `binapi:"bool,name=is_add" json:"is_add,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Tag string `binapi:"string[64],name=tag" json:"tag,omitempty"` }
SwInterfaceTagAddDel defines 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) Marshal ¶
func (m *SwInterfaceTagAddDel) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceTagAddDel) Reset ¶
func (m *SwInterfaceTagAddDel) Reset()
func (*SwInterfaceTagAddDel) Size ¶
func (m *SwInterfaceTagAddDel) Size() (size int)
func (*SwInterfaceTagAddDel) Unmarshal ¶
func (m *SwInterfaceTagAddDel) Unmarshal(b []byte) error
type SwInterfaceTagAddDelReply ¶
type SwInterfaceTagAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceTagAddDelReply defines 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) Marshal ¶
func (m *SwInterfaceTagAddDelReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceTagAddDelReply) Reset ¶
func (m *SwInterfaceTagAddDelReply) Reset()
func (*SwInterfaceTagAddDelReply) Size ¶
func (m *SwInterfaceTagAddDelReply) Size() (size int)
func (*SwInterfaceTagAddDelReply) Unmarshal ¶
func (m *SwInterfaceTagAddDelReply) Unmarshal(b []byte) error
type WantInterfaceEvents ¶
type WantInterfaceEvents struct { EnableDisable uint32 `binapi:"u32,name=enable_disable" json:"enable_disable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
WantInterfaceEvents defines 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) Marshal ¶
func (m *WantInterfaceEvents) Marshal(b []byte) ([]byte, error)
func (*WantInterfaceEvents) Reset ¶
func (m *WantInterfaceEvents) Reset()
func (*WantInterfaceEvents) Size ¶
func (m *WantInterfaceEvents) Size() (size int)
func (*WantInterfaceEvents) Unmarshal ¶
func (m *WantInterfaceEvents) Unmarshal(b []byte) error
type WantInterfaceEventsReply ¶
type WantInterfaceEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantInterfaceEventsReply defines 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) Marshal ¶
func (m *WantInterfaceEventsReply) Marshal(b []byte) ([]byte, error)
func (*WantInterfaceEventsReply) Reset ¶
func (m *WantInterfaceEventsReply) Reset()
func (*WantInterfaceEventsReply) Size ¶
func (m *WantInterfaceEventsReply) Size() (size int)
func (*WantInterfaceEventsReply) Unmarshal ¶
func (m *WantInterfaceEventsReply) Unmarshal(b []byte) error