abx

package
v0.0.0-...-ae01f8c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

Contents: - 2 structs - 10 messages

Index

Constants

View Source
const (
	APIFile    = "abx"
	APIVersion = "0.1.0"
	VersionCrc = 0x558e384
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type AbxInterfaceAttach

type AbxInterfaceAttach struct {
	PolicyID    uint32 `binapi:"u32,name=policy_id" json:"policy_id,omitempty"`
	Priority    uint32 `binapi:"u32,name=priority" json:"priority,omitempty"`
	RxSwIfIndex uint32 `binapi:"u32,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"`
}

AbxInterfaceAttach defines type 'abx_interface_attach'.

type AbxInterfaceAttachDetach

type AbxInterfaceAttachDetach struct {
	IsAttach uint8              `binapi:"u8,name=is_attach" json:"is_attach,omitempty"`
	Attach   AbxInterfaceAttach `binapi:"abx_interface_attach,name=attach" json:"attach,omitempty"`
}

AbxInterfaceAttachDetach defines message 'abx_interface_attach_detach'.

func (*AbxInterfaceAttachDetach) GetCrcString

func (*AbxInterfaceAttachDetach) GetCrcString() string

func (*AbxInterfaceAttachDetach) GetMessageName

func (*AbxInterfaceAttachDetach) GetMessageName() string

func (*AbxInterfaceAttachDetach) GetMessageType

func (*AbxInterfaceAttachDetach) GetMessageType() api.MessageType

func (*AbxInterfaceAttachDetach) Marshal

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

func (*AbxInterfaceAttachDetach) Reset

func (m *AbxInterfaceAttachDetach) Reset()

func (*AbxInterfaceAttachDetach) Size

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

func (*AbxInterfaceAttachDetach) Unmarshal

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

type AbxInterfaceAttachDetachReply

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

AbxInterfaceAttachDetachReply defines message 'abx_interface_attach_detach_reply'.

func (*AbxInterfaceAttachDetachReply) GetCrcString

func (*AbxInterfaceAttachDetachReply) GetCrcString() string

func (*AbxInterfaceAttachDetachReply) GetMessageName

func (*AbxInterfaceAttachDetachReply) GetMessageName() string

func (*AbxInterfaceAttachDetachReply) GetMessageType

func (*AbxInterfaceAttachDetachReply) GetMessageType() api.MessageType

func (*AbxInterfaceAttachDetachReply) Marshal

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

func (*AbxInterfaceAttachDetachReply) Reset

func (m *AbxInterfaceAttachDetachReply) Reset()

func (*AbxInterfaceAttachDetachReply) Size

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

func (*AbxInterfaceAttachDetachReply) Unmarshal

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

type AbxInterfaceAttachDetails

type AbxInterfaceAttachDetails struct {
	Attach AbxInterfaceAttach `binapi:"abx_interface_attach,name=attach" json:"attach,omitempty"`
}

AbxInterfaceAttachDetails defines message 'abx_interface_attach_details'.

func (*AbxInterfaceAttachDetails) GetCrcString

func (*AbxInterfaceAttachDetails) GetCrcString() string

func (*AbxInterfaceAttachDetails) GetMessageName

func (*AbxInterfaceAttachDetails) GetMessageName() string

func (*AbxInterfaceAttachDetails) GetMessageType

func (*AbxInterfaceAttachDetails) GetMessageType() api.MessageType

func (*AbxInterfaceAttachDetails) Marshal

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

func (*AbxInterfaceAttachDetails) Reset

func (m *AbxInterfaceAttachDetails) Reset()

func (*AbxInterfaceAttachDetails) Size

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

func (*AbxInterfaceAttachDetails) Unmarshal

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

type AbxInterfaceAttachDump

type AbxInterfaceAttachDump struct{}

AbxInterfaceAttachDump defines message 'abx_interface_attach_dump'.

func (*AbxInterfaceAttachDump) GetCrcString

func (*AbxInterfaceAttachDump) GetCrcString() string

func (*AbxInterfaceAttachDump) GetMessageName

func (*AbxInterfaceAttachDump) GetMessageName() string

func (*AbxInterfaceAttachDump) GetMessageType

func (*AbxInterfaceAttachDump) GetMessageType() api.MessageType

func (*AbxInterfaceAttachDump) Marshal

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

func (*AbxInterfaceAttachDump) Reset

func (m *AbxInterfaceAttachDump) Reset()

func (*AbxInterfaceAttachDump) Size

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

func (*AbxInterfaceAttachDump) Unmarshal

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

type AbxPluginGetVersion

type AbxPluginGetVersion struct{}

AbxPluginGetVersion defines message 'abx_plugin_get_version'.

func (*AbxPluginGetVersion) GetCrcString

func (*AbxPluginGetVersion) GetCrcString() string

func (*AbxPluginGetVersion) GetMessageName

func (*AbxPluginGetVersion) GetMessageName() string

func (*AbxPluginGetVersion) GetMessageType

func (*AbxPluginGetVersion) GetMessageType() api.MessageType

func (*AbxPluginGetVersion) Marshal

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

func (*AbxPluginGetVersion) Reset

func (m *AbxPluginGetVersion) Reset()

func (*AbxPluginGetVersion) Size

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

func (*AbxPluginGetVersion) Unmarshal

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

type AbxPluginGetVersionReply

type AbxPluginGetVersionReply struct {
	Major uint32 `binapi:"u32,name=major" json:"major,omitempty"`
	Minor uint32 `binapi:"u32,name=minor" json:"minor,omitempty"`
}

AbxPluginGetVersionReply defines message 'abx_plugin_get_version_reply'.

func (*AbxPluginGetVersionReply) GetCrcString

func (*AbxPluginGetVersionReply) GetCrcString() string

func (*AbxPluginGetVersionReply) GetMessageName

func (*AbxPluginGetVersionReply) GetMessageName() string

func (*AbxPluginGetVersionReply) GetMessageType

func (*AbxPluginGetVersionReply) GetMessageType() api.MessageType

func (*AbxPluginGetVersionReply) Marshal

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

func (*AbxPluginGetVersionReply) Reset

func (m *AbxPluginGetVersionReply) Reset()

func (*AbxPluginGetVersionReply) Size

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

func (*AbxPluginGetVersionReply) Unmarshal

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

type AbxPolicy

type AbxPolicy struct {
	PolicyID    uint32                    `binapi:"u32,name=policy_id" json:"policy_id,omitempty"`
	ACLIndex    uint32                    `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
	TxSwIfIndex uint32                    `binapi:"u32,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"`
	DstMac      ethernet_types.MacAddress `binapi:"mac_address,name=dst_mac" json:"dst_mac,omitempty"`
}

AbxPolicy defines type 'abx_policy'.

type AbxPolicyAddDel

type AbxPolicyAddDel struct {
	IsAdd  uint8     `binapi:"u8,name=is_add" json:"is_add,omitempty"`
	Policy AbxPolicy `binapi:"abx_policy,name=policy" json:"policy,omitempty"`
}

AbxPolicyAddDel defines message 'abx_policy_add_del'.

func (*AbxPolicyAddDel) GetCrcString

func (*AbxPolicyAddDel) GetCrcString() string

func (*AbxPolicyAddDel) GetMessageName

func (*AbxPolicyAddDel) GetMessageName() string

func (*AbxPolicyAddDel) GetMessageType

func (*AbxPolicyAddDel) GetMessageType() api.MessageType

func (*AbxPolicyAddDel) Marshal

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

func (*AbxPolicyAddDel) Reset

func (m *AbxPolicyAddDel) Reset()

func (*AbxPolicyAddDel) Size

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

func (*AbxPolicyAddDel) Unmarshal

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

type AbxPolicyAddDelReply

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

AbxPolicyAddDelReply defines message 'abx_policy_add_del_reply'.

func (*AbxPolicyAddDelReply) GetCrcString

func (*AbxPolicyAddDelReply) GetCrcString() string

func (*AbxPolicyAddDelReply) GetMessageName

func (*AbxPolicyAddDelReply) GetMessageName() string

func (*AbxPolicyAddDelReply) GetMessageType

func (*AbxPolicyAddDelReply) GetMessageType() api.MessageType

func (*AbxPolicyAddDelReply) Marshal

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

func (*AbxPolicyAddDelReply) Reset

func (m *AbxPolicyAddDelReply) Reset()

func (*AbxPolicyAddDelReply) Size

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

func (*AbxPolicyAddDelReply) Unmarshal

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

type AbxPolicyDetails

type AbxPolicyDetails struct {
	Policy AbxPolicy `binapi:"abx_policy,name=policy" json:"policy,omitempty"`
}

AbxPolicyDetails defines message 'abx_policy_details'.

func (*AbxPolicyDetails) GetCrcString

func (*AbxPolicyDetails) GetCrcString() string

func (*AbxPolicyDetails) GetMessageName

func (*AbxPolicyDetails) GetMessageName() string

func (*AbxPolicyDetails) GetMessageType

func (*AbxPolicyDetails) GetMessageType() api.MessageType

func (*AbxPolicyDetails) Marshal

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

func (*AbxPolicyDetails) Reset

func (m *AbxPolicyDetails) Reset()

func (*AbxPolicyDetails) Size

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

func (*AbxPolicyDetails) Unmarshal

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

type AbxPolicyDump

type AbxPolicyDump struct{}

AbxPolicyDump defines message 'abx_policy_dump'.

func (*AbxPolicyDump) GetCrcString

func (*AbxPolicyDump) GetCrcString() string

func (*AbxPolicyDump) GetMessageName

func (*AbxPolicyDump) GetMessageName() string

func (*AbxPolicyDump) GetMessageType

func (*AbxPolicyDump) GetMessageType() api.MessageType

func (*AbxPolicyDump) Marshal

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

func (*AbxPolicyDump) Reset

func (m *AbxPolicyDump) Reset()

func (*AbxPolicyDump) Size

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

func (*AbxPolicyDump) Unmarshal

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

type RPCService

type RPCService interface {
	AbxInterfaceAttachDetach(ctx context.Context, in *AbxInterfaceAttachDetach) (*AbxInterfaceAttachDetachReply, error)
	AbxInterfaceAttachDump(ctx context.Context, in *AbxInterfaceAttachDump) (RPCService_AbxInterfaceAttachDumpClient, error)
	AbxPluginGetVersion(ctx context.Context, in *AbxPluginGetVersion) (*AbxPluginGetVersionReply, error)
	AbxPolicyAddDel(ctx context.Context, in *AbxPolicyAddDel) (*AbxPolicyAddDelReply, error)
	AbxPolicyDump(ctx context.Context, in *AbxPolicyDump) (RPCService_AbxPolicyDumpClient, error)
}

RPCService defines RPC service abx.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_AbxInterfaceAttachDumpClient

type RPCService_AbxInterfaceAttachDumpClient interface {
	Recv() (*AbxInterfaceAttachDetails, error)
	api.Stream
}

type RPCService_AbxPolicyDumpClient

type RPCService_AbxPolicyDumpClient interface {
	Recv() (*AbxPolicyDetails, error)
	api.Stream
}

Jump to

Keyboard shortcuts

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