tcp

package
v0.0.0-...-14ef5d2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Contents:

2 messages

Index

Constants

View Source
const (
	APIFile    = "tcp"
	APIVersion = "2.0.0"
	VersionCrc = 0x93d07485
)

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 {
	TCPConfigureSrcAddresses(ctx context.Context, in *TCPConfigureSrcAddresses) (*TCPConfigureSrcAddressesReply, error)
}

RPCService defines RPC service tcp.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type TCPConfigureSrcAddresses

type TCPConfigureSrcAddresses struct {
	VrfID        uint32           `binapi:"u32,name=vrf_id" json:"vrf_id,omitempty"`
	FirstAddress ip_types.Address `binapi:"address,name=first_address" json:"first_address,omitempty"`
	LastAddress  ip_types.Address `binapi:"address,name=last_address" json:"last_address,omitempty"`
}

TCPConfigureSrcAddresses defines message 'tcp_configure_src_addresses'.

func (*TCPConfigureSrcAddresses) GetCrcString

func (*TCPConfigureSrcAddresses) GetCrcString() string

func (*TCPConfigureSrcAddresses) GetMessageName

func (*TCPConfigureSrcAddresses) GetMessageName() string

func (*TCPConfigureSrcAddresses) GetMessageType

func (*TCPConfigureSrcAddresses) GetMessageType() api.MessageType

func (*TCPConfigureSrcAddresses) Marshal

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

func (*TCPConfigureSrcAddresses) Reset

func (m *TCPConfigureSrcAddresses) Reset()

func (*TCPConfigureSrcAddresses) Size

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

func (*TCPConfigureSrcAddresses) Unmarshal

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

type TCPConfigureSrcAddressesReply

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

TCPConfigureSrcAddressesReply defines message 'tcp_configure_src_addresses_reply'.

func (*TCPConfigureSrcAddressesReply) GetCrcString

func (*TCPConfigureSrcAddressesReply) GetCrcString() string

func (*TCPConfigureSrcAddressesReply) GetMessageName

func (*TCPConfigureSrcAddressesReply) GetMessageName() string

func (*TCPConfigureSrcAddressesReply) GetMessageType

func (*TCPConfigureSrcAddressesReply) GetMessageType() api.MessageType

func (*TCPConfigureSrcAddressesReply) Marshal

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

func (*TCPConfigureSrcAddressesReply) Reset

func (m *TCPConfigureSrcAddressesReply) Reset()

func (*TCPConfigureSrcAddressesReply) Size

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

func (*TCPConfigureSrcAddressesReply) Unmarshal

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

Jump to

Keyboard shortcuts

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