sctp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

Contents:

6 messages

Index

Constants

View Source
const (
	APIFile    = "sctp"
	APIVersion = "1.0.0"
	VersionCrc = 0x35f411c4
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type RPCService

type RPCService interface {
	SctpAddSrcDstConnection(ctx context.Context, in *SctpAddSrcDstConnection) (*SctpAddSrcDstConnectionReply, error)
	SctpConfig(ctx context.Context, in *SctpConfig) (*SctpConfigReply, error)
	SctpDelSrcDstConnection(ctx context.Context, in *SctpDelSrcDstConnection) (*SctpDelSrcDstConnectionReply, error)
}

RPCService defines RPC service sctp.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type SctpAddSrcDstConnection

type SctpAddSrcDstConnection struct {
	IsIPv6     uint8  `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	VrfID      uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	SrcAddress []byte `binapi:"u8[16],name=src_address" json:"src_address,omitempty"`
	DstAddress []byte `binapi:"u8[16],name=dst_address" json:"dst_address,omitempty"`
}

SctpAddSrcDstConnection defines message 'sctp_add_src_dst_connection'.

func (*SctpAddSrcDstConnection) GetCrcString

func (*SctpAddSrcDstConnection) GetCrcString() string

func (*SctpAddSrcDstConnection) GetMessageName

func (*SctpAddSrcDstConnection) GetMessageName() string

func (*SctpAddSrcDstConnection) GetMessageType

func (*SctpAddSrcDstConnection) GetMessageType() api.MessageType

func (*SctpAddSrcDstConnection) Marshal

func (m *SctpAddSrcDstConnection) Marshal(b []byte) ([]byte, error)

func (*SctpAddSrcDstConnection) Reset

func (m *SctpAddSrcDstConnection) Reset()

func (*SctpAddSrcDstConnection) Size

func (m *SctpAddSrcDstConnection) Size() (size int)

func (*SctpAddSrcDstConnection) Unmarshal

func (m *SctpAddSrcDstConnection) Unmarshal(b []byte) error

type SctpAddSrcDstConnectionReply

type SctpAddSrcDstConnectionReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

SctpAddSrcDstConnectionReply defines message 'sctp_add_src_dst_connection_reply'.

func (*SctpAddSrcDstConnectionReply) GetCrcString

func (*SctpAddSrcDstConnectionReply) GetCrcString() string

func (*SctpAddSrcDstConnectionReply) GetMessageName

func (*SctpAddSrcDstConnectionReply) GetMessageName() string

func (*SctpAddSrcDstConnectionReply) GetMessageType

func (*SctpAddSrcDstConnectionReply) GetMessageType() api.MessageType

func (*SctpAddSrcDstConnectionReply) Marshal

func (m *SctpAddSrcDstConnectionReply) Marshal(b []byte) ([]byte, error)

func (*SctpAddSrcDstConnectionReply) Reset

func (m *SctpAddSrcDstConnectionReply) Reset()

func (*SctpAddSrcDstConnectionReply) Size

func (m *SctpAddSrcDstConnectionReply) Size() (size int)

func (*SctpAddSrcDstConnectionReply) Unmarshal

func (m *SctpAddSrcDstConnectionReply) Unmarshal(b []byte) error

type SctpConfig

type SctpConfig struct {
	NeverDelaySack uint8 `binapi:"u8,name=never_delay_sack" json:"never_delay_sack,omitempty"`
	NeverBundle    uint8 `binapi:"u8,name=never_bundle" json:"never_bundle,omitempty"`
}

SctpConfig defines message 'sctp_config'.

func (*SctpConfig) GetCrcString

func (*SctpConfig) GetCrcString() string

func (*SctpConfig) GetMessageName

func (*SctpConfig) GetMessageName() string

func (*SctpConfig) GetMessageType

func (*SctpConfig) GetMessageType() api.MessageType

func (*SctpConfig) Marshal

func (m *SctpConfig) Marshal(b []byte) ([]byte, error)

func (*SctpConfig) Reset

func (m *SctpConfig) Reset()

func (*SctpConfig) Size

func (m *SctpConfig) Size() (size int)

func (*SctpConfig) Unmarshal

func (m *SctpConfig) Unmarshal(b []byte) error

type SctpConfigReply

type SctpConfigReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

SctpConfigReply defines message 'sctp_config_reply'.

func (*SctpConfigReply) GetCrcString

func (*SctpConfigReply) GetCrcString() string

func (*SctpConfigReply) GetMessageName

func (*SctpConfigReply) GetMessageName() string

func (*SctpConfigReply) GetMessageType

func (*SctpConfigReply) GetMessageType() api.MessageType

func (*SctpConfigReply) Marshal

func (m *SctpConfigReply) Marshal(b []byte) ([]byte, error)

func (*SctpConfigReply) Reset

func (m *SctpConfigReply) Reset()

func (*SctpConfigReply) Size

func (m *SctpConfigReply) Size() (size int)

func (*SctpConfigReply) Unmarshal

func (m *SctpConfigReply) Unmarshal(b []byte) error

type SctpDelSrcDstConnection

type SctpDelSrcDstConnection struct {
	IsIPv6     uint8  `binapi:"u8,name=is_ipv6" json:"is_ipv6,omitempty"`
	VrfID      uint32 `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	SrcAddress []byte `binapi:"u8[16],name=src_address" json:"src_address,omitempty"`
	DstAddress []byte `binapi:"u8[16],name=dst_address" json:"dst_address,omitempty"`
}

SctpDelSrcDstConnection defines message 'sctp_del_src_dst_connection'.

func (*SctpDelSrcDstConnection) GetCrcString

func (*SctpDelSrcDstConnection) GetCrcString() string

func (*SctpDelSrcDstConnection) GetMessageName

func (*SctpDelSrcDstConnection) GetMessageName() string

func (*SctpDelSrcDstConnection) GetMessageType

func (*SctpDelSrcDstConnection) GetMessageType() api.MessageType

func (*SctpDelSrcDstConnection) Marshal

func (m *SctpDelSrcDstConnection) Marshal(b []byte) ([]byte, error)

func (*SctpDelSrcDstConnection) Reset

func (m *SctpDelSrcDstConnection) Reset()

func (*SctpDelSrcDstConnection) Size

func (m *SctpDelSrcDstConnection) Size() (size int)

func (*SctpDelSrcDstConnection) Unmarshal

func (m *SctpDelSrcDstConnection) Unmarshal(b []byte) error

type SctpDelSrcDstConnectionReply

type SctpDelSrcDstConnectionReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

SctpDelSrcDstConnectionReply defines message 'sctp_del_src_dst_connection_reply'.

func (*SctpDelSrcDstConnectionReply) GetCrcString

func (*SctpDelSrcDstConnectionReply) GetCrcString() string

func (*SctpDelSrcDstConnectionReply) GetMessageName

func (*SctpDelSrcDstConnectionReply) GetMessageName() string

func (*SctpDelSrcDstConnectionReply) GetMessageType

func (*SctpDelSrcDstConnectionReply) GetMessageType() api.MessageType

func (*SctpDelSrcDstConnectionReply) Marshal

func (m *SctpDelSrcDstConnectionReply) Marshal(b []byte) ([]byte, error)

func (*SctpDelSrcDstConnectionReply) Reset

func (m *SctpDelSrcDstConnectionReply) Reset()

func (*SctpDelSrcDstConnectionReply) Size

func (m *SctpDelSrcDstConnectionReply) Size() (size int)

func (*SctpDelSrcDstConnectionReply) Unmarshal

func (m *SctpDelSrcDstConnectionReply) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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