acl

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package acl represents the VPP binary API of the 'acl' VPP module. DO NOT EDIT. Generated from './bin_api/acl.api.json'

Index

Constants

View Source
const VlAPIVersion = 0x3cd02d84

VlApiVersion contains version of the API.

Variables

This section is empty.

Functions

func ConfigACL

func ConfigACL(req *ACLAddReplace, ch *govpp.Channel) error

ConfigACL executes VPP binary API "acl_add_replace".

func ConfigIfACL

func ConfigIfACL(ifACL *ACLInterfaceSetACLList, ch *govpp.Channel) error

ConfigIfACL executes VPP binary API "acl_interface_set_acl_list".

func DelACL

func DelACL(req *ACLDel, ch *govpp.Channel) error

DelACL executes VPP binary API "acl_del".

func DelIfACL

func DelIfACL(req *ACLInterfaceSetACLList, ch *govpp.Channel) error

DelIfACL executes VPP binary API "acl_interface_set_acl_list" to clear the list of ACLs associated with a given interface.

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 NewACLInterfaceListDetails

func NewACLInterfaceListDetails() api.Message

func NewACLInterfaceListDump

func NewACLInterfaceListDump() api.Message

func NewACLInterfaceSetACLList

func NewACLInterfaceSetACLList() api.Message

func NewACLInterfaceSetACLListReply

func NewACLInterfaceSetACLListReply() api.Message

func NewACLPluginGetVersion

func NewACLPluginGetVersion() api.Message

func NewACLPluginGetVersionReply

func NewACLPluginGetVersionReply() api.Message

func NewMacipACLAdd

func NewMacipACLAdd() 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

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 './bin_api/acl.api.json', line 43:

["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" : "0x3c317936"}
],

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 './bin_api/acl.api.json', line 53:

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

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 './bin_api/acl.api.json', line 60:

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

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 './bin_api/acl.api.json', line 67:

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

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 './bin_api/acl.api.json', line 112:

["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" : "0x1c8916b7"}
],

func DumpACL

func DumpACL(ch *govpp.Channel) (*ACLDetails, error)

DumpACL executes VPP binary API "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 the VPP binary API message 'acl_dump'. Generated from './bin_api/acl.api.json', line 105:

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

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 './bin_api/acl.api.json', line 73:

["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" : "0x98b53725"}
],

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 './bin_api/acl.api.json', line 83:

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

func (*ACLInterfaceAddDelReply) GetCrcString

func (*ACLInterfaceAddDelReply) GetCrcString() string

func (*ACLInterfaceAddDelReply) GetMessageName

func (*ACLInterfaceAddDelReply) GetMessageName() string

func (*ACLInterfaceAddDelReply) GetMessageType

func (*ACLInterfaceAddDelReply) GetMessageType() api.MessageType

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 './bin_api/acl.api.json', line 128:

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

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 './bin_api/acl.api.json', line 121:

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

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 './bin_api/acl.api.json', line 89:

["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" : "0x7562419c"}
],

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 './bin_api/acl.api.json', line 99:

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

func (*ACLInterfaceSetACLListReply) GetCrcString

func (*ACLInterfaceSetACLListReply) GetCrcString() string

func (*ACLInterfaceSetACLListReply) GetMessageName

func (*ACLInterfaceSetACLListReply) GetMessageName() string

func (*ACLInterfaceSetACLListReply) GetMessageType

func (*ACLInterfaceSetACLListReply) GetMessageType() api.MessageType

type ACLPluginGetVersion

type ACLPluginGetVersion struct {
}

ACLPluginGetVersion represents the VPP binary API message 'acl_plugin_get_version'. Generated from './bin_api/acl.api.json', line 30:

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

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 './bin_api/acl.api.json', line 36:

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

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 './bin_api/acl.api.json', line 3:

["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" : "0x2715e1c0"}
],

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 './bin_api/acl.api.json', line 137:

["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" : "0x33356284"}
],

func (*MacipACLAdd) GetCrcString

func (*MacipACLAdd) GetCrcString() string

func (*MacipACLAdd) GetMessageName

func (*MacipACLAdd) GetMessageName() string

func (*MacipACLAdd) GetMessageType

func (*MacipACLAdd) 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 './bin_api/acl.api.json', line 146:

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

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 './bin_api/acl.api.json', line 153:

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

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 './bin_api/acl.api.json', line 160:

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

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 './bin_api/acl.api.json', line 188:

["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" : "0xee1c50db"}
],

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 './bin_api/acl.api.json', line 181:

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

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 './bin_api/acl.api.json', line 166:

["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" : "0x03a4fab2"}
],

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 './bin_api/acl.api.json', line 175:

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

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 './bin_api/acl.api.json', line 197:

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

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 './bin_api/acl.api.json', line 203:

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

func (*MacipACLInterfaceGetReply) GetCrcString

func (*MacipACLInterfaceGetReply) GetCrcString() string

func (*MacipACLInterfaceGetReply) GetMessageName

func (*MacipACLInterfaceGetReply) GetMessageName() string

func (*MacipACLInterfaceGetReply) GetMessageType

func (*MacipACLInterfaceGetReply) 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 './bin_api/acl.api.json', line 19:

["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" : "0x6723f13e"}
]

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