abf

package
v3.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Contents:

 2 structs
10 messages

Index

Constants

View Source
const (
	APIFile    = "abf"
	APIVersion = "1.0.0"
	VersionCrc = 0x1fb1826f
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type AbfItfAttach

type AbfItfAttach struct {
	PolicyID  uint32                         `binapi:"u32,name=policy_id" json:"policy_id,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Priority  uint32                         `binapi:"u32,name=priority" json:"priority,omitempty"`
	IsIPv6    bool                           `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
}

AbfItfAttach defines type 'abf_itf_attach'.

type AbfItfAttachAddDel

type AbfItfAttachAddDel struct {
	IsAdd  bool         `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Attach AbfItfAttach `binapi:"abf_itf_attach,name=attach" json:"attach,omitempty"`
}

AbfItfAttachAddDel defines message 'abf_itf_attach_add_del'.

func (*AbfItfAttachAddDel) GetCrcString

func (*AbfItfAttachAddDel) GetCrcString() string

func (*AbfItfAttachAddDel) GetMessageName

func (*AbfItfAttachAddDel) GetMessageName() string

func (*AbfItfAttachAddDel) GetMessageType

func (*AbfItfAttachAddDel) GetMessageType() api.MessageType

func (*AbfItfAttachAddDel) Marshal

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

func (*AbfItfAttachAddDel) Reset

func (m *AbfItfAttachAddDel) Reset()

func (*AbfItfAttachAddDel) Size

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

func (*AbfItfAttachAddDel) Unmarshal

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

type AbfItfAttachAddDelReply

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

AbfItfAttachAddDelReply defines message 'abf_itf_attach_add_del_reply'.

func (*AbfItfAttachAddDelReply) GetCrcString

func (*AbfItfAttachAddDelReply) GetCrcString() string

func (*AbfItfAttachAddDelReply) GetMessageName

func (*AbfItfAttachAddDelReply) GetMessageName() string

func (*AbfItfAttachAddDelReply) GetMessageType

func (*AbfItfAttachAddDelReply) GetMessageType() api.MessageType

func (*AbfItfAttachAddDelReply) Marshal

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

func (*AbfItfAttachAddDelReply) Reset

func (m *AbfItfAttachAddDelReply) Reset()

func (*AbfItfAttachAddDelReply) Size

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

func (*AbfItfAttachAddDelReply) Unmarshal

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

type AbfItfAttachDetails

type AbfItfAttachDetails struct {
	Attach AbfItfAttach `binapi:"abf_itf_attach,name=attach" json:"attach,omitempty"`
}

AbfItfAttachDetails defines message 'abf_itf_attach_details'.

func (*AbfItfAttachDetails) GetCrcString

func (*AbfItfAttachDetails) GetCrcString() string

func (*AbfItfAttachDetails) GetMessageName

func (*AbfItfAttachDetails) GetMessageName() string

func (*AbfItfAttachDetails) GetMessageType

func (*AbfItfAttachDetails) GetMessageType() api.MessageType

func (*AbfItfAttachDetails) Marshal

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

func (*AbfItfAttachDetails) Reset

func (m *AbfItfAttachDetails) Reset()

func (*AbfItfAttachDetails) Size

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

func (*AbfItfAttachDetails) Unmarshal

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

type AbfItfAttachDump

type AbfItfAttachDump struct{}

AbfItfAttachDump defines message 'abf_itf_attach_dump'.

func (*AbfItfAttachDump) GetCrcString

func (*AbfItfAttachDump) GetCrcString() string

func (*AbfItfAttachDump) GetMessageName

func (*AbfItfAttachDump) GetMessageName() string

func (*AbfItfAttachDump) GetMessageType

func (*AbfItfAttachDump) GetMessageType() api.MessageType

func (*AbfItfAttachDump) Marshal

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

func (*AbfItfAttachDump) Reset

func (m *AbfItfAttachDump) Reset()

func (*AbfItfAttachDump) Size

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

func (*AbfItfAttachDump) Unmarshal

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

type AbfPluginGetVersion

type AbfPluginGetVersion struct{}

AbfPluginGetVersion defines message 'abf_plugin_get_version'.

func (*AbfPluginGetVersion) GetCrcString

func (*AbfPluginGetVersion) GetCrcString() string

func (*AbfPluginGetVersion) GetMessageName

func (*AbfPluginGetVersion) GetMessageName() string

func (*AbfPluginGetVersion) GetMessageType

func (*AbfPluginGetVersion) GetMessageType() api.MessageType

func (*AbfPluginGetVersion) Marshal

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

func (*AbfPluginGetVersion) Reset

func (m *AbfPluginGetVersion) Reset()

func (*AbfPluginGetVersion) Size

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

func (*AbfPluginGetVersion) Unmarshal

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

type AbfPluginGetVersionReply

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

AbfPluginGetVersionReply defines message 'abf_plugin_get_version_reply'.

func (*AbfPluginGetVersionReply) GetCrcString

func (*AbfPluginGetVersionReply) GetCrcString() string

func (*AbfPluginGetVersionReply) GetMessageName

func (*AbfPluginGetVersionReply) GetMessageName() string

func (*AbfPluginGetVersionReply) GetMessageType

func (*AbfPluginGetVersionReply) GetMessageType() api.MessageType

func (*AbfPluginGetVersionReply) Marshal

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

func (*AbfPluginGetVersionReply) Reset

func (m *AbfPluginGetVersionReply) Reset()

func (*AbfPluginGetVersionReply) Size

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

func (*AbfPluginGetVersionReply) Unmarshal

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

type AbfPolicy

type AbfPolicy struct {
	PolicyID uint32              `binapi:"u32,name=policy_id" json:"policy_id,omitempty"`
	ACLIndex uint32              `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
	NPaths   uint8               `binapi:"u8,name=n_paths" json:"-"`
	Paths    []fib_types.FibPath `binapi:"fib_path[n_paths],name=paths" json:"paths,omitempty"`
}

AbfPolicy defines type 'abf_policy'.

type AbfPolicyAddDel

type AbfPolicyAddDel struct {
	IsAdd  bool      `binapi:"bool,name=is_add" json:"is_add,omitempty"`
	Policy AbfPolicy `binapi:"abf_policy,name=policy" json:"policy,omitempty"`
}

AbfPolicyAddDel defines message 'abf_policy_add_del'.

func (*AbfPolicyAddDel) GetCrcString

func (*AbfPolicyAddDel) GetCrcString() string

func (*AbfPolicyAddDel) GetMessageName

func (*AbfPolicyAddDel) GetMessageName() string

func (*AbfPolicyAddDel) GetMessageType

func (*AbfPolicyAddDel) GetMessageType() api.MessageType

func (*AbfPolicyAddDel) Marshal

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

func (*AbfPolicyAddDel) Reset

func (m *AbfPolicyAddDel) Reset()

func (*AbfPolicyAddDel) Size

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

func (*AbfPolicyAddDel) Unmarshal

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

type AbfPolicyAddDelReply

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

AbfPolicyAddDelReply defines message 'abf_policy_add_del_reply'.

func (*AbfPolicyAddDelReply) GetCrcString

func (*AbfPolicyAddDelReply) GetCrcString() string

func (*AbfPolicyAddDelReply) GetMessageName

func (*AbfPolicyAddDelReply) GetMessageName() string

func (*AbfPolicyAddDelReply) GetMessageType

func (*AbfPolicyAddDelReply) GetMessageType() api.MessageType

func (*AbfPolicyAddDelReply) Marshal

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

func (*AbfPolicyAddDelReply) Reset

func (m *AbfPolicyAddDelReply) Reset()

func (*AbfPolicyAddDelReply) Size

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

func (*AbfPolicyAddDelReply) Unmarshal

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

type AbfPolicyDetails

type AbfPolicyDetails struct {
	Policy AbfPolicy `binapi:"abf_policy,name=policy" json:"policy,omitempty"`
}

AbfPolicyDetails defines message 'abf_policy_details'.

func (*AbfPolicyDetails) GetCrcString

func (*AbfPolicyDetails) GetCrcString() string

func (*AbfPolicyDetails) GetMessageName

func (*AbfPolicyDetails) GetMessageName() string

func (*AbfPolicyDetails) GetMessageType

func (*AbfPolicyDetails) GetMessageType() api.MessageType

func (*AbfPolicyDetails) Marshal

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

func (*AbfPolicyDetails) Reset

func (m *AbfPolicyDetails) Reset()

func (*AbfPolicyDetails) Size

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

func (*AbfPolicyDetails) Unmarshal

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

type AbfPolicyDump

type AbfPolicyDump struct{}

AbfPolicyDump defines message 'abf_policy_dump'.

func (*AbfPolicyDump) GetCrcString

func (*AbfPolicyDump) GetCrcString() string

func (*AbfPolicyDump) GetMessageName

func (*AbfPolicyDump) GetMessageName() string

func (*AbfPolicyDump) GetMessageType

func (*AbfPolicyDump) GetMessageType() api.MessageType

func (*AbfPolicyDump) Marshal

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

func (*AbfPolicyDump) Reset

func (m *AbfPolicyDump) Reset()

func (*AbfPolicyDump) Size

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

func (*AbfPolicyDump) Unmarshal

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

type RPCService

type RPCService interface {
	AbfItfAttachAddDel(ctx context.Context, in *AbfItfAttachAddDel) (*AbfItfAttachAddDelReply, error)
	AbfItfAttachDump(ctx context.Context, in *AbfItfAttachDump) (RPCService_AbfItfAttachDumpClient, error)
	AbfPluginGetVersion(ctx context.Context, in *AbfPluginGetVersion) (*AbfPluginGetVersionReply, error)
	AbfPolicyAddDel(ctx context.Context, in *AbfPolicyAddDel) (*AbfPolicyAddDelReply, error)
	AbfPolicyDump(ctx context.Context, in *AbfPolicyDump) (RPCService_AbfPolicyDumpClient, error)
}

RPCService defines RPC service abf.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_AbfItfAttachDumpClient

type RPCService_AbfItfAttachDumpClient interface {
	Recv() (*AbfItfAttachDetails, error)
	api.Stream
}

type RPCService_AbfPolicyDumpClient

type RPCService_AbfPolicyDumpClient interface {
	Recv() (*AbfPolicyDetails, error)
	api.Stream
}

Jump to

Keyboard shortcuts

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