Documentation ¶
Overview ¶
Package mss_clamp contains generated bindings for API file mss_clamp.api.
Contents:
1 enum 5 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type MssClampDetails
- func (*MssClampDetails) GetCrcString() string
- func (*MssClampDetails) GetMessageName() string
- func (*MssClampDetails) GetMessageType() api.MessageType
- func (m *MssClampDetails) Marshal(b []byte) ([]byte, error)
- func (m *MssClampDetails) Reset()
- func (m *MssClampDetails) Size() (size int)
- func (m *MssClampDetails) Unmarshal(b []byte) error
- type MssClampDir
- type MssClampEnableDisable
- func (*MssClampEnableDisable) GetCrcString() string
- func (*MssClampEnableDisable) GetMessageName() string
- func (*MssClampEnableDisable) GetMessageType() api.MessageType
- func (m *MssClampEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *MssClampEnableDisable) Reset()
- func (m *MssClampEnableDisable) Size() (size int)
- func (m *MssClampEnableDisable) Unmarshal(b []byte) error
- type MssClampEnableDisableReply
- func (*MssClampEnableDisableReply) GetCrcString() string
- func (*MssClampEnableDisableReply) GetMessageName() string
- func (*MssClampEnableDisableReply) GetMessageType() api.MessageType
- func (m *MssClampEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *MssClampEnableDisableReply) Reset()
- func (m *MssClampEnableDisableReply) Size() (size int)
- func (m *MssClampEnableDisableReply) Unmarshal(b []byte) error
- type MssClampGet
- func (*MssClampGet) GetCrcString() string
- func (*MssClampGet) GetMessageName() string
- func (*MssClampGet) GetMessageType() api.MessageType
- func (m *MssClampGet) Marshal(b []byte) ([]byte, error)
- func (m *MssClampGet) Reset()
- func (m *MssClampGet) Size() (size int)
- func (m *MssClampGet) Unmarshal(b []byte) error
- type MssClampGetReply
- func (*MssClampGetReply) GetCrcString() string
- func (*MssClampGetReply) GetMessageName() string
- func (*MssClampGetReply) GetMessageType() api.MessageType
- func (m *MssClampGetReply) Marshal(b []byte) ([]byte, error)
- func (m *MssClampGetReply) Reset()
- func (m *MssClampGetReply) Size() (size int)
- func (m *MssClampGetReply) Unmarshal(b []byte) error
- type RPCService
- type RPCService_MssClampGetClient
Constants ¶
View Source
const ( APIFile = "mss_clamp" APIVersion = "1.0.0" VersionCrc = 0xea8186c0 )
Variables ¶
View Source
var ( MssClampDir_name = map[uint8]string{ 0: "MSS_CLAMP_DIR_NONE", 1: "MSS_CLAMP_DIR_RX", 2: "MSS_CLAMP_DIR_TX", } MssClampDir_value = map[string]uint8{ "MSS_CLAMP_DIR_NONE": 0, "MSS_CLAMP_DIR_RX": 1, "MSS_CLAMP_DIR_TX": 2, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type MssClampDetails ¶
type MssClampDetails struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IPv4Mss uint16 `binapi:"u16,name=ipv4_mss" json:"ipv4_mss,omitempty"` IPv6Mss uint16 `binapi:"u16,name=ipv6_mss" json:"ipv6_mss,omitempty"` IPv4Direction MssClampDir `binapi:"mss_clamp_dir,name=ipv4_direction" json:"ipv4_direction,omitempty"` IPv6Direction MssClampDir `binapi:"mss_clamp_dir,name=ipv6_direction" json:"ipv6_direction,omitempty"` }
MssClampDetails defines message 'mss_clamp_details'.
func (*MssClampDetails) GetCrcString ¶
func (*MssClampDetails) GetCrcString() string
func (*MssClampDetails) GetMessageName ¶
func (*MssClampDetails) GetMessageName() string
func (*MssClampDetails) GetMessageType ¶
func (*MssClampDetails) GetMessageType() api.MessageType
func (*MssClampDetails) Reset ¶
func (m *MssClampDetails) Reset()
func (*MssClampDetails) Size ¶
func (m *MssClampDetails) Size() (size int)
func (*MssClampDetails) Unmarshal ¶
func (m *MssClampDetails) Unmarshal(b []byte) error
type MssClampDir ¶
type MssClampDir uint8
MssClampDir defines enum 'mss_clamp_dir'.
const ( MSS_CLAMP_DIR_NONE MssClampDir = 0 MSS_CLAMP_DIR_RX MssClampDir = 1 MSS_CLAMP_DIR_TX MssClampDir = 2 )
func (MssClampDir) String ¶
func (x MssClampDir) String() string
type MssClampEnableDisable ¶
type MssClampEnableDisable struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IPv4Mss uint16 `binapi:"u16,name=ipv4_mss" json:"ipv4_mss,omitempty"` IPv6Mss uint16 `binapi:"u16,name=ipv6_mss" json:"ipv6_mss,omitempty"` IPv4Direction MssClampDir `binapi:"mss_clamp_dir,name=ipv4_direction" json:"ipv4_direction,omitempty"` IPv6Direction MssClampDir `binapi:"mss_clamp_dir,name=ipv6_direction" json:"ipv6_direction,omitempty"` }
MssClampEnableDisable defines message 'mss_clamp_enable_disable'.
func (*MssClampEnableDisable) GetCrcString ¶
func (*MssClampEnableDisable) GetCrcString() string
func (*MssClampEnableDisable) GetMessageName ¶
func (*MssClampEnableDisable) GetMessageName() string
func (*MssClampEnableDisable) GetMessageType ¶
func (*MssClampEnableDisable) GetMessageType() api.MessageType
func (*MssClampEnableDisable) Marshal ¶
func (m *MssClampEnableDisable) Marshal(b []byte) ([]byte, error)
func (*MssClampEnableDisable) Reset ¶
func (m *MssClampEnableDisable) Reset()
func (*MssClampEnableDisable) Size ¶
func (m *MssClampEnableDisable) Size() (size int)
func (*MssClampEnableDisable) Unmarshal ¶
func (m *MssClampEnableDisable) Unmarshal(b []byte) error
type MssClampEnableDisableReply ¶
type MssClampEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
MssClampEnableDisableReply defines message 'mss_clamp_enable_disable_reply'.
func (*MssClampEnableDisableReply) GetCrcString ¶
func (*MssClampEnableDisableReply) GetCrcString() string
func (*MssClampEnableDisableReply) GetMessageName ¶
func (*MssClampEnableDisableReply) GetMessageName() string
func (*MssClampEnableDisableReply) GetMessageType ¶
func (*MssClampEnableDisableReply) GetMessageType() api.MessageType
func (*MssClampEnableDisableReply) Marshal ¶
func (m *MssClampEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*MssClampEnableDisableReply) Reset ¶
func (m *MssClampEnableDisableReply) Reset()
func (*MssClampEnableDisableReply) Size ¶
func (m *MssClampEnableDisableReply) Size() (size int)
func (*MssClampEnableDisableReply) Unmarshal ¶
func (m *MssClampEnableDisableReply) Unmarshal(b []byte) error
type MssClampGet ¶
type MssClampGet struct { Cursor uint32 `binapi:"u32,name=cursor" json:"cursor,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
MssClampGet defines message 'mss_clamp_get'.
func (*MssClampGet) GetCrcString ¶
func (*MssClampGet) GetCrcString() string
func (*MssClampGet) GetMessageName ¶
func (*MssClampGet) GetMessageName() string
func (*MssClampGet) GetMessageType ¶
func (*MssClampGet) GetMessageType() api.MessageType
func (*MssClampGet) Reset ¶
func (m *MssClampGet) Reset()
func (*MssClampGet) Size ¶
func (m *MssClampGet) Size() (size int)
func (*MssClampGet) Unmarshal ¶
func (m *MssClampGet) Unmarshal(b []byte) error
type MssClampGetReply ¶
type MssClampGetReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` Cursor uint32 `binapi:"u32,name=cursor" json:"cursor,omitempty"` }
MssClampGetReply defines message 'mss_clamp_get_reply'.
func (*MssClampGetReply) GetCrcString ¶
func (*MssClampGetReply) GetCrcString() string
func (*MssClampGetReply) GetMessageName ¶
func (*MssClampGetReply) GetMessageName() string
func (*MssClampGetReply) GetMessageType ¶
func (*MssClampGetReply) GetMessageType() api.MessageType
func (*MssClampGetReply) Reset ¶
func (m *MssClampGetReply) Reset()
func (*MssClampGetReply) Size ¶
func (m *MssClampGetReply) Size() (size int)
func (*MssClampGetReply) Unmarshal ¶
func (m *MssClampGetReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface { MssClampEnableDisable(ctx context.Context, in *MssClampEnableDisable) (*MssClampEnableDisableReply, error) MssClampGet(ctx context.Context, in *MssClampGet) (RPCService_MssClampGetClient, error) }
RPCService defines RPC service mss_clamp.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_MssClampGetClient ¶
type RPCService_MssClampGetClient interface { Recv() (*MssClampDetails, error) api.Stream }
Click to show internal directories.
Click to hide internal directories.