acl

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by govpp binapi-generator DO NOT EDIT. Package acl represents the VPP binary API of the 'acl' VPP module. Generated from '/usr/share/vpp/api/acl.api.json'

Index

Constants

This section is empty.

Variables

View Source
var Consts = map[string]reflect.Value{}
View Source
var Functions = map[string]reflect.Value{
	"NewACLAddReplace":                      reflect.ValueOf(NewACLAddReplace),
	"NewACLAddReplaceReply":                 reflect.ValueOf(NewACLAddReplaceReply),
	"NewACLDel":                             reflect.ValueOf(NewACLDel),
	"NewACLDelReply":                        reflect.ValueOf(NewACLDelReply),
	"NewACLDetails":                         reflect.ValueOf(NewACLDetails),
	"NewACLDump":                            reflect.ValueOf(NewACLDump),
	"NewACLInterfaceAddDel":                 reflect.ValueOf(NewACLInterfaceAddDel),
	"NewACLInterfaceAddDelReply":            reflect.ValueOf(NewACLInterfaceAddDelReply),
	"NewACLInterfaceEtypeWhitelistDetails":  reflect.ValueOf(NewACLInterfaceEtypeWhitelistDetails),
	"NewACLInterfaceEtypeWhitelistDump":     reflect.ValueOf(NewACLInterfaceEtypeWhitelistDump),
	"NewACLInterfaceListDetails":            reflect.ValueOf(NewACLInterfaceListDetails),
	"NewACLInterfaceListDump":               reflect.ValueOf(NewACLInterfaceListDump),
	"NewACLInterfaceSetACLList":             reflect.ValueOf(NewACLInterfaceSetACLList),
	"NewACLInterfaceSetACLListReply":        reflect.ValueOf(NewACLInterfaceSetACLListReply),
	"NewACLInterfaceSetEtypeWhitelist":      reflect.ValueOf(NewACLInterfaceSetEtypeWhitelist),
	"NewACLInterfaceSetEtypeWhitelistReply": reflect.ValueOf(NewACLInterfaceSetEtypeWhitelistReply),
	"NewACLPluginControlPing":               reflect.ValueOf(NewACLPluginControlPing),
	"NewACLPluginControlPingReply":          reflect.ValueOf(NewACLPluginControlPingReply),
	"NewACLPluginGetVersion":                reflect.ValueOf(NewACLPluginGetVersion),
	"NewACLPluginGetVersionReply":           reflect.ValueOf(NewACLPluginGetVersionReply),
	"NewMacipACLAdd":                        reflect.ValueOf(NewMacipACLAdd),
	"NewMacipACLAddReplace":                 reflect.ValueOf(NewMacipACLAddReplace),
	"NewMacipACLAddReplaceReply":            reflect.ValueOf(NewMacipACLAddReplaceReply),
	"NewMacipACLAddReply":                   reflect.ValueOf(NewMacipACLAddReply),
	"NewMacipACLDel":                        reflect.ValueOf(NewMacipACLDel),
	"NewMacipACLDelReply":                   reflect.ValueOf(NewMacipACLDelReply),
	"NewMacipACLDetails":                    reflect.ValueOf(NewMacipACLDetails),
	"NewMacipACLDump":                       reflect.ValueOf(NewMacipACLDump),
	"NewMacipACLInterfaceAddDel":            reflect.ValueOf(NewMacipACLInterfaceAddDel),
	"NewMacipACLInterfaceAddDelReply":       reflect.ValueOf(NewMacipACLInterfaceAddDelReply),
	"NewMacipACLInterfaceGet":               reflect.ValueOf(NewMacipACLInterfaceGet),
	"NewMacipACLInterfaceGetReply":          reflect.ValueOf(NewMacipACLInterfaceGetReply),
	"NewMacipACLInterfaceListDetails":       reflect.ValueOf(NewMacipACLInterfaceListDetails),
	"NewMacipACLInterfaceListDump":          reflect.ValueOf(NewMacipACLInterfaceListDump),
}
View Source
var Types = map[string]reflect.Type{
	"ACLAddReplace":                      reflect.TypeOf((*ACLAddReplace)(nil)).Elem(),
	"ACLAddReplaceReply":                 reflect.TypeOf((*ACLAddReplaceReply)(nil)).Elem(),
	"ACLDel":                             reflect.TypeOf((*ACLDel)(nil)).Elem(),
	"ACLDelReply":                        reflect.TypeOf((*ACLDelReply)(nil)).Elem(),
	"ACLDetails":                         reflect.TypeOf((*ACLDetails)(nil)).Elem(),
	"ACLDump":                            reflect.TypeOf((*ACLDump)(nil)).Elem(),
	"ACLInterfaceAddDel":                 reflect.TypeOf((*ACLInterfaceAddDel)(nil)).Elem(),
	"ACLInterfaceAddDelReply":            reflect.TypeOf((*ACLInterfaceAddDelReply)(nil)).Elem(),
	"ACLInterfaceEtypeWhitelistDetails":  reflect.TypeOf((*ACLInterfaceEtypeWhitelistDetails)(nil)).Elem(),
	"ACLInterfaceEtypeWhitelistDump":     reflect.TypeOf((*ACLInterfaceEtypeWhitelistDump)(nil)).Elem(),
	"ACLInterfaceListDetails":            reflect.TypeOf((*ACLInterfaceListDetails)(nil)).Elem(),
	"ACLInterfaceListDump":               reflect.TypeOf((*ACLInterfaceListDump)(nil)).Elem(),
	"ACLInterfaceSetACLList":             reflect.TypeOf((*ACLInterfaceSetACLList)(nil)).Elem(),
	"ACLInterfaceSetACLListReply":        reflect.TypeOf((*ACLInterfaceSetACLListReply)(nil)).Elem(),
	"ACLInterfaceSetEtypeWhitelist":      reflect.TypeOf((*ACLInterfaceSetEtypeWhitelist)(nil)).Elem(),
	"ACLInterfaceSetEtypeWhitelistReply": reflect.TypeOf((*ACLInterfaceSetEtypeWhitelistReply)(nil)).Elem(),
	"ACLPluginControlPing":               reflect.TypeOf((*ACLPluginControlPing)(nil)).Elem(),
	"ACLPluginControlPingReply":          reflect.TypeOf((*ACLPluginControlPingReply)(nil)).Elem(),
	"ACLPluginGetVersion":                reflect.TypeOf((*ACLPluginGetVersion)(nil)).Elem(),
	"ACLPluginGetVersionReply":           reflect.TypeOf((*ACLPluginGetVersionReply)(nil)).Elem(),
	"ACLRule":                            reflect.TypeOf((*ACLRule)(nil)).Elem(),
	"MacipACLAdd":                        reflect.TypeOf((*MacipACLAdd)(nil)).Elem(),
	"MacipACLAddReplace":                 reflect.TypeOf((*MacipACLAddReplace)(nil)).Elem(),
	"MacipACLAddReplaceReply":            reflect.TypeOf((*MacipACLAddReplaceReply)(nil)).Elem(),
	"MacipACLAddReply":                   reflect.TypeOf((*MacipACLAddReply)(nil)).Elem(),
	"MacipACLDel":                        reflect.TypeOf((*MacipACLDel)(nil)).Elem(),
	"MacipACLDelReply":                   reflect.TypeOf((*MacipACLDelReply)(nil)).Elem(),
	"MacipACLDetails":                    reflect.TypeOf((*MacipACLDetails)(nil)).Elem(),
	"MacipACLDump":                       reflect.TypeOf((*MacipACLDump)(nil)).Elem(),
	"MacipACLInterfaceAddDel":            reflect.TypeOf((*MacipACLInterfaceAddDel)(nil)).Elem(),
	"MacipACLInterfaceAddDelReply":       reflect.TypeOf((*MacipACLInterfaceAddDelReply)(nil)).Elem(),
	"MacipACLInterfaceGet":               reflect.TypeOf((*MacipACLInterfaceGet)(nil)).Elem(),
	"MacipACLInterfaceGetReply":          reflect.TypeOf((*MacipACLInterfaceGetReply)(nil)).Elem(),
	"MacipACLInterfaceListDetails":       reflect.TypeOf((*MacipACLInterfaceListDetails)(nil)).Elem(),
	"MacipACLInterfaceListDump":          reflect.TypeOf((*MacipACLInterfaceListDump)(nil)).Elem(),
	"MacipACLRule":                       reflect.TypeOf((*MacipACLRule)(nil)).Elem(),
}
View Source
var Variables = map[string]reflect.Value{}

Functions

func NewACLAddReplace

func NewACLAddReplace() api.Message

func NewACLAddReplaceReply

func NewACLAddReplaceReply() api.Message

func NewACLDel

func NewACLDel() api.Message

func NewACLDelReply

func NewACLDelReply() api.Message

func NewACLDetails

func NewACLDetails() api.Message

func NewACLDump

func NewACLDump() api.Message

func NewACLInterfaceAddDel

func NewACLInterfaceAddDel() api.Message

func NewACLInterfaceAddDelReply

func NewACLInterfaceAddDelReply() api.Message

func NewACLInterfaceEtypeWhitelistDetails

func NewACLInterfaceEtypeWhitelistDetails() api.Message

func NewACLInterfaceEtypeWhitelistDump

func NewACLInterfaceEtypeWhitelistDump() api.Message

func NewACLInterfaceListDetails

func NewACLInterfaceListDetails() api.Message

func NewACLInterfaceListDump

func NewACLInterfaceListDump() api.Message

func NewACLInterfaceSetACLList

func NewACLInterfaceSetACLList() api.Message

func NewACLInterfaceSetACLListReply

func NewACLInterfaceSetACLListReply() api.Message

func NewACLInterfaceSetEtypeWhitelist

func NewACLInterfaceSetEtypeWhitelist() api.Message

func NewACLInterfaceSetEtypeWhitelistReply

func NewACLInterfaceSetEtypeWhitelistReply() api.Message

func NewACLPluginControlPing

func NewACLPluginControlPing() api.Message

func NewACLPluginControlPingReply

func NewACLPluginControlPingReply() api.Message

func NewACLPluginGetVersion

func NewACLPluginGetVersion() api.Message

func NewACLPluginGetVersionReply

func NewACLPluginGetVersionReply() api.Message

func NewMacipACLAdd

func NewMacipACLAdd() api.Message

func NewMacipACLAddReplace

func NewMacipACLAddReplace() api.Message

func NewMacipACLAddReplaceReply

func NewMacipACLAddReplaceReply() api.Message

func NewMacipACLAddReply

func NewMacipACLAddReply() api.Message

func NewMacipACLDel

func NewMacipACLDel() api.Message

func NewMacipACLDelReply

func NewMacipACLDelReply() api.Message

func NewMacipACLDetails

func NewMacipACLDetails() api.Message

func NewMacipACLDump

func NewMacipACLDump() api.Message

func NewMacipACLInterfaceAddDel

func NewMacipACLInterfaceAddDel() api.Message

func NewMacipACLInterfaceAddDelReply

func NewMacipACLInterfaceAddDelReply() api.Message

func NewMacipACLInterfaceGet

func NewMacipACLInterfaceGet() api.Message

func NewMacipACLInterfaceGetReply

func NewMacipACLInterfaceGetReply() api.Message

func NewMacipACLInterfaceListDetails

func NewMacipACLInterfaceListDetails() api.Message

func NewMacipACLInterfaceListDump

func NewMacipACLInterfaceListDump() api.Message

Types

type ACLAddReplace

type ACLAddReplace struct {
	ACLIndex uint32
	Tag      []byte `struc:"[64]byte"`
	Count    uint32 `struc:"sizeof=R"`
	R        []ACLRule
}

ACLAddReplace represents the VPP binary API message 'acl_add_replace'. Generated from '/usr/share/vpp/api/acl.api.json', line 148:

"acl_add_replace",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
[
    "u8",
    "tag",
    64
],
[
    "u32",
    "count"
],
[
    "vl_api_acl_rule_t",
    "r",
    0,
    "count"
],
{
    "crc": "0xe839997e"
}

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 the VPP binary API message 'acl_add_replace_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 185:

"acl_add_replace_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xac407b0c"
}

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 the VPP binary API message 'acl_del'. Generated from '/usr/share/vpp/api/acl.api.json', line 207:

"acl_del",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
{
    "crc": "0xef34fea4"
}

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 the VPP binary API message 'acl_del_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 229:

"acl_del_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

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 the VPP binary API message 'acl_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 375:

"acl_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
[
    "u8",
    "tag",
    64
],
[
    "u32",
    "count"
],
[
    "vl_api_acl_rule_t",
    "r",
    0,
    "count"
],
{
    "crc": "0x5bd895be"
}

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 the VPP binary API message 'acl_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 353:

"acl_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
{
    "crc": "0xef34fea4"
}

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 the VPP binary API message 'acl_interface_add_del'. Generated from '/usr/share/vpp/api/acl.api.json', line 247:

"acl_interface_add_del",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_add"
],
[
    "u8",
    "is_input"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "acl_index"
],
{
    "crc": "0x0b2aedd1"
}

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 the VPP binary API message 'acl_interface_add_del_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 281:

"acl_interface_add_del_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

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 the VPP binary API message 'acl_interface_etype_whitelist_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 887:

"acl_interface_etype_whitelist_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "count"
],
[
    "u8",
    "n_input"
],
[
    "u16",
    "whitelist",
    0,
    "count"
],
{
    "crc": "0x6a5d4e81"
}

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 the VPP binary API message 'acl_interface_etype_whitelist_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 865:

"acl_interface_etype_whitelist_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
{
    "crc": "0x529cb13f"
}

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 the VPP binary API message 'acl_interface_list_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 430:

"acl_interface_list_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "count"
],
[
    "u8",
    "n_input"
],
[
    "u32",
    "acls",
    0,
    "count"
],
{
    "crc": "0xd5e80809"
}

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 the VPP binary API message 'acl_interface_list_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 408:

"acl_interface_list_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
{
    "crc": "0x529cb13f"
}

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 the VPP binary API message 'acl_interface_set_acl_list'. Generated from '/usr/share/vpp/api/acl.api.json', line 299:

"acl_interface_set_acl_list",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "count"
],
[
    "u8",
    "n_input"
],
[
    "u32",
    "acls",
    0,
    "count"
],
{
    "crc": "0x8baece38"
}

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 the VPP binary API message 'acl_interface_set_acl_list_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 335:

"acl_interface_set_acl_list_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

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 the VPP binary API message 'acl_interface_set_etype_whitelist'. Generated from '/usr/share/vpp/api/acl.api.json', line 811:

"acl_interface_set_etype_whitelist",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "count"
],
[
    "u8",
    "n_input"
],
[
    "u16",
    "whitelist",
    0,
    "count"
],
{
    "crc": "0xf515efc5"
}

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 the VPP binary API message 'acl_interface_set_etype_whitelist_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 847:

"acl_interface_set_etype_whitelist_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*ACLInterfaceSetEtypeWhitelistReply) GetCrcString

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageName() string

func (*ACLInterfaceSetEtypeWhitelistReply) GetMessageType

type ACLPluginControlPing

type ACLPluginControlPing struct {
}

ACLPluginControlPing represents the VPP binary API message 'acl_plugin_control_ping'. Generated from '/usr/share/vpp/api/acl.api.json', line 104:

"acl_plugin_control_ping",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

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 the VPP binary API message 'acl_plugin_control_ping_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 122:

"acl_plugin_control_ping_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "vpe_pid"
],
{
    "crc": "0xf6b0b8ca"
}

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 the VPP binary API message 'acl_plugin_get_version'. Generated from '/usr/share/vpp/api/acl.api.json', line 64:

"acl_plugin_get_version",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

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 the VPP binary API message 'acl_plugin_get_version_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 82:

"acl_plugin_get_version_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "major"
],
[
    "u32",
    "minor"
],
{
    "crc": "0x9b32cf86"
}

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 the VPP binary API data type 'acl_rule'. Generated from '/usr/share/vpp/api/acl.api.json', line 921:

"acl_rule",
[
    "u8",
    "is_permit"
],
[
    "u8",
    "is_ipv6"
],
[
    "u8",
    "src_ip_addr",
    16
],
[
    "u8",
    "src_ip_prefix_len"
],
[
    "u8",
    "dst_ip_addr",
    16
],
[
    "u8",
    "dst_ip_prefix_len"
],
[
    "u8",
    "proto"
],
[
    "u16",
    "srcport_or_icmptype_first"
],
[
    "u16",
    "srcport_or_icmptype_last"
],
[
    "u16",
    "dstport_or_icmpcode_first"
],
[
    "u16",
    "dstport_or_icmpcode_last"
],
[
    "u8",
    "tcp_flags_mask"
],
[
    "u8",
    "tcp_flags_value"
],
{
    "crc": "0x6f99bf4d"
}

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 the VPP binary API message 'macip_acl_add'. Generated from '/usr/share/vpp/api/acl.api.json', line 462:

"macip_acl_add",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "tag",
    64
],
[
    "u32",
    "count"
],
[
    "vl_api_macip_acl_rule_t",
    "r",
    0,
    "count"
],
{
    "crc": "0xb3d3d65a"
}

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 the VPP binary API message 'macip_acl_add_replace'. Generated from '/usr/share/vpp/api/acl.api.json', line 517:

"macip_acl_add_replace",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
[
    "u8",
    "tag",
    64
],
[
    "u32",
    "count"
],
[
    "vl_api_macip_acl_rule_t",
    "r",
    0,
    "count"
],
{
    "crc": "0xa0e8c01b"
}

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 the VPP binary API message 'macip_acl_add_replace_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 554:

"macip_acl_add_replace_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xac407b0c"
}

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 the VPP binary API message 'macip_acl_add_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 495:

"macip_acl_add_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xac407b0c"
}

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 the VPP binary API message 'macip_acl_del'. Generated from '/usr/share/vpp/api/acl.api.json', line 576:

"macip_acl_del",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
{
    "crc": "0xef34fea4"
}

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 the VPP binary API message 'macip_acl_del_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 598:

"macip_acl_del_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

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 the VPP binary API message 'macip_acl_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 686:

"macip_acl_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
[
    "u8",
    "tag",
    64
],
[
    "u32",
    "count"
],
[
    "vl_api_macip_acl_rule_t",
    "r",
    0,
    "count"
],
{
    "crc": "0xdd2b55ba"
}

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 the VPP binary API message 'macip_acl_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 664:

"macip_acl_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "acl_index"
],
{
    "crc": "0xef34fea4"
}

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 the VPP binary API message 'macip_acl_interface_add_del'. Generated from '/usr/share/vpp/api/acl.api.json', line 616:

"macip_acl_interface_add_del",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_add"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "acl_index"
],
{
    "crc": "0x6a6be97c"
}

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 the VPP binary API message 'macip_acl_interface_add_del_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 646:

"macip_acl_interface_add_del_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

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 the VPP binary API message 'macip_acl_interface_get'. Generated from '/usr/share/vpp/api/acl.api.json', line 719:

"macip_acl_interface_get",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

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 the VPP binary API message 'macip_acl_interface_get_reply'. Generated from '/usr/share/vpp/api/acl.api.json', line 737:

"macip_acl_interface_get_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "count"
],
[
    "u32",
    "acls",
    0,
    "count"
],
{
    "crc": "0xaccf9b05"
}

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 the VPP binary API message 'macip_acl_interface_list_details'. Generated from '/usr/share/vpp/api/acl.api.json', line 783:

"macip_acl_interface_list_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
[
    "u8",
    "count"
],
[
    "u32",
    "acls",
    0,
    "count"
],
{
    "crc": "0x29783fa0"
}

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 the VPP binary API message 'macip_acl_interface_list_dump'. Generated from '/usr/share/vpp/api/acl.api.json', line 761:

"macip_acl_interface_list_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "sw_if_index"
],
{
    "crc": "0x529cb13f"
}

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 the VPP binary API data type 'macip_acl_rule'. Generated from '/usr/share/vpp/api/acl.api.json', line 981:

"macip_acl_rule",
[
    "u8",
    "is_permit"
],
[
    "u8",
    "is_ipv6"
],
[
    "u8",
    "src_mac",
    6
],
[
    "u8",
    "src_mac_mask",
    6
],
[
    "u8",
    "src_ip_addr",
    16
],
[
    "u8",
    "src_ip_prefix_len"
],
{
    "crc": "0x70589f1e"
}

func (*MacipACLRule) GetCrcString

func (*MacipACLRule) GetCrcString() string

func (*MacipACLRule) GetTypeName

func (*MacipACLRule) GetTypeName() string

Jump to

Keyboard shortcuts

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