Documentation ¶
Overview ¶
Package tcp contains generated bindings for API file tcp.api.
Contents:
2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type RPCService
- type TCPConfigureSrcAddresses
- func (*TCPConfigureSrcAddresses) GetCrcString() string
- func (*TCPConfigureSrcAddresses) GetMessageName() string
- func (*TCPConfigureSrcAddresses) GetMessageType() api.MessageType
- func (m *TCPConfigureSrcAddresses) Marshal(b []byte) ([]byte, error)
- func (m *TCPConfigureSrcAddresses) Reset()
- func (m *TCPConfigureSrcAddresses) Size() (size int)
- func (m *TCPConfigureSrcAddresses) Unmarshal(b []byte) error
- type TCPConfigureSrcAddressesReply
- func (*TCPConfigureSrcAddressesReply) GetCrcString() string
- func (*TCPConfigureSrcAddressesReply) GetMessageName() string
- func (*TCPConfigureSrcAddressesReply) GetMessageType() api.MessageType
- func (m *TCPConfigureSrcAddressesReply) Marshal(b []byte) ([]byte, error)
- func (m *TCPConfigureSrcAddressesReply) Reset()
- func (m *TCPConfigureSrcAddressesReply) Size() (size int)
- func (m *TCPConfigureSrcAddressesReply) Unmarshal(b []byte) error
Constants ¶
View Source
const ( APIFile = "tcp" APIVersion = "2.0.0" VersionCrc = 0x93d07485 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
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
Click to show internal directories.
Click to hide internal directories.