adl

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 adl contains generated bindings for API file adl.api.

Contents:

4 messages

Index

Constants

View Source
const (
	APIFile    = "adl"
	APIVersion = "0.0.1"
	VersionCrc = 0xb752b7a2
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type AdlAllowlistEnableDisable

type AdlAllowlistEnableDisable struct {
	SwIfIndex  interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	FibID      uint32                         `binapi:"u32,name=fib_id" json:"fib_id,omitempty"`
	IP4        bool                           `binapi:"bool,name=ip4" json:"ip4,omitempty"`
	IP6        bool                           `binapi:"bool,name=ip6" json:"ip6,omitempty"`
	DefaultAdl bool                           `binapi:"bool,name=default_adl" json:"default_adl,omitempty"`
}

AdlAllowlistEnableDisable defines message 'adl_allowlist_enable_disable'. InProgress: the message form may change in the future versions

func (*AdlAllowlistEnableDisable) GetCrcString

func (*AdlAllowlistEnableDisable) GetCrcString() string

func (*AdlAllowlistEnableDisable) GetMessageName

func (*AdlAllowlistEnableDisable) GetMessageName() string

func (*AdlAllowlistEnableDisable) GetMessageType

func (*AdlAllowlistEnableDisable) GetMessageType() api.MessageType

func (*AdlAllowlistEnableDisable) Marshal

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

func (*AdlAllowlistEnableDisable) Reset

func (m *AdlAllowlistEnableDisable) Reset()

func (*AdlAllowlistEnableDisable) Size

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

func (*AdlAllowlistEnableDisable) Unmarshal

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

type AdlAllowlistEnableDisableReply

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

AdlAllowlistEnableDisableReply defines message 'adl_allowlist_enable_disable_reply'. InProgress: the message form may change in the future versions

func (*AdlAllowlistEnableDisableReply) GetCrcString

func (*AdlAllowlistEnableDisableReply) GetCrcString() string

func (*AdlAllowlistEnableDisableReply) GetMessageName

func (*AdlAllowlistEnableDisableReply) GetMessageName() string

func (*AdlAllowlistEnableDisableReply) GetMessageType

func (*AdlAllowlistEnableDisableReply) Marshal

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

func (*AdlAllowlistEnableDisableReply) Reset

func (m *AdlAllowlistEnableDisableReply) Reset()

func (*AdlAllowlistEnableDisableReply) Size

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

func (*AdlAllowlistEnableDisableReply) Unmarshal

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

type AdlInterfaceEnableDisable

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

AdlInterfaceEnableDisable defines message 'adl_interface_enable_disable'. InProgress: the message form may change in the future versions

func (*AdlInterfaceEnableDisable) GetCrcString

func (*AdlInterfaceEnableDisable) GetCrcString() string

func (*AdlInterfaceEnableDisable) GetMessageName

func (*AdlInterfaceEnableDisable) GetMessageName() string

func (*AdlInterfaceEnableDisable) GetMessageType

func (*AdlInterfaceEnableDisable) GetMessageType() api.MessageType

func (*AdlInterfaceEnableDisable) Marshal

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

func (*AdlInterfaceEnableDisable) Reset

func (m *AdlInterfaceEnableDisable) Reset()

func (*AdlInterfaceEnableDisable) Size

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

func (*AdlInterfaceEnableDisable) Unmarshal

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

type AdlInterfaceEnableDisableReply

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

AdlInterfaceEnableDisableReply defines message 'adl_interface_enable_disable_reply'. InProgress: the message form may change in the future versions

func (*AdlInterfaceEnableDisableReply) GetCrcString

func (*AdlInterfaceEnableDisableReply) GetCrcString() string

func (*AdlInterfaceEnableDisableReply) GetMessageName

func (*AdlInterfaceEnableDisableReply) GetMessageName() string

func (*AdlInterfaceEnableDisableReply) GetMessageType

func (*AdlInterfaceEnableDisableReply) Marshal

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

func (*AdlInterfaceEnableDisableReply) Reset

func (m *AdlInterfaceEnableDisableReply) Reset()

func (*AdlInterfaceEnableDisableReply) Size

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

func (*AdlInterfaceEnableDisableReply) Unmarshal

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

type RPCService

type RPCService interface {
	AdlAllowlistEnableDisable(ctx context.Context, in *AdlAllowlistEnableDisable) (*AdlAllowlistEnableDisableReply, error)
	AdlInterfaceEnableDisable(ctx context.Context, in *AdlInterfaceEnableDisable) (*AdlInterfaceEnableDisableReply, error)
}

RPCService defines RPC service adl.

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