FD.io VPP  v19.08.3-2-gbabecb413
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 35 of file acl_types.api.

Field Documentation

◆ dst_ip_addr

u8 vl_api_acl_rule_t::dst_ip_addr[16]

Definition at line 41 of file acl_types.api.

◆ dst_ip_prefix_len

u8 vl_api_acl_rule_t::dst_ip_prefix_len

Definition at line 42 of file acl_types.api.

◆ dstport_or_icmpcode_first

u16 vl_api_acl_rule_t::dstport_or_icmpcode_first

Definition at line 59 of file acl_types.api.

◆ dstport_or_icmpcode_last

u16 vl_api_acl_rule_t::dstport_or_icmpcode_last

Definition at line 60 of file acl_types.api.

◆ is_ipv6

u8 vl_api_acl_rule_t::is_ipv6

Definition at line 38 of file acl_types.api.

◆ is_permit

u8 vl_api_acl_rule_t::is_permit

Definition at line 37 of file acl_types.api.

◆ proto

u8 vl_api_acl_rule_t::proto

Definition at line 47 of file acl_types.api.

◆ src_ip_addr

u8 vl_api_acl_rule_t::src_ip_addr[16]

Definition at line 39 of file acl_types.api.

◆ src_ip_prefix_len

u8 vl_api_acl_rule_t::src_ip_prefix_len

Definition at line 40 of file acl_types.api.

◆ srcport_or_icmptype_first

u16 vl_api_acl_rule_t::srcport_or_icmptype_first

Definition at line 57 of file acl_types.api.

◆ srcport_or_icmptype_last

u16 vl_api_acl_rule_t::srcport_or_icmptype_last

Definition at line 58 of file acl_types.api.

◆ tcp_flags_mask

u8 vl_api_acl_rule_t::tcp_flags_mask

Definition at line 66 of file acl_types.api.

◆ tcp_flags_value

u8 vl_api_acl_rule_t::tcp_flags_value

Definition at line 67 of file acl_types.api.


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