Documentation
¶
Overview ¶
Package interfaces contains generated bindings for API file interface.api.
Contents:
7 aliases 10 enums 6 structs 1 union 53 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type Address
- type AddressFamily
- type AddressUnion
- type AddressWithPrefix
- 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 IP4Address
- type IP4AddressWithPrefix
- type IP4Prefix
- type IP6Address
- type IP6AddressWithPrefix
- type IP6Prefix
- type IPDscp
- type IPEcn
- type IPProto
- type IfStatusFlags
- type IfType
- type InterfaceIndex
- 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 LinkDuplex
- type MacAddress
- type Mprefix
- type MtuProto
- type Prefix
- type PrefixMatcher
- type RPCService
- type RPCService_SwInterfaceDumpClient
- type RPCService_SwInterfaceRxPlacementDumpClient
- type RxMode
- type SubIfFlags
- 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 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 = 0xfebc3ffa )
Variables ¶
var ( AddressFamily_name = map[uint32]string{ 0: "ADDRESS_IP4", 1: "ADDRESS_IP6", } AddressFamily_value = map[string]uint32{ "ADDRESS_IP4": 0, "ADDRESS_IP6": 1, } )
var ( IfStatusFlags_name = map[uint32]string{ 1: "IF_STATUS_API_FLAG_ADMIN_UP", 2: "IF_STATUS_API_FLAG_LINK_UP", } IfStatusFlags_value = map[string]uint32{ "IF_STATUS_API_FLAG_ADMIN_UP": 1, "IF_STATUS_API_FLAG_LINK_UP": 2, } )
var ( IfType_name = map[uint32]string{ 1: "IF_API_TYPE_HARDWARE", 2: "IF_API_TYPE_SUB", 3: "IF_API_TYPE_P2P", 4: "IF_API_TYPE_PIPE", } IfType_value = map[string]uint32{ "IF_API_TYPE_HARDWARE": 1, "IF_API_TYPE_SUB": 2, "IF_API_TYPE_P2P": 3, "IF_API_TYPE_PIPE": 4, } )
var ( IPDscp_name = map[uint8]string{ 0: "IP_API_DSCP_CS0", 8: "IP_API_DSCP_CS1", 10: "IP_API_DSCP_AF11", 12: "IP_API_DSCP_AF12", 14: "IP_API_DSCP_AF13", 16: "IP_API_DSCP_CS2", 18: "IP_API_DSCP_AF21", 20: "IP_API_DSCP_AF22", 22: "IP_API_DSCP_AF23", 24: "IP_API_DSCP_CS3", 26: "IP_API_DSCP_AF31", 28: "IP_API_DSCP_AF32", 30: "IP_API_DSCP_AF33", 32: "IP_API_DSCP_CS4", 34: "IP_API_DSCP_AF41", 36: "IP_API_DSCP_AF42", 38: "IP_API_DSCP_AF43", 40: "IP_API_DSCP_CS5", 46: "IP_API_DSCP_EF", 48: "IP_API_DSCP_CS6", 50: "IP_API_DSCP_CS7", } IPDscp_value = map[string]uint8{ "IP_API_DSCP_CS0": 0, "IP_API_DSCP_CS1": 8, "IP_API_DSCP_AF11": 10, "IP_API_DSCP_AF12": 12, "IP_API_DSCP_AF13": 14, "IP_API_DSCP_CS2": 16, "IP_API_DSCP_AF21": 18, "IP_API_DSCP_AF22": 20, "IP_API_DSCP_AF23": 22, "IP_API_DSCP_CS3": 24, "IP_API_DSCP_AF31": 26, "IP_API_DSCP_AF32": 28, "IP_API_DSCP_AF33": 30, "IP_API_DSCP_CS4": 32, "IP_API_DSCP_AF41": 34, "IP_API_DSCP_AF42": 36, "IP_API_DSCP_AF43": 38, "IP_API_DSCP_CS5": 40, "IP_API_DSCP_EF": 46, "IP_API_DSCP_CS6": 48, "IP_API_DSCP_CS7": 50, } )
var ( IPEcn_name = map[uint8]string{ 0: "IP_API_ECN_NONE", 1: "IP_API_ECN_ECT0", 2: "IP_API_ECN_ECT1", 3: "IP_API_ECN_CE", } IPEcn_value = map[string]uint8{ "IP_API_ECN_NONE": 0, "IP_API_ECN_ECT0": 1, "IP_API_ECN_ECT1": 2, "IP_API_ECN_CE": 3, } )
var ( IPProto_name = map[uint32]string{ 0: "IP_API_PROTO_HOPOPT", 1: "IP_API_PROTO_ICMP", 2: "IP_API_PROTO_IGMP", 6: "IP_API_PROTO_TCP", 17: "IP_API_PROTO_UDP", 47: "IP_API_PROTO_GRE", 50: "IP_API_PROTO_AH", 51: "IP_API_PROTO_ESP", 88: "IP_API_PROTO_EIGRP", 89: "IP_API_PROTO_OSPF", 132: "IP_API_PROTO_SCTP", 255: "IP_API_PROTO_RESERVED", } IPProto_value = map[string]uint32{ "IP_API_PROTO_HOPOPT": 0, "IP_API_PROTO_ICMP": 1, "IP_API_PROTO_IGMP": 2, "IP_API_PROTO_TCP": 6, "IP_API_PROTO_UDP": 17, "IP_API_PROTO_GRE": 47, "IP_API_PROTO_AH": 50, "IP_API_PROTO_ESP": 51, "IP_API_PROTO_EIGRP": 88, "IP_API_PROTO_OSPF": 89, "IP_API_PROTO_SCTP": 132, "IP_API_PROTO_RESERVED": 255, } )
var ( LinkDuplex_name = map[uint32]string{ 0: "LINK_DUPLEX_API_UNKNOWN", 1: "LINK_DUPLEX_API_HALF", 2: "LINK_DUPLEX_API_FULL", } LinkDuplex_value = map[string]uint32{ "LINK_DUPLEX_API_UNKNOWN": 0, "LINK_DUPLEX_API_HALF": 1, "LINK_DUPLEX_API_FULL": 2, } )
var ( MtuProto_name = map[uint32]string{ 1: "MTU_PROTO_API_L3", 2: "MTU_PROTO_API_IP4", 3: "MTU_PROTO_API_IP6", 4: "MTU_PROTO_API_MPLS", 5: "MTU_PROTO_API_N", } MtuProto_value = map[string]uint32{ "MTU_PROTO_API_L3": 1, "MTU_PROTO_API_IP4": 2, "MTU_PROTO_API_IP6": 3, "MTU_PROTO_API_MPLS": 4, "MTU_PROTO_API_N": 5, } )
var ( RxMode_name = map[uint32]string{ 0: "RX_MODE_API_UNKNOWN", 1: "RX_MODE_API_POLLING", 2: "RX_MODE_API_INTERRUPT", 3: "RX_MODE_API_ADAPTIVE", 4: "RX_MODE_API_DEFAULT", } RxMode_value = map[string]uint32{ "RX_MODE_API_UNKNOWN": 0, "RX_MODE_API_POLLING": 1, "RX_MODE_API_INTERRUPT": 2, "RX_MODE_API_ADAPTIVE": 3, "RX_MODE_API_DEFAULT": 4, } )
var ( SubIfFlags_name = map[uint32]string{ 1: "SUB_IF_API_FLAG_NO_TAGS", 2: "SUB_IF_API_FLAG_ONE_TAG", 4: "SUB_IF_API_FLAG_TWO_TAGS", 8: "SUB_IF_API_FLAG_DOT1AD", 16: "SUB_IF_API_FLAG_EXACT_MATCH", 32: "SUB_IF_API_FLAG_DEFAULT", 64: "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY", 128: "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY", 254: "SUB_IF_API_FLAG_MASK_VNET", 256: "SUB_IF_API_FLAG_DOT1AH", } SubIfFlags_value = map[string]uint32{ "SUB_IF_API_FLAG_NO_TAGS": 1, "SUB_IF_API_FLAG_ONE_TAG": 2, "SUB_IF_API_FLAG_TWO_TAGS": 4, "SUB_IF_API_FLAG_DOT1AD": 8, "SUB_IF_API_FLAG_EXACT_MATCH": 16, "SUB_IF_API_FLAG_DEFAULT": 32, "SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY": 64, "SUB_IF_API_FLAG_INNER_VLAN_ID_ANY": 128, "SUB_IF_API_FLAG_MASK_VNET": 254, "SUB_IF_API_FLAG_DOT1AH": 256, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type Address ¶
type Address struct {
Af AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
Un AddressUnion `binapi:"address_union,name=un" json:"un,omitempty"`
}
Address defines type 'address'.
func ParseAddress ¶
func (*Address) MarshalText ¶
func (*Address) UnmarshalText ¶
type AddressFamily ¶
type AddressFamily uint32
AddressFamily defines enum 'address_family'.
const ( ADDRESS_IP4 AddressFamily = 0 ADDRESS_IP6 AddressFamily = 1 )
func (AddressFamily) String ¶
func (x AddressFamily) String() string
type AddressUnion ¶
type AddressUnion struct {
// IP4 *IP4Address
// IP6 *IP6Address
XXX_UnionData [16]byte
}
AddressUnion defines union 'address_union'.
func AddressUnionIP4 ¶
func AddressUnionIP4(a IP4Address) (u AddressUnion)
func AddressUnionIP6 ¶
func AddressUnionIP6(a IP6Address) (u AddressUnion)
func (*AddressUnion) GetIP4 ¶
func (u *AddressUnion) GetIP4() (a IP4Address)
func (*AddressUnion) GetIP6 ¶
func (u *AddressUnion) GetIP6() (a IP6Address)
func (*AddressUnion) SetIP4 ¶
func (u *AddressUnion) SetIP4(a IP4Address)
func (*AddressUnion) SetIP6 ¶
func (u *AddressUnion) SetIP6(a IP6Address)
type AddressWithPrefix ¶
type AddressWithPrefix Prefix
AddressWithPrefix defines alias 'address_with_prefix'.
func ParseAddressWithPrefix ¶
func ParseAddressWithPrefix(s string) (AddressWithPrefix, error)
func (*AddressWithPrefix) MarshalText ¶
func (x *AddressWithPrefix) MarshalText() ([]byte, error)
func (AddressWithPrefix) String ¶
func (x AddressWithPrefix) String() string
func (*AddressWithPrefix) UnmarshalText ¶
func (x *AddressWithPrefix) UnmarshalText(text []byte) error
type CollectDetailedInterfaceStats ¶
type CollectDetailedInterfaceStats struct {
SwIfIndex 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 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 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 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 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 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 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 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 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 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 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 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 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 IP4Address ¶
type IP4Address [4]uint8
IP4Address defines alias 'ip4_address'.
func ParseIP4Address ¶
func ParseIP4Address(s string) (IP4Address, error)
func (*IP4Address) MarshalText ¶
func (x *IP4Address) MarshalText() ([]byte, error)
func (IP4Address) String ¶
func (x IP4Address) String() string
func (IP4Address) ToIP ¶
func (x IP4Address) ToIP() net.IP
func (*IP4Address) UnmarshalText ¶
func (x *IP4Address) UnmarshalText(text []byte) error
type IP4AddressWithPrefix ¶
type IP4AddressWithPrefix IP4Prefix
IP4AddressWithPrefix defines alias 'ip4_address_with_prefix'.
type IP4Prefix ¶
type IP4Prefix struct {
Address IP4Address `binapi:"ip4_address,name=address" json:"address,omitempty"`
Len uint8 `binapi:"u8,name=len" json:"len,omitempty"`
}
IP4Prefix defines type 'ip4_prefix'.
func ParseIP4Prefix ¶
func (*IP4Prefix) MarshalText ¶
func (*IP4Prefix) UnmarshalText ¶
type IP6Address ¶
type IP6Address [16]uint8
IP6Address defines alias 'ip6_address'.
func ParseIP6Address ¶
func ParseIP6Address(s string) (IP6Address, error)
func (*IP6Address) MarshalText ¶
func (x *IP6Address) MarshalText() ([]byte, error)
func (IP6Address) String ¶
func (x IP6Address) String() string
func (IP6Address) ToIP ¶
func (x IP6Address) ToIP() net.IP
func (*IP6Address) UnmarshalText ¶
func (x *IP6Address) UnmarshalText(text []byte) error
type IP6AddressWithPrefix ¶
type IP6AddressWithPrefix IP6Prefix
IP6AddressWithPrefix defines alias 'ip6_address_with_prefix'.
type IP6Prefix ¶
type IP6Prefix struct {
Address IP6Address `binapi:"ip6_address,name=address" json:"address,omitempty"`
Len uint8 `binapi:"u8,name=len" json:"len,omitempty"`
}
IP6Prefix defines type 'ip6_prefix'.
func ParseIP6Prefix ¶
func (*IP6Prefix) MarshalText ¶
func (*IP6Prefix) UnmarshalText ¶
type IPDscp ¶
type IPDscp uint8
IPDscp defines enum 'ip_dscp'.
const ( IP_API_DSCP_CS0 IPDscp = 0 IP_API_DSCP_CS1 IPDscp = 8 IP_API_DSCP_AF11 IPDscp = 10 IP_API_DSCP_AF12 IPDscp = 12 IP_API_DSCP_AF13 IPDscp = 14 IP_API_DSCP_CS2 IPDscp = 16 IP_API_DSCP_AF21 IPDscp = 18 IP_API_DSCP_AF22 IPDscp = 20 IP_API_DSCP_AF23 IPDscp = 22 IP_API_DSCP_CS3 IPDscp = 24 IP_API_DSCP_AF31 IPDscp = 26 IP_API_DSCP_AF32 IPDscp = 28 IP_API_DSCP_AF33 IPDscp = 30 IP_API_DSCP_CS4 IPDscp = 32 IP_API_DSCP_AF41 IPDscp = 34 IP_API_DSCP_AF42 IPDscp = 36 IP_API_DSCP_AF43 IPDscp = 38 IP_API_DSCP_CS5 IPDscp = 40 IP_API_DSCP_EF IPDscp = 46 IP_API_DSCP_CS6 IPDscp = 48 IP_API_DSCP_CS7 IPDscp = 50 )
type IPProto ¶
type IPProto uint32
IPProto defines enum 'ip_proto'.
const ( IP_API_PROTO_HOPOPT IPProto = 0 IP_API_PROTO_ICMP IPProto = 1 IP_API_PROTO_IGMP IPProto = 2 IP_API_PROTO_TCP IPProto = 6 IP_API_PROTO_UDP IPProto = 17 IP_API_PROTO_GRE IPProto = 47 IP_API_PROTO_AH IPProto = 50 IP_API_PROTO_ESP IPProto = 51 IP_API_PROTO_EIGRP IPProto = 88 IP_API_PROTO_OSPF IPProto = 89 IP_API_PROTO_SCTP IPProto = 132 IP_API_PROTO_RESERVED IPProto = 255 )
type IfStatusFlags ¶
type IfStatusFlags uint32
IfStatusFlags defines enum 'if_status_flags'.
const ( IF_STATUS_API_FLAG_ADMIN_UP IfStatusFlags = 1 IF_STATUS_API_FLAG_LINK_UP IfStatusFlags = 2 )
func (IfStatusFlags) String ¶
func (x IfStatusFlags) String() string
type InterfaceNameRenumber ¶
type InterfaceNameRenumber struct {
SwIfIndex 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 LinkDuplex ¶
type LinkDuplex uint32
LinkDuplex defines enum 'link_duplex'.
const ( LINK_DUPLEX_API_UNKNOWN LinkDuplex = 0 LINK_DUPLEX_API_HALF LinkDuplex = 1 LINK_DUPLEX_API_FULL LinkDuplex = 2 )
func (LinkDuplex) String ¶
func (x LinkDuplex) String() string
type MacAddress ¶
type MacAddress [6]uint8
MacAddress defines alias 'mac_address'.
func ParseMacAddress ¶
func ParseMacAddress(s string) (MacAddress, error)
func (*MacAddress) MarshalText ¶
func (x *MacAddress) MarshalText() ([]byte, error)
func (MacAddress) String ¶
func (x MacAddress) String() string
func (MacAddress) ToMAC ¶
func (x MacAddress) ToMAC() net.HardwareAddr
func (*MacAddress) UnmarshalText ¶
func (x *MacAddress) UnmarshalText(text []byte) error
type Mprefix ¶
type Mprefix struct {
Af AddressFamily `binapi:"address_family,name=af" json:"af,omitempty"`
GrpAddressLength uint16 `binapi:"u16,name=grp_address_length" json:"grp_address_length,omitempty"`
GrpAddress AddressUnion `binapi:"address_union,name=grp_address" json:"grp_address,omitempty"`
SrcAddress AddressUnion `binapi:"address_union,name=src_address" json:"src_address,omitempty"`
}
Mprefix defines type 'mprefix'.
type Prefix ¶
type Prefix struct {
Address Address `binapi:"address,name=address" json:"address,omitempty"`
Len uint8 `binapi:"u8,name=len" json:"len,omitempty"`
}
Prefix defines type 'prefix'.
func ParsePrefix ¶
func (*Prefix) MarshalText ¶
func (*Prefix) UnmarshalText ¶
type PrefixMatcher ¶
type PrefixMatcher struct {
Le uint8 `binapi:"u8,name=le" json:"le,omitempty"`
Ge uint8 `binapi:"u8,name=ge" json:"ge,omitempty"`
}
PrefixMatcher defines type 'prefix_matcher'.
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)
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 SubIfFlags ¶
type SubIfFlags uint32
SubIfFlags defines enum 'sub_if_flags'.
const ( SUB_IF_API_FLAG_NO_TAGS SubIfFlags = 1 SUB_IF_API_FLAG_ONE_TAG SubIfFlags = 2 SUB_IF_API_FLAG_TWO_TAGS SubIfFlags = 4 SUB_IF_API_FLAG_DOT1AD SubIfFlags = 8 SUB_IF_API_FLAG_EXACT_MATCH SubIfFlags = 16 SUB_IF_API_FLAG_DEFAULT SubIfFlags = 32 SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY SubIfFlags = 64 SUB_IF_API_FLAG_INNER_VLAN_ID_ANY SubIfFlags = 128 SUB_IF_API_FLAG_MASK_VNET SubIfFlags = 254 SUB_IF_API_FLAG_DOT1AH SubIfFlags = 256 )
func (SubIfFlags) String ¶
func (x SubIfFlags) String() string
type SwInterfaceAddDelAddress ¶
type SwInterfaceAddDelAddress struct {
SwIfIndex 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 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 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 SwInterfaceClearStats ¶
type SwInterfaceClearStats struct {
SwIfIndex 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 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 MacAddress `binapi:"mac_address,name=l2_address" json:"l2_address,omitempty"`
Flags IfStatusFlags `binapi:"if_status_flags,name=flags" json:"flags,omitempty"`
Type IfType `binapi:"if_type,name=type" json:"type,omitempty"`
LinkDuplex 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 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 MacAddress `binapi:"mac_address,name=b_dmac" json:"b_dmac,omitempty"`
BSmac 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 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 InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
Flags 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 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 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 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 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 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 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 InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
Flags 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 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 InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
MacAddress 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 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 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 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 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 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 InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
UnnumberedSwIfIndex 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 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