FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
vl_api_acl_rule_t Struct Reference

Access List Rule entry. More...

Data Fields

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
 

Detailed Description

Access List Rule entry.

Template Parameters
is_permit- deny (0), permit (1), or permit+reflect(2) action on this rule.
is_ipv6- IP addresses in this rule are IPv6 (1) or IPv4 (0)
src_ip_addr- Source prefix value
src_ip_prefix_len- Source prefix length
dst_ip_addr- Destination prefix value
dst_ip_prefix_len- Destination prefix length
proto- L4 protocol (http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml)
srcport_or_icmptype_first- beginning of source port or ICMP4/6 type range
srcport_or_icmptype_last- end of source port or ICMP4/6 type range
dstport_or_icmpcode_first- beginning of destination port or ICMP4/6 code range
dstport_or_icmpcode_last- end of destination port or ICMP4/6 code range
tcp_flags_mask- if proto==6, match masked TCP flags with this value
tcp_flags_value- if proto==6, mask to AND the TCP flags in the packet with

Definition at line 109 of file acl.api.

Field Documentation

◆ dst_ip_addr

u8 vl_api_acl_rule_t::dst_ip_addr[16]

Definition at line 115 of file acl.api.

◆ dst_ip_prefix_len

u8 vl_api_acl_rule_t::dst_ip_prefix_len

Definition at line 116 of file acl.api.

◆ dstport_or_icmpcode_first

u16 vl_api_acl_rule_t::dstport_or_icmpcode_first

Definition at line 133 of file acl.api.

◆ dstport_or_icmpcode_last

u16 vl_api_acl_rule_t::dstport_or_icmpcode_last

Definition at line 134 of file acl.api.

◆ is_ipv6

u8 vl_api_acl_rule_t::is_ipv6

Definition at line 112 of file acl.api.

◆ is_permit

u8 vl_api_acl_rule_t::is_permit

Definition at line 111 of file acl.api.

◆ proto

u8 vl_api_acl_rule_t::proto

Definition at line 121 of file acl.api.

◆ src_ip_addr

u8 vl_api_acl_rule_t::src_ip_addr[16]

Definition at line 113 of file acl.api.

◆ src_ip_prefix_len

u8 vl_api_acl_rule_t::src_ip_prefix_len

Definition at line 114 of file acl.api.

◆ srcport_or_icmptype_first

u16 vl_api_acl_rule_t::srcport_or_icmptype_first

Definition at line 131 of file acl.api.

◆ srcport_or_icmptype_last

u16 vl_api_acl_rule_t::srcport_or_icmptype_last

Definition at line 132 of file acl.api.

◆ tcp_flags_mask

u8 vl_api_acl_rule_t::tcp_flags_mask

Definition at line 140 of file acl.api.

◆ tcp_flags_value

u8 vl_api_acl_rule_t::tcp_flags_value

Definition at line 141 of file acl.api.


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