acl

package
v1.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 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:
	 34 messages
	  2 types
	 17 services

Index

Constants

This section is empty.

Variables

This section is empty.

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 the VPP binary API message 'acl_add_replace'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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 type 'acl_rule'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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'.

"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 type 'macip_acl_rule'.

"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

type Services added in v1.8.1

Jump to

Keyboard shortcuts

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