FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
vl_api_acl_add_replace_t Struct Reference

Replace an existing ACL in-place or create a new ACL. More...

Data Fields

u32 client_index
 
u32 context
 
u32 acl_index
 
u8 tag [64]
 
u32 count
 
vl_api_acl_rule_t r [count]
 
option vat_help = "<acl-idx> [<ipv4|ipv6>] <permit|permit+reflect|deny|action N> [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ..."
 

Detailed Description

Replace an existing ACL in-place or create a new ACL.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
acl_index- an existing ACL entry (0..0xfffffffe) to replace, or 0xffffffff to make new ACL
tag- a string value stored along with the ACL, for descriptive purposes
count- number of ACL rules - Rules for this access-list

Definition at line 104 of file acl.api.

Field Documentation

◆ acl_index

u32 vl_api_acl_add_replace_t::acl_index

Definition at line 108 of file acl.api.

◆ client_index

u32 vl_api_acl_add_replace_t::client_index

Definition at line 106 of file acl.api.

◆ context

u32 vl_api_acl_add_replace_t::context

Definition at line 107 of file acl.api.

◆ count

u32 vl_api_acl_add_replace_t::count

Definition at line 110 of file acl.api.

◆ r

vl_api_acl_rule_t vl_api_acl_add_replace_t::r[count]

Definition at line 111 of file acl.api.

◆ tag

u8 vl_api_acl_add_replace_t::tag[64]

Definition at line 109 of file acl.api.

◆ vat_help

option vl_api_acl_add_replace_t::vat_help = "<acl-idx> [<ipv4|ipv6>] <permit|permit+reflect|deny|action N> [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ..."

Definition at line 112 of file acl.api.


The documentation for this struct was generated from the following file: