gso

package
v3.29.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package gso contains generated bindings for API file gso.api.

Contents: - 2 messages

Index

Constants

View Source
const (
	APIFile    = "gso"
	APIVersion = "1.0.0"
	VersionCrc = 0x81a73026
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

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

Jump to

Keyboard shortcuts

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