acl

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: 10 Imported by: 0

Documentation

Overview

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

Contents:

38 messages

Index

Constants

View Source
const (
	APIFile    = "acl"
	APIVersion = "2.0.0"
	VersionCrc = 0xa832e616
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type ACLAddReplace

type ACLAddReplace struct {
	ACLIndex uint32              `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
	Tag      string              `binapi:"string[64],name=tag" json:"tag,omitempty"`
	Count    uint32              `binapi:"u32,name=count" json:"-"`
	R        []acl_types.ACLRule `binapi:"acl_rule[count],name=r" json:"r,omitempty"`
}

ACLAddReplace defines message 'acl_add_replace'.

func (*ACLAddReplace) GetCrcString

func (*ACLAddReplace) GetCrcString() string

func (*ACLAddReplace) GetMessageName

func (*ACLAddReplace) GetMessageName() string

func (*ACLAddReplace) GetMessageType

func (*ACLAddReplace) GetMessageType() api.MessageType

func (*ACLAddReplace) Marshal

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

func (*ACLAddReplace) Reset

func (m *ACLAddReplace) Reset()

func (*ACLAddReplace) Size

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

func (*ACLAddReplace) Unmarshal

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

type ACLAddReplaceReply

type ACLAddReplaceReply struct {
	ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
	Retval   int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
}

ACLAddReplaceReply defines message 'acl_add_replace_reply'.

func (*ACLAddReplaceReply) GetCrcString

func (*ACLAddReplaceReply) GetCrcString() string

func (*ACLAddReplaceReply) GetMessageName

func (*ACLAddReplaceReply) GetMessageName() string

func (*ACLAddReplaceReply) GetMessageType

func (*ACLAddReplaceReply) GetMessageType() api.MessageType

func (*ACLAddReplaceReply) Marshal

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

func (*ACLAddReplaceReply) Reset

func (m *ACLAddReplaceReply) Reset()

func (*ACLAddReplaceReply) Size

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

func (*ACLAddReplaceReply) Unmarshal

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

type ACLDel

type ACLDel struct {
	ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
}

ACLDel defines message 'acl_del'.

func (*ACLDel) GetCrcString

func (*ACLDel) GetCrcString() string

func (*ACLDel) GetMessageName

func (*ACLDel) GetMessageName() string

func (*ACLDel) GetMessageType

func (*ACLDel) GetMessageType() api.MessageType

func (*ACLDel) Marshal

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

func (*ACLDel) Reset

func (m *ACLDel) Reset()

func (*ACLDel) Size

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

func (*ACLDel) Unmarshal

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

type ACLDelReply

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

ACLDelReply defines message 'acl_del_reply'.

func (*ACLDelReply) GetCrcString

func (*ACLDelReply) GetCrcString() string

func (*ACLDelReply) GetMessageName

func (*ACLDelReply) GetMessageName() string

func (*ACLDelReply) GetMessageType

func (*ACLDelReply) GetMessageType() api.MessageType

func (*ACLDelReply) Marshal

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

func (*ACLDelReply) Reset

func (m *ACLDelReply) Reset()

func (*ACLDelReply) Size

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

func (*ACLDelReply) Unmarshal

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

type ACLDetails

type ACLDetails struct {
	ACLIndex uint32              `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
	Tag      string              `binapi:"string[64],name=tag" json:"tag,omitempty"`
	Count    uint32              `binapi:"u32,name=count" json:"-"`
	R        []acl_types.ACLRule `binapi:"acl_rule[count],name=r" json:"r,omitempty"`
}

ACLDetails defines message 'acl_details'.

func (*ACLDetails) GetCrcString

func (*ACLDetails) GetCrcString() string

func (*ACLDetails) GetMessageName

func (*ACLDetails) GetMessageName() string

func (*ACLDetails) GetMessageType

func (*ACLDetails) GetMessageType() api.MessageType

func (*ACLDetails) Marshal

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

func (*ACLDetails) Reset

func (m *ACLDetails) Reset()

func (*ACLDetails) Size

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

func (*ACLDetails) Unmarshal

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

type ACLDump

type ACLDump struct {
	ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
}

ACLDump defines message 'acl_dump'.

func (*ACLDump) GetCrcString

func (*ACLDump) GetCrcString() string

func (*ACLDump) GetMessageName

func (*ACLDump) GetMessageName() string

func (*ACLDump) GetMessageType

func (*ACLDump) GetMessageType() api.MessageType

func (*ACLDump) Marshal

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

func (*ACLDump) Reset

func (m *ACLDump) Reset()

func (*ACLDump) Size

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

func (*ACLDump) Unmarshal

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

type ACLInterfaceAddDel

type ACLInterfaceAddDel struct {
	IsAdd     bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	IsInput   bool                           `binapi:"bool,name=is_input" json:"is_input,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	ACLIndex  uint32                         `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
}

ACLInterfaceAddDel defines message 'acl_interface_add_del'.

func (*ACLInterfaceAddDel) GetCrcString

func (*ACLInterfaceAddDel) GetCrcString() string

func (*ACLInterfaceAddDel) GetMessageName

func (*ACLInterfaceAddDel) GetMessageName() string

func (*ACLInterfaceAddDel) GetMessageType

func (*ACLInterfaceAddDel) GetMessageType() api.MessageType

func (*ACLInterfaceAddDel) Marshal

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

func (*ACLInterfaceAddDel) Reset

func (m *ACLInterfaceAddDel) Reset()

func (*ACLInterfaceAddDel) Size

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

func (*ACLInterfaceAddDel) Unmarshal

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

type ACLInterfaceAddDelReply

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

ACLInterfaceAddDelReply defines message 'acl_interface_add_del_reply'.

func (*ACLInterfaceAddDelReply) GetCrcString

func (*ACLInterfaceAddDelReply) GetCrcString() string

func (*ACLInterfaceAddDelReply) GetMessageName

func (*ACLInterfaceAddDelReply) GetMessageName() string

func (*ACLInterfaceAddDelReply) GetMessageType

func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType

func (*ACLInterfaceAddDelReply) Marshal

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

func (*ACLInterfaceAddDelReply) Reset

func (m *ACLInterfaceAddDelReply) Reset()

func (*ACLInterfaceAddDelReply) Size

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

func (*ACLInterfaceAddDelReply) Unmarshal

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

type ACLInterfaceEtypeWhitelistDetails

type ACLInterfaceEtypeWhitelistDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Count     uint8                          `binapi:"u8,name=count" json:"-"`
	NInput    uint8                          `binapi:"u8,name=n_input" json:"n_input,omitempty"`
	Whitelist []uint16                       `binapi:"u16[count],name=whitelist" json:"whitelist,omitempty"`
}

ACLInterfaceEtypeWhitelistDetails defines message 'acl_interface_etype_whitelist_details'.

func (*ACLInterfaceEtypeWhitelistDetails) GetCrcString

func (*ACLInterfaceEtypeWhitelistDetails) GetCrcString() string

func (*ACLInterfaceEtypeWhitelistDetails) GetMessageName

func (*ACLInterfaceEtypeWhitelistDetails) GetMessageName() string

func (*ACLInterfaceEtypeWhitelistDetails) GetMessageType

func (*ACLInterfaceEtypeWhitelistDetails) Marshal

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

func (*ACLInterfaceEtypeWhitelistDetails) Reset

func (*ACLInterfaceEtypeWhitelistDetails) Size

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

func (*ACLInterfaceEtypeWhitelistDetails) Unmarshal

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

type ACLInterfaceEtypeWhitelistDump

type ACLInterfaceEtypeWhitelistDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

ACLInterfaceEtypeWhitelistDump defines message 'acl_interface_etype_whitelist_dump'.

func (*ACLInterfaceEtypeWhitelistDump) GetCrcString

func (*ACLInterfaceEtypeWhitelistDump) GetCrcString() string

func (*ACLInterfaceEtypeWhitelistDump) GetMessageName

func (*ACLInterfaceEtypeWhitelistDump) GetMessageName() string

func (*ACLInterfaceEtypeWhitelistDump) GetMessageType

func (*ACLInterfaceEtypeWhitelistDump) Marshal

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

func (*ACLInterfaceEtypeWhitelistDump) Reset

func (m *ACLInterfaceEtypeWhitelistDump) Reset()

func (*ACLInterfaceEtypeWhitelistDump) Size

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

func (*ACLInterfaceEtypeWhitelistDump) Unmarshal

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

type ACLInterfaceListDetails

type ACLInterfaceListDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Count     uint8                          `binapi:"u8,name=count" json:"-"`
	NInput    uint8                          `binapi:"u8,name=n_input" json:"n_input,omitempty"`
	Acls      []uint32                       `binapi:"u32[count],name=acls" json:"acls,omitempty"`
}

ACLInterfaceListDetails defines message 'acl_interface_list_details'.

func (*ACLInterfaceListDetails) GetCrcString

func (*ACLInterfaceListDetails) GetCrcString() string

func (*ACLInterfaceListDetails) GetMessageName

func (*ACLInterfaceListDetails) GetMessageName() string

func (*ACLInterfaceListDetails) GetMessageType

func (*ACLInterfaceListDetails) GetMessageType() api.MessageType

func (*ACLInterfaceListDetails) Marshal

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

func (*ACLInterfaceListDetails) Reset

func (m *ACLInterfaceListDetails) Reset()

func (*ACLInterfaceListDetails) Size

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

func (*ACLInterfaceListDetails) Unmarshal

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

type ACLInterfaceListDump

type ACLInterfaceListDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"`
}

ACLInterfaceListDump defines message 'acl_interface_list_dump'.

func (*ACLInterfaceListDump) GetCrcString

func (*ACLInterfaceListDump) GetCrcString() string

func (*ACLInterfaceListDump) GetMessageName

func (*ACLInterfaceListDump) GetMessageName() string

func (*ACLInterfaceListDump) GetMessageType

func (*ACLInterfaceListDump) GetMessageType() api.MessageType

func (*ACLInterfaceListDump) Marshal

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

func (*ACLInterfaceListDump) Reset

func (m *ACLInterfaceListDump) Reset()

func (*ACLInterfaceListDump) Size

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

func (*ACLInterfaceListDump) Unmarshal

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

type ACLInterfaceSetACLList

type ACLInterfaceSetACLList struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Count     uint8                          `binapi:"u8,name=count" json:"-"`
	NInput    uint8                          `binapi:"u8,name=n_input" json:"n_input,omitempty"`
	Acls      []uint32                       `binapi:"u32[count],name=acls" json:"acls,omitempty"`
}

ACLInterfaceSetACLList defines message 'acl_interface_set_acl_list'.

func (*ACLInterfaceSetACLList) GetCrcString

func (*ACLInterfaceSetACLList) GetCrcString() string

func (*ACLInterfaceSetACLList) GetMessageName

func (*ACLInterfaceSetACLList) GetMessageName() string

func (*ACLInterfaceSetACLList) GetMessageType

func (*ACLInterfaceSetACLList) GetMessageType() api.MessageType

func (*ACLInterfaceSetACLList) Marshal

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

func (*ACLInterfaceSetACLList) Reset

func (m *ACLInterfaceSetACLList) Reset()

func (*ACLInterfaceSetACLList) Size

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

func (*ACLInterfaceSetACLList) Unmarshal

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

type ACLInterfaceSetACLListReply

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

ACLInterfaceSetACLListReply defines message 'acl_interface_set_acl_list_reply'.

func (*ACLInterfaceSetACLListReply) GetCrcString

func (*ACLInterfaceSetACLListReply) GetCrcString() string

func (*ACLInterfaceSetACLListReply) GetMessageName

func (*ACLInterfaceSetACLListReply) GetMessageName() string

func (*ACLInterfaceSetACLListReply) GetMessageType

func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType

func (*ACLInterfaceSetACLListReply) Marshal

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

func (*ACLInterfaceSetACLListReply) Reset

func (m *ACLInterfaceSetACLListReply) Reset()

func (*ACLInterfaceSetACLListReply) Size

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

func (*ACLInterfaceSetACLListReply) Unmarshal

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

type ACLInterfaceSetEtypeWhitelist

type ACLInterfaceSetEtypeWhitelist struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Count     uint8                          `binapi:"u8,name=count" json:"-"`
	NInput    uint8                          `binapi:"u8,name=n_input" json:"n_input,omitempty"`
	Whitelist []uint16                       `binapi:"u16[count],name=whitelist" json:"whitelist,omitempty"`
}

ACLInterfaceSetEtypeWhitelist defines message 'acl_interface_set_etype_whitelist'.

func (*ACLInterfaceSetEtypeWhitelist) GetCrcString

func (*ACLInterfaceSetEtypeWhitelist) GetCrcString() string

func (*ACLInterfaceSetEtypeWhitelist) GetMessageName

func (*ACLInterfaceSetEtypeWhitelist) GetMessageName() string

func (*ACLInterfaceSetEtypeWhitelist) GetMessageType

func (*ACLInterfaceSetEtypeWhitelist) GetMessageType() api.MessageType

func (*ACLInterfaceSetEtypeWhitelist) Marshal

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

func (*ACLInterfaceSetEtypeWhitelist) Reset

func (m *ACLInterfaceSetEtypeWhitelist) Reset()

func (*ACLInterfaceSetEtypeWhitelist) Size

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

func (*ACLInterfaceSetEtypeWhitelist) Unmarshal

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

type ACLInterfaceSetEtypeWhitelistReply

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

ACLInterfaceSetEtypeWhitelistReply defines message 'acl_interface_set_etype_whitelist_reply'.

func (*ACLInterfaceSetEtypeWhitelistReply) GetCrcString

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName() string

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageType

func (*ACLInterfaceSetEtypeWhitelistReply) Marshal

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

func (*ACLInterfaceSetEtypeWhitelistReply) Reset

func (*ACLInterfaceSetEtypeWhitelistReply) Size

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

func (*ACLInterfaceSetEtypeWhitelistReply) Unmarshal

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

type ACLPluginControlPing

type ACLPluginControlPing struct{}

ACLPluginControlPing defines message 'acl_plugin_control_ping'.

func (*ACLPluginControlPing) GetCrcString

func (*ACLPluginControlPing) GetCrcString() string

func (*ACLPluginControlPing) GetMessageName

func (*ACLPluginControlPing) GetMessageName() string

func (*ACLPluginControlPing) GetMessageType

func (*ACLPluginControlPing) GetMessageType() api.MessageType

func (*ACLPluginControlPing) Marshal

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

func (*ACLPluginControlPing) Reset

func (m *ACLPluginControlPing) Reset()

func (*ACLPluginControlPing) Size

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

func (*ACLPluginControlPing) Unmarshal

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

type ACLPluginControlPingReply

type ACLPluginControlPingReply struct {
	Retval      int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	ClientIndex uint32 `binapi:"u32,name=client_index" json:"client_index,omitempty"`
	VpePID      uint32 `binapi:"u32,name=vpe_pid" json:"vpe_pid,omitempty"`
}

ACLPluginControlPingReply defines message 'acl_plugin_control_ping_reply'.

func (*ACLPluginControlPingReply) GetCrcString

func (*ACLPluginControlPingReply) GetCrcString() string

func (*ACLPluginControlPingReply) GetMessageName

func (*ACLPluginControlPingReply) GetMessageName() string

func (*ACLPluginControlPingReply) GetMessageType

func (*ACLPluginControlPingReply) GetMessageType() api.MessageType

func (*ACLPluginControlPingReply) Marshal

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

func (*ACLPluginControlPingReply) Reset

func (m *ACLPluginControlPingReply) Reset()

func (*ACLPluginControlPingReply) Size

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

func (*ACLPluginControlPingReply) Unmarshal

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

type ACLPluginGetConnTableMaxEntries

type ACLPluginGetConnTableMaxEntries struct{}

ACLPluginGetConnTableMaxEntries defines message 'acl_plugin_get_conn_table_max_entries'.

func (*ACLPluginGetConnTableMaxEntries) GetCrcString

func (*ACLPluginGetConnTableMaxEntries) GetCrcString() string

func (*ACLPluginGetConnTableMaxEntries) GetMessageName

func (*ACLPluginGetConnTableMaxEntries) GetMessageName() string

func (*ACLPluginGetConnTableMaxEntries) GetMessageType

func (*ACLPluginGetConnTableMaxEntries) Marshal

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

func (*ACLPluginGetConnTableMaxEntries) Reset

func (*ACLPluginGetConnTableMaxEntries) Size

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

func (*ACLPluginGetConnTableMaxEntries) Unmarshal

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

type ACLPluginGetConnTableMaxEntriesReply

type ACLPluginGetConnTableMaxEntriesReply struct {
	ConnTableMaxEntries uint64 `binapi:"u64,name=conn_table_max_entries" json:"conn_table_max_entries,omitempty"`
}

ACLPluginGetConnTableMaxEntriesReply defines message 'acl_plugin_get_conn_table_max_entries_reply'.

func (*ACLPluginGetConnTableMaxEntriesReply) GetCrcString

func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageName

func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageName() string

func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageType

func (*ACLPluginGetConnTableMaxEntriesReply) Marshal

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

func (*ACLPluginGetConnTableMaxEntriesReply) Reset

func (*ACLPluginGetConnTableMaxEntriesReply) Size

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

func (*ACLPluginGetConnTableMaxEntriesReply) Unmarshal

type ACLPluginGetVersion

type ACLPluginGetVersion struct{}

ACLPluginGetVersion defines message 'acl_plugin_get_version'.

func (*ACLPluginGetVersion) GetCrcString

func (*ACLPluginGetVersion) GetCrcString() string

func (*ACLPluginGetVersion) GetMessageName

func (*ACLPluginGetVersion) GetMessageName() string

func (*ACLPluginGetVersion) GetMessageType

func (*ACLPluginGetVersion) GetMessageType() api.MessageType

func (*ACLPluginGetVersion) Marshal

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

func (*ACLPluginGetVersion) Reset

func (m *ACLPluginGetVersion) Reset()

func (*ACLPluginGetVersion) Size

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

func (*ACLPluginGetVersion) Unmarshal

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

type ACLPluginGetVersionReply

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

ACLPluginGetVersionReply defines message 'acl_plugin_get_version_reply'.

func (*ACLPluginGetVersionReply) GetCrcString

func (*ACLPluginGetVersionReply) GetCrcString() string

func (*ACLPluginGetVersionReply) GetMessageName

func (*ACLPluginGetVersionReply) GetMessageName() string

func (*ACLPluginGetVersionReply) GetMessageType

func (*ACLPluginGetVersionReply) GetMessageType() api.MessageType

func (*ACLPluginGetVersionReply) Marshal

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

func (*ACLPluginGetVersionReply) Reset

func (m *ACLPluginGetVersionReply) Reset()

func (*ACLPluginGetVersionReply) Size

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

func (*ACLPluginGetVersionReply) Unmarshal

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

type ACLStatsIntfCountersEnable

type ACLStatsIntfCountersEnable struct {
	Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"`
}

ACLStatsIntfCountersEnable defines message 'acl_stats_intf_counters_enable'.

func (*ACLStatsIntfCountersEnable) GetCrcString

func (*ACLStatsIntfCountersEnable) GetCrcString() string

func (*ACLStatsIntfCountersEnable) GetMessageName

func (*ACLStatsIntfCountersEnable) GetMessageName() string

func (*ACLStatsIntfCountersEnable) GetMessageType

func (*ACLStatsIntfCountersEnable) GetMessageType() api.MessageType

func (*ACLStatsIntfCountersEnable) Marshal

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

func (*ACLStatsIntfCountersEnable) Reset

func (m *ACLStatsIntfCountersEnable) Reset()

func (*ACLStatsIntfCountersEnable) Size

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

func (*ACLStatsIntfCountersEnable) Unmarshal

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

type ACLStatsIntfCountersEnableReply

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

ACLStatsIntfCountersEnableReply defines message 'acl_stats_intf_counters_enable_reply'.

func (*ACLStatsIntfCountersEnableReply) GetCrcString

func (*ACLStatsIntfCountersEnableReply) GetCrcString() string

func (*ACLStatsIntfCountersEnableReply) GetMessageName

func (*ACLStatsIntfCountersEnableReply) GetMessageName() string

func (*ACLStatsIntfCountersEnableReply) GetMessageType

func (*ACLStatsIntfCountersEnableReply) Marshal

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

func (*ACLStatsIntfCountersEnableReply) Reset

func (*ACLStatsIntfCountersEnableReply) Size

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

func (*ACLStatsIntfCountersEnableReply) Unmarshal

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

type MacipACLAdd

type MacipACLAdd struct {
	Tag   string                   `binapi:"string[64],name=tag" json:"tag,omitempty"`
	Count uint32                   `binapi:"u32,name=count" json:"-"`
	R     []acl_types.MacipACLRule `binapi:"macip_acl_rule[count],name=r" json:"r,omitempty"`
}

MacipACLAdd defines message 'macip_acl_add'.

func (*MacipACLAdd) GetCrcString

func (*MacipACLAdd) GetCrcString() string

func (*MacipACLAdd) GetMessageName

func (*MacipACLAdd) GetMessageName() string

func (*MacipACLAdd) GetMessageType

func (*MacipACLAdd) GetMessageType() api.MessageType

func (*MacipACLAdd) Marshal

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

func (*MacipACLAdd) Reset

func (m *MacipACLAdd) Reset()

func (*MacipACLAdd) Size

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

func (*MacipACLAdd) Unmarshal

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

type MacipACLAddReplace

type MacipACLAddReplace struct {
	ACLIndex uint32                   `binapi:"u32,name=acl_index,default=4294967295" json:"acl_index,omitempty"`
	Tag      string                   `binapi:"string[64],name=tag" json:"tag,omitempty"`
	Count    uint32                   `binapi:"u32,name=count" json:"-"`
	R        []acl_types.MacipACLRule `binapi:"macip_acl_rule[count],name=r" json:"r,omitempty"`
}

MacipACLAddReplace defines message 'macip_acl_add_replace'.

func (*MacipACLAddReplace) GetCrcString

func (*MacipACLAddReplace) GetCrcString() string

func (*MacipACLAddReplace) GetMessageName

func (*MacipACLAddReplace) GetMessageName() string

func (*MacipACLAddReplace) GetMessageType

func (*MacipACLAddReplace) GetMessageType() api.MessageType

func (*MacipACLAddReplace) Marshal

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

func (*MacipACLAddReplace) Reset

func (m *MacipACLAddReplace) Reset()

func (*MacipACLAddReplace) Size

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

func (*MacipACLAddReplace) Unmarshal

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

type MacipACLAddReplaceReply

type MacipACLAddReplaceReply struct {
	ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
	Retval   int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
}

MacipACLAddReplaceReply defines message 'macip_acl_add_replace_reply'.

func (*MacipACLAddReplaceReply) GetCrcString

func (*MacipACLAddReplaceReply) GetCrcString() string

func (*MacipACLAddReplaceReply) GetMessageName

func (*MacipACLAddReplaceReply) GetMessageName() string

func (*MacipACLAddReplaceReply) GetMessageType

func (*MacipACLAddReplaceReply) GetMessageType() api.MessageType

func (*MacipACLAddReplaceReply) Marshal

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

func (*MacipACLAddReplaceReply) Reset

func (m *MacipACLAddReplaceReply) Reset()

func (*MacipACLAddReplaceReply) Size

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

func (*MacipACLAddReplaceReply) Unmarshal

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

type MacipACLAddReply

type MacipACLAddReply struct {
	ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
	Retval   int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
}

MacipACLAddReply defines message 'macip_acl_add_reply'.

func (*MacipACLAddReply) GetCrcString

func (*MacipACLAddReply) GetCrcString() string

func (*MacipACLAddReply) GetMessageName

func (*MacipACLAddReply) GetMessageName() string

func (*MacipACLAddReply) GetMessageType

func (*MacipACLAddReply) GetMessageType() api.MessageType

func (*MacipACLAddReply) Marshal

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

func (*MacipACLAddReply) Reset

func (m *MacipACLAddReply) Reset()

func (*MacipACLAddReply) Size

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

func (*MacipACLAddReply) Unmarshal

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

type MacipACLDel

type MacipACLDel struct {
	ACLIndex uint32 `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
}

MacipACLDel defines message 'macip_acl_del'.

func (*MacipACLDel) GetCrcString

func (*MacipACLDel) GetCrcString() string

func (*MacipACLDel) GetMessageName

func (*MacipACLDel) GetMessageName() string

func (*MacipACLDel) GetMessageType

func (*MacipACLDel) GetMessageType() api.MessageType

func (*MacipACLDel) Marshal

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

func (*MacipACLDel) Reset

func (m *MacipACLDel) Reset()

func (*MacipACLDel) Size

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

func (*MacipACLDel) Unmarshal

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

type MacipACLDelReply

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

MacipACLDelReply defines message 'macip_acl_del_reply'.

func (*MacipACLDelReply) GetCrcString

func (*MacipACLDelReply) GetCrcString() string

func (*MacipACLDelReply) GetMessageName

func (*MacipACLDelReply) GetMessageName() string

func (*MacipACLDelReply) GetMessageType

func (*MacipACLDelReply) GetMessageType() api.MessageType

func (*MacipACLDelReply) Marshal

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

func (*MacipACLDelReply) Reset

func (m *MacipACLDelReply) Reset()

func (*MacipACLDelReply) Size

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

func (*MacipACLDelReply) Unmarshal

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

type MacipACLDetails

type MacipACLDetails struct {
	ACLIndex uint32                   `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
	Tag      string                   `binapi:"string[64],name=tag" json:"tag,omitempty"`
	Count    uint32                   `binapi:"u32,name=count" json:"-"`
	R        []acl_types.MacipACLRule `binapi:"macip_acl_rule[count],name=r" json:"r,omitempty"`
}

MacipACLDetails defines message 'macip_acl_details'.

func (*MacipACLDetails) GetCrcString

func (*MacipACLDetails) GetCrcString() string

func (*MacipACLDetails) GetMessageName

func (*MacipACLDetails) GetMessageName() string

func (*MacipACLDetails) GetMessageType

func (*MacipACLDetails) GetMessageType() api.MessageType

func (*MacipACLDetails) Marshal

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

func (*MacipACLDetails) Reset

func (m *MacipACLDetails) Reset()

func (*MacipACLDetails) Size

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

func (*MacipACLDetails) Unmarshal

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

type MacipACLDump

type MacipACLDump struct {
	ACLIndex uint32 `binapi:"u32,name=acl_index,default=4294967295" json:"acl_index,omitempty"`
}

MacipACLDump defines message 'macip_acl_dump'.

func (*MacipACLDump) GetCrcString

func (*MacipACLDump) GetCrcString() string

func (*MacipACLDump) GetMessageName

func (*MacipACLDump) GetMessageName() string

func (*MacipACLDump) GetMessageType

func (*MacipACLDump) GetMessageType() api.MessageType

func (*MacipACLDump) Marshal

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

func (*MacipACLDump) Reset

func (m *MacipACLDump) Reset()

func (*MacipACLDump) Size

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

func (*MacipACLDump) Unmarshal

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

type MacipACLInterfaceAddDel

type MacipACLInterfaceAddDel struct {
	IsAdd     bool                           `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	ACLIndex  uint32                         `binapi:"u32,name=acl_index" json:"acl_index,omitempty"`
}

MacipACLInterfaceAddDel defines message 'macip_acl_interface_add_del'.

func (*MacipACLInterfaceAddDel) GetCrcString

func (*MacipACLInterfaceAddDel) GetCrcString() string

func (*MacipACLInterfaceAddDel) GetMessageName

func (*MacipACLInterfaceAddDel) GetMessageName() string

func (*MacipACLInterfaceAddDel) GetMessageType

func (*MacipACLInterfaceAddDel) GetMessageType() api.MessageType

func (*MacipACLInterfaceAddDel) Marshal

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

func (*MacipACLInterfaceAddDel) Reset

func (m *MacipACLInterfaceAddDel) Reset()

func (*MacipACLInterfaceAddDel) Size

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

func (*MacipACLInterfaceAddDel) Unmarshal

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

type MacipACLInterfaceAddDelReply

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

MacipACLInterfaceAddDelReply defines message 'macip_acl_interface_add_del_reply'.

func (*MacipACLInterfaceAddDelReply) GetCrcString

func (*MacipACLInterfaceAddDelReply) GetCrcString() string

func (*MacipACLInterfaceAddDelReply) GetMessageName

func (*MacipACLInterfaceAddDelReply) GetMessageName() string

func (*MacipACLInterfaceAddDelReply) GetMessageType

func (*MacipACLInterfaceAddDelReply) GetMessageType() api.MessageType

func (*MacipACLInterfaceAddDelReply) Marshal

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

func (*MacipACLInterfaceAddDelReply) Reset

func (m *MacipACLInterfaceAddDelReply) Reset()

func (*MacipACLInterfaceAddDelReply) Size

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

func (*MacipACLInterfaceAddDelReply) Unmarshal

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

type MacipACLInterfaceGet

type MacipACLInterfaceGet struct{}

MacipACLInterfaceGet defines message 'macip_acl_interface_get'.

func (*MacipACLInterfaceGet) GetCrcString

func (*MacipACLInterfaceGet) GetCrcString() string

func (*MacipACLInterfaceGet) GetMessageName

func (*MacipACLInterfaceGet) GetMessageName() string

func (*MacipACLInterfaceGet) GetMessageType

func (*MacipACLInterfaceGet) GetMessageType() api.MessageType

func (*MacipACLInterfaceGet) Marshal

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

func (*MacipACLInterfaceGet) Reset

func (m *MacipACLInterfaceGet) Reset()

func (*MacipACLInterfaceGet) Size

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

func (*MacipACLInterfaceGet) Unmarshal

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

type MacipACLInterfaceGetReply

type MacipACLInterfaceGetReply struct {
	Count uint32   `binapi:"u32,name=count" json:"-"`
	Acls  []uint32 `binapi:"u32[count],name=acls" json:"acls,omitempty"`
}

MacipACLInterfaceGetReply defines message 'macip_acl_interface_get_reply'.

func (*MacipACLInterfaceGetReply) GetCrcString

func (*MacipACLInterfaceGetReply) GetCrcString() string

func (*MacipACLInterfaceGetReply) GetMessageName

func (*MacipACLInterfaceGetReply) GetMessageName() string

func (*MacipACLInterfaceGetReply) GetMessageType

func (*MacipACLInterfaceGetReply) GetMessageType() api.MessageType

func (*MacipACLInterfaceGetReply) Marshal

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

func (*MacipACLInterfaceGetReply) Reset

func (m *MacipACLInterfaceGetReply) Reset()

func (*MacipACLInterfaceGetReply) Size

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

func (*MacipACLInterfaceGetReply) Unmarshal

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

type MacipACLInterfaceListDetails

type MacipACLInterfaceListDetails struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Count     uint8                          `binapi:"u8,name=count" json:"-"`
	Acls      []uint32                       `binapi:"u32[count],name=acls" json:"acls,omitempty"`
}

MacipACLInterfaceListDetails defines message 'macip_acl_interface_list_details'.

func (*MacipACLInterfaceListDetails) GetCrcString

func (*MacipACLInterfaceListDetails) GetCrcString() string

func (*MacipACLInterfaceListDetails) GetMessageName

func (*MacipACLInterfaceListDetails) GetMessageName() string

func (*MacipACLInterfaceListDetails) GetMessageType

func (*MacipACLInterfaceListDetails) GetMessageType() api.MessageType

func (*MacipACLInterfaceListDetails) Marshal

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

func (*MacipACLInterfaceListDetails) Reset

func (m *MacipACLInterfaceListDetails) Reset()

func (*MacipACLInterfaceListDetails) Size

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

func (*MacipACLInterfaceListDetails) Unmarshal

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

type MacipACLInterfaceListDump

type MacipACLInterfaceListDump struct {
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}

MacipACLInterfaceListDump defines message 'macip_acl_interface_list_dump'.

func (*MacipACLInterfaceListDump) GetCrcString

func (*MacipACLInterfaceListDump) GetCrcString() string

func (*MacipACLInterfaceListDump) GetMessageName

func (*MacipACLInterfaceListDump) GetMessageName() string

func (*MacipACLInterfaceListDump) GetMessageType

func (*MacipACLInterfaceListDump) GetMessageType() api.MessageType

func (*MacipACLInterfaceListDump) Marshal

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

func (*MacipACLInterfaceListDump) Reset

func (m *MacipACLInterfaceListDump) Reset()

func (*MacipACLInterfaceListDump) Size

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

func (*MacipACLInterfaceListDump) Unmarshal

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

type RPCService

type RPCService interface {
	ACLAddReplace(ctx context.Context, in *ACLAddReplace) (*ACLAddReplaceReply, error)
	ACLDel(ctx context.Context, in *ACLDel) (*ACLDelReply, error)
	ACLDump(ctx context.Context, in *ACLDump) (RPCService_ACLDumpClient, error)
	ACLInterfaceAddDel(ctx context.Context, in *ACLInterfaceAddDel) (*ACLInterfaceAddDelReply, error)
	ACLInterfaceEtypeWhitelistDump(ctx context.Context, in *ACLInterfaceEtypeWhitelistDump) (RPCService_ACLInterfaceEtypeWhitelistDumpClient, error)
	ACLInterfaceListDump(ctx context.Context, in *ACLInterfaceListDump) (RPCService_ACLInterfaceListDumpClient, error)
	ACLInterfaceSetACLList(ctx context.Context, in *ACLInterfaceSetACLList) (*ACLInterfaceSetACLListReply, error)
	ACLInterfaceSetEtypeWhitelist(ctx context.Context, in *ACLInterfaceSetEtypeWhitelist) (*ACLInterfaceSetEtypeWhitelistReply, error)
	ACLPluginControlPing(ctx context.Context, in *ACLPluginControlPing) (*ACLPluginControlPingReply, error)
	ACLPluginGetConnTableMaxEntries(ctx context.Context, in *ACLPluginGetConnTableMaxEntries) (*ACLPluginGetConnTableMaxEntriesReply, error)
	ACLPluginGetVersion(ctx context.Context, in *ACLPluginGetVersion) (*ACLPluginGetVersionReply, error)
	ACLStatsIntfCountersEnable(ctx context.Context, in *ACLStatsIntfCountersEnable) (*ACLStatsIntfCountersEnableReply, error)
	MacipACLAdd(ctx context.Context, in *MacipACLAdd) (*MacipACLAddReply, error)
	MacipACLAddReplace(ctx context.Context, in *MacipACLAddReplace) (*MacipACLAddReplaceReply, error)
	MacipACLDel(ctx context.Context, in *MacipACLDel) (*MacipACLDelReply, error)
	MacipACLDump(ctx context.Context, in *MacipACLDump) (RPCService_MacipACLDumpClient, error)
	MacipACLInterfaceAddDel(ctx context.Context, in *MacipACLInterfaceAddDel) (*MacipACLInterfaceAddDelReply, error)
	MacipACLInterfaceGet(ctx context.Context, in *MacipACLInterfaceGet) (*MacipACLInterfaceGetReply, error)
	MacipACLInterfaceListDump(ctx context.Context, in *MacipACLInterfaceListDump) (RPCService_MacipACLInterfaceListDumpClient, error)
}

RPCService defines RPC service acl.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

type RPCService_ACLDumpClient

type RPCService_ACLDumpClient interface {
	Recv() (*ACLDetails, error)
	api.Stream
}

type RPCService_ACLInterfaceEtypeWhitelistDumpClient

type RPCService_ACLInterfaceEtypeWhitelistDumpClient interface {
	Recv() (*ACLInterfaceEtypeWhitelistDetails, error)
	api.Stream
}

type RPCService_ACLInterfaceListDumpClient

type RPCService_ACLInterfaceListDumpClient interface {
	Recv() (*ACLInterfaceListDetails, error)
	api.Stream
}

type RPCService_MacipACLDumpClient

type RPCService_MacipACLDumpClient interface {
	Recv() (*MacipACLDetails, error)
	api.Stream
}

type RPCService_MacipACLInterfaceListDumpClient

type RPCService_MacipACLInterfaceListDumpClient interface {
	Recv() (*MacipACLInterfaceListDetails, error)
	api.Stream
}

Jump to

Keyboard shortcuts

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