acl

package
v2.1.0-alpha+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

 Package acl is a generated from VPP binary API module 'acl'.

 It contains following objects:
	 17 services
	  2 types
	 34 messages

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

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

type ACLAddReplaceReply

type ACLAddReplaceReply struct {
	ACLIndex uint32
	Retval   int32
}

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

type ACLDel

type ACLDel struct {
	ACLIndex uint32
}

ACLDel represents VPP binary API 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

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

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

type ACLDump

type ACLDump struct {
	ACLIndex uint32
}

ACLDump represents VPP binary API 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

type ACLInterfaceAddDel

type ACLInterfaceAddDel struct {
	IsAdd     uint8
	IsInput   uint8
	SwIfIndex uint32
	ACLIndex  uint32
}

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

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

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

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

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

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

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

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

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

type ACLInterfaceSetEtypeWhitelistReply

type ACLInterfaceSetEtypeWhitelistReply struct {
	Retval int32
}

ACLInterfaceSetEtypeWhitelistReply represents VPP binary API message 'acl_interface_set_etype_whitelist_reply':

func (*ACLInterfaceSetEtypeWhitelistReply) GetCrcString

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName() string

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageType

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

type ACLPluginControlPingReply

type ACLPluginControlPingReply struct {
	Retval      int32
	ClientIndex uint32
	VpePID      uint32
}

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

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

type ACLPluginGetVersionReply

type ACLPluginGetVersionReply struct {
	Major uint32
	Minor uint32
}

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

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) GetCrcString

func (*ACLRule) GetCrcString() string

func (*ACLRule) GetTypeName

func (*ACLRule) GetTypeName() string

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

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

type MacipACLAddReplaceReply

type MacipACLAddReplaceReply struct {
	ACLIndex uint32
	Retval   int32
}

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

type MacipACLAddReply

type MacipACLAddReply struct {
	ACLIndex uint32
	Retval   int32
}

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

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

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

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

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

type MacipACLInterfaceAddDel

type MacipACLInterfaceAddDel struct {
	IsAdd     uint8
	SwIfIndex uint32
	ACLIndex  uint32
}

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

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

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

type MacipACLInterfaceGetReply

type MacipACLInterfaceGetReply struct {
	Count uint32 `struc:"sizeof=Acls"`
	Acls  []uint32
}

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

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

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

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) GetCrcString

func (*MacipACLRule) GetCrcString() string

func (*MacipACLRule) GetTypeName

func (*MacipACLRule) GetTypeName() string

type Services

type Services interface {
	DumpACL(*ACLDump) ([]*ACLDetails, error)
	DumpACLInterfaceEtypeWhitelist(*ACLInterfaceEtypeWhitelistDump) ([]*ACLInterfaceEtypeWhitelistDetails, error)
	DumpACLInterfaceList(*ACLInterfaceListDump) ([]*ACLInterfaceListDetails, error)
	DumpMacipACL(*MacipACLDump) ([]*MacipACLDetails, error)
	DumpMacipACLInterfaceList(*MacipACLInterfaceListDump) ([]*MacipACLInterfaceListDetails, error)
	ACLAddReplace(*ACLAddReplace) (*ACLAddReplaceReply, error)
	ACLDel(*ACLDel) (*ACLDelReply, error)
	ACLInterfaceAddDel(*ACLInterfaceAddDel) (*ACLInterfaceAddDelReply, error)
	ACLInterfaceSetACLList(*ACLInterfaceSetACLList) (*ACLInterfaceSetACLListReply, error)
	ACLInterfaceSetEtypeWhitelist(*ACLInterfaceSetEtypeWhitelist) (*ACLInterfaceSetEtypeWhitelistReply, error)
	ACLPluginControlPing(*ACLPluginControlPing) (*ACLPluginControlPingReply, error)
	ACLPluginGetVersion(*ACLPluginGetVersion) (*ACLPluginGetVersionReply, error)
	MacipACLAdd(*MacipACLAdd) (*MacipACLAddReply, error)
	MacipACLAddReplace(*MacipACLAddReplace) (*MacipACLAddReplaceReply, error)
	MacipACLDel(*MacipACLDel) (*MacipACLDelReply, error)
	MacipACLInterfaceAddDel(*MacipACLInterfaceAddDel) (*MacipACLInterfaceAddDelReply, error)
	MacipACLInterfaceGet(*MacipACLInterfaceGet) (*MacipACLInterfaceGetReply, error)
}

Services represents VPP binary API services:

Jump to

Keyboard shortcuts

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