arp

package
v3.5.0-alpha Latest Latest
Warning

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

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

Documentation

Overview

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

Contents:

1 struct
8 messages

Index

Constants

View Source
const (
	APIFile    = "arp"
	APIVersion = "1.0.0"
	VersionCrc = 0xb57796ae
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type ProxyArp

type ProxyArp struct {
	TableID uint32              `binapi:"u32,name=table_id" json:"table_id,omitempty"`
	Low     ip_types.IP4Address `binapi:"ip4_address,name=low" json:"low,omitempty"`
	Hi      ip_types.IP4Address `binapi:"ip4_address,name=hi" json:"hi,omitempty"`
}

ProxyArp defines type 'proxy_arp'.

type ProxyArpAddDel

type ProxyArpAddDel struct {
	IsAdd bool     `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Proxy ProxyArp `binapi:"proxy_arp,name=proxy" json:"proxy,omitempty"`
}

ProxyArpAddDel defines message 'proxy_arp_add_del'.

func (*ProxyArpAddDel) GetCrcString

func (*ProxyArpAddDel) GetCrcString() string

func (*ProxyArpAddDel) GetMessageName

func (*ProxyArpAddDel) GetMessageName() string

func (*ProxyArpAddDel) GetMessageType

func (*ProxyArpAddDel) GetMessageType() api.MessageType

func (*ProxyArpAddDel) Marshal

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

func (*ProxyArpAddDel) Reset

func (m *ProxyArpAddDel) Reset()

func (*ProxyArpAddDel) Size

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

func (*ProxyArpAddDel) Unmarshal

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

type ProxyArpAddDelReply

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

ProxyArpAddDelReply defines message 'proxy_arp_add_del_reply'.

func (*ProxyArpAddDelReply) GetCrcString

func (*ProxyArpAddDelReply) GetCrcString() string

func (*ProxyArpAddDelReply) GetMessageName

func (*ProxyArpAddDelReply) GetMessageName() string

func (*ProxyArpAddDelReply) GetMessageType

func (*ProxyArpAddDelReply) GetMessageType() api.MessageType

func (*ProxyArpAddDelReply) Marshal

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

func (*ProxyArpAddDelReply) Reset

func (m *ProxyArpAddDelReply) Reset()

func (*ProxyArpAddDelReply) Size

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

func (*ProxyArpAddDelReply) Unmarshal

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

type ProxyArpDetails

type ProxyArpDetails struct {
	Proxy ProxyArp `binapi:"proxy_arp,name=proxy" json:"proxy,omitempty"`
}

ProxyArpDetails defines message 'proxy_arp_details'.

func (*ProxyArpDetails) GetCrcString

func (*ProxyArpDetails) GetCrcString() string

func (*ProxyArpDetails) GetMessageName

func (*ProxyArpDetails) GetMessageName() string

func (*ProxyArpDetails) GetMessageType

func (*ProxyArpDetails) GetMessageType() api.MessageType

func (*ProxyArpDetails) Marshal

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

func (*ProxyArpDetails) Reset

func (m *ProxyArpDetails) Reset()

func (*ProxyArpDetails) Size

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

func (*ProxyArpDetails) Unmarshal

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

type ProxyArpDump

type ProxyArpDump struct{}

ProxyArpDump defines message 'proxy_arp_dump'.

func (*ProxyArpDump) GetCrcString

func (*ProxyArpDump) GetCrcString() string

func (*ProxyArpDump) GetMessageName

func (*ProxyArpDump) GetMessageName() string

func (*ProxyArpDump) GetMessageType

func (*ProxyArpDump) GetMessageType() api.MessageType

func (*ProxyArpDump) Marshal

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

func (*ProxyArpDump) Reset

func (m *ProxyArpDump) Reset()

func (*ProxyArpDump) Size

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

func (*ProxyArpDump) Unmarshal

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

type ProxyArpIntfcDetails

type ProxyArpIntfcDetails struct {
	SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
}

ProxyArpIntfcDetails defines message 'proxy_arp_intfc_details'.

func (*ProxyArpIntfcDetails) GetCrcString

func (*ProxyArpIntfcDetails) GetCrcString() string

func (*ProxyArpIntfcDetails) GetMessageName

func (*ProxyArpIntfcDetails) GetMessageName() string

func (*ProxyArpIntfcDetails) GetMessageType

func (*ProxyArpIntfcDetails) GetMessageType() api.MessageType

func (*ProxyArpIntfcDetails) Marshal

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

func (*ProxyArpIntfcDetails) Reset

func (m *ProxyArpIntfcDetails) Reset()

func (*ProxyArpIntfcDetails) Size

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

func (*ProxyArpIntfcDetails) Unmarshal

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

type ProxyArpIntfcDump

type ProxyArpIntfcDump struct{}

ProxyArpIntfcDump defines message 'proxy_arp_intfc_dump'.

func (*ProxyArpIntfcDump) GetCrcString

func (*ProxyArpIntfcDump) GetCrcString() string

func (*ProxyArpIntfcDump) GetMessageName

func (*ProxyArpIntfcDump) GetMessageName() string

func (*ProxyArpIntfcDump) GetMessageType

func (*ProxyArpIntfcDump) GetMessageType() api.MessageType

func (*ProxyArpIntfcDump) Marshal

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

func (*ProxyArpIntfcDump) Reset

func (m *ProxyArpIntfcDump) Reset()

func (*ProxyArpIntfcDump) Size

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

func (*ProxyArpIntfcDump) Unmarshal

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

type ProxyArpIntfcEnableDisable

type ProxyArpIntfcEnableDisable struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Enable    bool                           `binapi:"bool,name=enable" json:"enable,omitempty"`
}

ProxyArpIntfcEnableDisable defines message 'proxy_arp_intfc_enable_disable'.

func (*ProxyArpIntfcEnableDisable) GetCrcString

func (*ProxyArpIntfcEnableDisable) GetCrcString() string

func (*ProxyArpIntfcEnableDisable) GetMessageName

func (*ProxyArpIntfcEnableDisable) GetMessageName() string

func (*ProxyArpIntfcEnableDisable) GetMessageType

func (*ProxyArpIntfcEnableDisable) GetMessageType() api.MessageType

func (*ProxyArpIntfcEnableDisable) Marshal

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

func (*ProxyArpIntfcEnableDisable) Reset

func (m *ProxyArpIntfcEnableDisable) Reset()

func (*ProxyArpIntfcEnableDisable) Size

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

func (*ProxyArpIntfcEnableDisable) Unmarshal

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

type ProxyArpIntfcEnableDisableReply

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

ProxyArpIntfcEnableDisableReply defines message 'proxy_arp_intfc_enable_disable_reply'.

func (*ProxyArpIntfcEnableDisableReply) GetCrcString

func (*ProxyArpIntfcEnableDisableReply) GetCrcString() string

func (*ProxyArpIntfcEnableDisableReply) GetMessageName

func (*ProxyArpIntfcEnableDisableReply) GetMessageName() string

func (*ProxyArpIntfcEnableDisableReply) GetMessageType

func (*ProxyArpIntfcEnableDisableReply) Marshal

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

func (*ProxyArpIntfcEnableDisableReply) Reset

func (*ProxyArpIntfcEnableDisableReply) Size

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

func (*ProxyArpIntfcEnableDisableReply) Unmarshal

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

type RPCService

type RPCService interface {
	ProxyArpAddDel(ctx context.Context, in *ProxyArpAddDel) (*ProxyArpAddDelReply, error)
	ProxyArpDump(ctx context.Context, in *ProxyArpDump) (RPCService_ProxyArpDumpClient, error)
	ProxyArpIntfcDump(ctx context.Context, in *ProxyArpIntfcDump) (RPCService_ProxyArpIntfcDumpClient, error)
	ProxyArpIntfcEnableDisable(ctx context.Context, in *ProxyArpIntfcEnableDisable) (*ProxyArpIntfcEnableDisableReply, error)
}

RPCService defines RPC service arp.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_ProxyArpDumpClient

type RPCService_ProxyArpDumpClient interface {
	Recv() (*ProxyArpDetails, error)
	api.Stream
}

type RPCService_ProxyArpIntfcDumpClient

type RPCService_ProxyArpIntfcDumpClient interface {
	Recv() (*ProxyArpIntfcDetails, error)
	api.Stream
}

Jump to

Keyboard shortcuts

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