Documentation ¶
Overview ¶
Package gso contains generated bindings for API file gso.api.
Contents: - 2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type FeatureGsoEnableDisable
- func (*FeatureGsoEnableDisable) GetCrcString() string
- func (*FeatureGsoEnableDisable) GetMessageName() string
- func (*FeatureGsoEnableDisable) GetMessageType() api.MessageType
- func (m *FeatureGsoEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *FeatureGsoEnableDisable) Reset()
- func (m *FeatureGsoEnableDisable) Size() (size int)
- func (m *FeatureGsoEnableDisable) Unmarshal(b []byte) error
- type FeatureGsoEnableDisableReply
- func (*FeatureGsoEnableDisableReply) GetCrcString() string
- func (*FeatureGsoEnableDisableReply) GetMessageName() string
- func (*FeatureGsoEnableDisableReply) GetMessageType() api.MessageType
- func (m *FeatureGsoEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *FeatureGsoEnableDisableReply) Reset()
- func (m *FeatureGsoEnableDisableReply) Size() (size int)
- func (m *FeatureGsoEnableDisableReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "gso" APIVersion = "1.0.0" VersionCrc = 0x81a73026 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type FeatureGsoEnableDisable ¶
type FeatureGsoEnableDisable struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` EnableDisable bool `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"` }
Enable or disable interface feature gso arc
- sw_if_index - The interface to enable/disable gso feature arc.
- enable_disable - set to 1 to enable, 0 to disable gso feature arc
FeatureGsoEnableDisable defines message 'feature_gso_enable_disable'.
func (*FeatureGsoEnableDisable) GetCrcString ¶
func (*FeatureGsoEnableDisable) GetCrcString() string
func (*FeatureGsoEnableDisable) GetMessageName ¶
func (*FeatureGsoEnableDisable) GetMessageName() string
func (*FeatureGsoEnableDisable) GetMessageType ¶
func (*FeatureGsoEnableDisable) GetMessageType() api.MessageType
func (*FeatureGsoEnableDisable) Marshal ¶
func (m *FeatureGsoEnableDisable) Marshal(b []byte) ([]byte, error)
func (*FeatureGsoEnableDisable) Reset ¶
func (m *FeatureGsoEnableDisable) Reset()
func (*FeatureGsoEnableDisable) Size ¶
func (m *FeatureGsoEnableDisable) Size() (size int)
func (*FeatureGsoEnableDisable) Unmarshal ¶
func (m *FeatureGsoEnableDisable) Unmarshal(b []byte) error
type FeatureGsoEnableDisableReply ¶
type FeatureGsoEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
FeatureGsoEnableDisableReply defines message 'feature_gso_enable_disable_reply'.
func (*FeatureGsoEnableDisableReply) GetCrcString ¶
func (*FeatureGsoEnableDisableReply) GetCrcString() string
func (*FeatureGsoEnableDisableReply) GetMessageName ¶
func (*FeatureGsoEnableDisableReply) GetMessageName() string
func (*FeatureGsoEnableDisableReply) GetMessageType ¶
func (*FeatureGsoEnableDisableReply) GetMessageType() api.MessageType
func (*FeatureGsoEnableDisableReply) Marshal ¶
func (m *FeatureGsoEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*FeatureGsoEnableDisableReply) Reset ¶
func (m *FeatureGsoEnableDisableReply) Reset()
func (*FeatureGsoEnableDisableReply) Size ¶
func (m *FeatureGsoEnableDisableReply) Size() (size int)
func (*FeatureGsoEnableDisableReply) Unmarshal ¶
func (m *FeatureGsoEnableDisableReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface {
FeatureGsoEnableDisable(ctx context.Context, in *FeatureGsoEnableDisable) (*FeatureGsoEnableDisableReply, error)
}
RPCService defines RPC service gso.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
Click to show internal directories.
Click to hide internal directories.