Documentation ¶
Overview ¶
Package acl is a generated VPP binary API for 'acl' module.
It consists of:
2 types 38 messages 19 services
Index ¶
- Constants
- func AllMessages() []api.Message
- type ACLAddReplace
- type ACLAddReplaceReply
- type ACLDel
- type ACLDelReply
- type ACLDetails
- type ACLDump
- type ACLInterfaceAddDel
- type ACLInterfaceAddDelReply
- type ACLInterfaceEtypeWhitelistDetails
- type ACLInterfaceEtypeWhitelistDump
- type ACLInterfaceListDetails
- type ACLInterfaceListDump
- type ACLInterfaceSetACLList
- type ACLInterfaceSetACLListReply
- type ACLInterfaceSetEtypeWhitelist
- type ACLInterfaceSetEtypeWhitelistReply
- type ACLPluginControlPing
- type ACLPluginControlPingReply
- type ACLPluginGetConnTableMaxEntries
- type ACLPluginGetConnTableMaxEntriesReply
- type ACLPluginGetVersion
- type ACLPluginGetVersionReply
- type ACLRule
- type ACLStatsIntfCountersEnable
- type ACLStatsIntfCountersEnableReply
- type MacipACLAdd
- type MacipACLAddReplace
- type MacipACLAddReplaceReply
- type MacipACLAddReply
- type MacipACLDel
- type MacipACLDelReply
- type MacipACLDetails
- type MacipACLDump
- type MacipACLInterfaceAddDel
- type MacipACLInterfaceAddDelReply
- type MacipACLInterfaceGet
- type MacipACLInterfaceGetReply
- type MacipACLInterfaceListDetails
- type MacipACLInterfaceListDump
- type MacipACLRule
- type RPCService
- type RPCService_DumpACLClient
- type RPCService_DumpACLInterfaceEtypeWhitelistClient
- type RPCService_DumpACLInterfaceListClient
- type RPCService_DumpMacipACLClient
- type RPCService_DumpMacipACLInterfaceListClient
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "acl" // APIVersion is the API version of this module. APIVersion = "1.0.1" // VersionCrc is the CRC of this module. VersionCrc = 0xedb7b898 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type ACLAddReplace ¶
type ACLAddReplace struct { ACLIndex uint32 Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []ACLRule }
ACLAddReplace represents VPP binary API 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) Reset ¶
func (m *ACLAddReplace) Reset()
type ACLAddReplaceReply ¶
ACLAddReplaceReply represents VPP binary API 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) Reset ¶
func (m *ACLAddReplaceReply) Reset()
type ACLDel ¶
type ACLDel struct {
ACLIndex uint32
}
ACLDel represents VPP binary API message 'acl_del'.
func (*ACLDel) GetCrcString ¶
func (*ACLDel) GetMessageName ¶
func (*ACLDel) GetMessageType ¶
func (*ACLDel) GetMessageType() api.MessageType
type ACLDelReply ¶
type ACLDelReply struct {
Retval int32
}
ACLDelReply represents VPP binary API 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) Reset ¶
func (m *ACLDelReply) Reset()
type ACLDetails ¶
type ACLDetails struct { ACLIndex uint32 Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []ACLRule }
ACLDetails represents VPP binary API 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) Reset ¶
func (m *ACLDetails) Reset()
type ACLDump ¶
type ACLDump struct {
ACLIndex uint32
}
ACLDump represents VPP binary API message 'acl_dump'.
func (*ACLDump) GetCrcString ¶
func (*ACLDump) GetMessageName ¶
func (*ACLDump) GetMessageType ¶
func (*ACLDump) GetMessageType() api.MessageType
type ACLInterfaceAddDel ¶
ACLInterfaceAddDel represents VPP binary API 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) Reset ¶
func (m *ACLInterfaceAddDel) Reset()
type ACLInterfaceAddDelReply ¶
type ACLInterfaceAddDelReply struct {
Retval int32
}
ACLInterfaceAddDelReply represents VPP binary API 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) Reset ¶
func (m *ACLInterfaceAddDelReply) Reset()
type ACLInterfaceEtypeWhitelistDetails ¶
type ACLInterfaceEtypeWhitelistDetails struct { SwIfIndex uint32 Count uint8 `struc:"sizeof=Whitelist"` NInput uint8 Whitelist []uint16 }
ACLInterfaceEtypeWhitelistDetails represents VPP binary API 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) GetMessageType() api.MessageType
func (*ACLInterfaceEtypeWhitelistDetails) Reset ¶
func (m *ACLInterfaceEtypeWhitelistDetails) Reset()
type ACLInterfaceEtypeWhitelistDump ¶
type ACLInterfaceEtypeWhitelistDump struct {
SwIfIndex uint32
}
ACLInterfaceEtypeWhitelistDump represents VPP binary API 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) GetMessageType() api.MessageType
func (*ACLInterfaceEtypeWhitelistDump) Reset ¶
func (m *ACLInterfaceEtypeWhitelistDump) Reset()
type ACLInterfaceListDetails ¶
type ACLInterfaceListDetails struct { SwIfIndex uint32 Count uint8 `struc:"sizeof=Acls"` NInput uint8 Acls []uint32 }
ACLInterfaceListDetails represents VPP binary API 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) Reset ¶
func (m *ACLInterfaceListDetails) Reset()
type ACLInterfaceListDump ¶
type ACLInterfaceListDump struct {
SwIfIndex uint32
}
ACLInterfaceListDump represents VPP binary API 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) Reset ¶
func (m *ACLInterfaceListDump) Reset()
type ACLInterfaceSetACLList ¶
type ACLInterfaceSetACLList struct { SwIfIndex uint32 Count uint8 `struc:"sizeof=Acls"` NInput uint8 Acls []uint32 }
ACLInterfaceSetACLList represents VPP binary API 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) Reset ¶
func (m *ACLInterfaceSetACLList) Reset()
type ACLInterfaceSetACLListReply ¶
type ACLInterfaceSetACLListReply struct {
Retval int32
}
ACLInterfaceSetACLListReply represents VPP binary API 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) Reset ¶
func (m *ACLInterfaceSetACLListReply) Reset()
type ACLInterfaceSetEtypeWhitelist ¶
type ACLInterfaceSetEtypeWhitelist struct { SwIfIndex uint32 Count uint8 `struc:"sizeof=Whitelist"` NInput uint8 Whitelist []uint16 }
ACLInterfaceSetEtypeWhitelist represents VPP binary API 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) Reset ¶
func (m *ACLInterfaceSetEtypeWhitelist) Reset()
type ACLInterfaceSetEtypeWhitelistReply ¶
type ACLInterfaceSetEtypeWhitelistReply struct {
Retval int32
}
ACLInterfaceSetEtypeWhitelistReply represents VPP binary API message 'acl_interface_set_etype_whitelist_reply'.
func (*ACLInterfaceSetEtypeWhitelistReply) GetCrcString ¶
func (*ACLInterfaceSetEtypeWhitelistReply) GetCrcString() string
func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName ¶
func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName() string
func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageType ¶
func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageType() api.MessageType
func (*ACLInterfaceSetEtypeWhitelistReply) Reset ¶
func (m *ACLInterfaceSetEtypeWhitelistReply) Reset()
type ACLPluginControlPing ¶
type ACLPluginControlPing struct{}
ACLPluginControlPing represents VPP binary API 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) Reset ¶
func (m *ACLPluginControlPing) Reset()
type ACLPluginControlPingReply ¶
ACLPluginControlPingReply represents VPP binary API 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) Reset ¶
func (m *ACLPluginControlPingReply) Reset()
type ACLPluginGetConnTableMaxEntries ¶
type ACLPluginGetConnTableMaxEntries struct{}
ACLPluginGetConnTableMaxEntries represents VPP binary API 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) GetMessageType() api.MessageType
func (*ACLPluginGetConnTableMaxEntries) Reset ¶
func (m *ACLPluginGetConnTableMaxEntries) Reset()
type ACLPluginGetConnTableMaxEntriesReply ¶
type ACLPluginGetConnTableMaxEntriesReply struct {
ConnTableMaxEntries uint64
}
ACLPluginGetConnTableMaxEntriesReply represents VPP binary API message 'acl_plugin_get_conn_table_max_entries_reply'.
func (*ACLPluginGetConnTableMaxEntriesReply) GetCrcString ¶
func (*ACLPluginGetConnTableMaxEntriesReply) GetCrcString() string
func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageName ¶
func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageName() string
func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageType ¶
func (*ACLPluginGetConnTableMaxEntriesReply) GetMessageType() api.MessageType
func (*ACLPluginGetConnTableMaxEntriesReply) Reset ¶
func (m *ACLPluginGetConnTableMaxEntriesReply) Reset()
type ACLPluginGetVersion ¶
type ACLPluginGetVersion struct{}
ACLPluginGetVersion represents VPP binary API 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) Reset ¶
func (m *ACLPluginGetVersion) Reset()
type ACLPluginGetVersionReply ¶
ACLPluginGetVersionReply represents VPP binary API 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) Reset ¶
func (m *ACLPluginGetVersionReply) Reset()
type ACLRule ¶
type ACLRule struct { IsPermit uint8 IsIPv6 uint8 SrcIPAddr []byte `struc:"[16]byte"` SrcIPPrefixLen uint8 DstIPAddr []byte `struc:"[16]byte"` DstIPPrefixLen uint8 Proto uint8 SrcportOrIcmptypeFirst uint16 SrcportOrIcmptypeLast uint16 DstportOrIcmpcodeFirst uint16 DstportOrIcmpcodeLast uint16 TCPFlagsMask uint8 TCPFlagsValue uint8 }
ACLRule represents VPP binary API type 'acl_rule'.
func (*ACLRule) GetTypeName ¶
type ACLStatsIntfCountersEnable ¶
type ACLStatsIntfCountersEnable struct {
Enable bool
}
ACLStatsIntfCountersEnable represents VPP binary API 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) Reset ¶
func (m *ACLStatsIntfCountersEnable) Reset()
type ACLStatsIntfCountersEnableReply ¶
type ACLStatsIntfCountersEnableReply struct {
Retval int32
}
ACLStatsIntfCountersEnableReply represents VPP binary API 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) GetMessageType() api.MessageType
func (*ACLStatsIntfCountersEnableReply) Reset ¶
func (m *ACLStatsIntfCountersEnableReply) Reset()
type MacipACLAdd ¶
type MacipACLAdd struct { Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []MacipACLRule }
MacipACLAdd represents VPP binary API 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) Reset ¶
func (m *MacipACLAdd) Reset()
type MacipACLAddReplace ¶
type MacipACLAddReplace struct { ACLIndex uint32 Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []MacipACLRule }
MacipACLAddReplace represents VPP binary API 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) Reset ¶
func (m *MacipACLAddReplace) Reset()
type MacipACLAddReplaceReply ¶
MacipACLAddReplaceReply represents VPP binary API 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) Reset ¶
func (m *MacipACLAddReplaceReply) Reset()
type MacipACLAddReply ¶
MacipACLAddReply represents VPP binary API 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) Reset ¶
func (m *MacipACLAddReply) Reset()
type MacipACLDel ¶
type MacipACLDel struct {
ACLIndex uint32
}
MacipACLDel represents VPP binary API 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) Reset ¶
func (m *MacipACLDel) Reset()
type MacipACLDelReply ¶
type MacipACLDelReply struct {
Retval int32
}
MacipACLDelReply represents VPP binary API 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) Reset ¶
func (m *MacipACLDelReply) Reset()
type MacipACLDetails ¶
type MacipACLDetails struct { ACLIndex uint32 Tag []byte `struc:"[64]byte"` Count uint32 `struc:"sizeof=R"` R []MacipACLRule }
MacipACLDetails represents VPP binary API 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) Reset ¶
func (m *MacipACLDetails) Reset()
type MacipACLDump ¶
type MacipACLDump struct {
ACLIndex uint32
}
MacipACLDump represents VPP binary API 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) Reset ¶
func (m *MacipACLDump) Reset()
type MacipACLInterfaceAddDel ¶
MacipACLInterfaceAddDel represents VPP binary API 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) Reset ¶
func (m *MacipACLInterfaceAddDel) Reset()
type MacipACLInterfaceAddDelReply ¶
type MacipACLInterfaceAddDelReply struct {
Retval int32
}
MacipACLInterfaceAddDelReply represents VPP binary API 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) Reset ¶
func (m *MacipACLInterfaceAddDelReply) Reset()
type MacipACLInterfaceGet ¶
type MacipACLInterfaceGet struct{}
MacipACLInterfaceGet represents VPP binary API 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) Reset ¶
func (m *MacipACLInterfaceGet) Reset()
type MacipACLInterfaceGetReply ¶
MacipACLInterfaceGetReply represents VPP binary API 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) Reset ¶
func (m *MacipACLInterfaceGetReply) Reset()
type MacipACLInterfaceListDetails ¶
type MacipACLInterfaceListDetails struct { SwIfIndex uint32 Count uint8 `struc:"sizeof=Acls"` Acls []uint32 }
MacipACLInterfaceListDetails represents VPP binary API 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) Reset ¶
func (m *MacipACLInterfaceListDetails) Reset()
type MacipACLInterfaceListDump ¶
type MacipACLInterfaceListDump struct {
SwIfIndex uint32
}
MacipACLInterfaceListDump represents VPP binary API 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) Reset ¶
func (m *MacipACLInterfaceListDump) Reset()
type MacipACLRule ¶
type MacipACLRule struct { IsPermit uint8 IsIPv6 uint8 SrcMac []byte `struc:"[6]byte"` SrcMacMask []byte `struc:"[6]byte"` SrcIPAddr []byte `struc:"[16]byte"` SrcIPPrefixLen uint8 }
MacipACLRule represents VPP binary API type 'macip_acl_rule'.
func (*MacipACLRule) GetTypeName ¶
func (*MacipACLRule) GetTypeName() string
type RPCService ¶
type RPCService interface { DumpACL(ctx context.Context, in *ACLDump) (RPCService_DumpACLClient, error) DumpACLInterfaceEtypeWhitelist(ctx context.Context, in *ACLInterfaceEtypeWhitelistDump) (RPCService_DumpACLInterfaceEtypeWhitelistClient, error) DumpACLInterfaceList(ctx context.Context, in *ACLInterfaceListDump) (RPCService_DumpACLInterfaceListClient, error) DumpMacipACL(ctx context.Context, in *MacipACLDump) (RPCService_DumpMacipACLClient, error) DumpMacipACLInterfaceList(ctx context.Context, in *MacipACLInterfaceListDump) (RPCService_DumpMacipACLInterfaceListClient, error) ACLAddReplace(ctx context.Context, in *ACLAddReplace) (*ACLAddReplaceReply, error) ACLDel(ctx context.Context, in *ACLDel) (*ACLDelReply, error) ACLInterfaceAddDel(ctx context.Context, in *ACLInterfaceAddDel) (*ACLInterfaceAddDelReply, 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) MacipACLInterfaceAddDel(ctx context.Context, in *MacipACLInterfaceAddDel) (*MacipACLInterfaceAddDelReply, error) MacipACLInterfaceGet(ctx context.Context, in *MacipACLInterfaceGet) (*MacipACLInterfaceGetReply, error) }
RPCService represents RPC service API for acl module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpACLClient ¶
type RPCService_DumpACLClient interface {
Recv() (*ACLDetails, error)
}
type RPCService_DumpACLInterfaceEtypeWhitelistClient ¶
type RPCService_DumpACLInterfaceEtypeWhitelistClient interface {
Recv() (*ACLInterfaceEtypeWhitelistDetails, error)
}
type RPCService_DumpACLInterfaceListClient ¶
type RPCService_DumpACLInterfaceListClient interface {
Recv() (*ACLInterfaceListDetails, error)
}
type RPCService_DumpMacipACLClient ¶
type RPCService_DumpMacipACLClient interface {
Recv() (*MacipACLDetails, error)
}
type RPCService_DumpMacipACLInterfaceListClient ¶
type RPCService_DumpMacipACLInterfaceListClient interface {
Recv() (*MacipACLInterfaceListDetails, error)
}