ct6

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Contents:

2 messages

Index

Constants

View Source
const (
	APIFile    = "ct6"
	APIVersion = "1.0.0"
	VersionCrc = 0x5c824a95
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type Ct6EnableDisable

type Ct6EnableDisable struct {
	EnableDisable bool                           `binapi:"bool,name=enable_disable" json:"enable_disable,omitempty"`
	IsInside      bool                           `binapi:"bool,name=is_inside" json:"is_inside,omitempty"`
	SwIfIndex     interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

Ct6EnableDisable defines message 'ct6_enable_disable'.

func (*Ct6EnableDisable) GetCrcString

func (*Ct6EnableDisable) GetCrcString() string

func (*Ct6EnableDisable) GetMessageName

func (*Ct6EnableDisable) GetMessageName() string

func (*Ct6EnableDisable) GetMessageType

func (*Ct6EnableDisable) GetMessageType() api.MessageType

func (*Ct6EnableDisable) Marshal

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

func (*Ct6EnableDisable) Reset

func (m *Ct6EnableDisable) Reset()

func (*Ct6EnableDisable) Size

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

func (*Ct6EnableDisable) Unmarshal

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

type Ct6EnableDisableReply

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

Ct6EnableDisableReply defines message 'ct6_enable_disable_reply'.

func (*Ct6EnableDisableReply) GetCrcString

func (*Ct6EnableDisableReply) GetCrcString() string

func (*Ct6EnableDisableReply) GetMessageName

func (*Ct6EnableDisableReply) GetMessageName() string

func (*Ct6EnableDisableReply) GetMessageType

func (*Ct6EnableDisableReply) GetMessageType() api.MessageType

func (*Ct6EnableDisableReply) Marshal

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

func (*Ct6EnableDisableReply) Reset

func (m *Ct6EnableDisableReply) Reset()

func (*Ct6EnableDisableReply) Size

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

func (*Ct6EnableDisableReply) Unmarshal

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

type RPCService

type RPCService interface {
	Ct6EnableDisable(ctx context.Context, in *Ct6EnableDisable) (*Ct6EnableDisableReply, error)
}

RPCService defines RPC service ct6.

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