FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
acl_types.api File Reference

Go to the source code of this file.

Variables

typedef acl_rule
 Access List Rule entry. More...
 
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
 
typedef macip_acl_rule
 MACIP Access List Rule entry. More...
 
u8 src_mac [6]
 
u8 src_mac_mask [6]
 

Variable Documentation

◆ acl_rule

typedef acl_rule
Initial value:
{
u8 is_permit
unsigned char u8
Definition: types.h:56

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 36 of file acl_types.api.

◆ dst_ip_addr

u8 dst_ip_addr[16]

Definition at line 41 of file acl_types.api.

◆ dst_ip_prefix_len

u8 dst_ip_prefix_len

Definition at line 42 of file acl_types.api.

◆ dstport_or_icmpcode_first

u16 dstport_or_icmpcode_first

Definition at line 59 of file acl_types.api.

◆ dstport_or_icmpcode_last

u16 dstport_or_icmpcode_last

Definition at line 60 of file acl_types.api.

◆ is_ipv6

u8 is_ipv6

Definition at line 38 of file acl_types.api.

◆ macip_acl_rule

typedef macip_acl_rule
Initial value:
{
u8 is_permit
unsigned char u8
Definition: types.h:56

MACIP Access List Rule entry.

Template Parameters
is_permit- deny (0), permit (1) action on this rule.
is_ipv6- IP addresses in this rule are IPv6 (1) or IPv4 (0)
src_mac- match masked source MAC address against this value
src_mac_mask- AND source MAC address with this value before matching
src_ip_addr- Source prefix value
src_ip_prefix_len- Source prefix length

Definition at line 81 of file acl_types.api.

◆ proto

u8 proto

Definition at line 47 of file acl_types.api.

◆ src_ip_addr

u8 src_ip_addr

Definition at line 39 of file acl_types.api.

◆ src_ip_prefix_len

u8 src_ip_prefix_len

Definition at line 40 of file acl_types.api.

◆ src_mac

u8 src_mac[6]

Definition at line 93 of file acl_types.api.

◆ src_mac_mask

u8 src_mac_mask[6]

Definition at line 94 of file acl_types.api.

◆ srcport_or_icmptype_first

u16 srcport_or_icmptype_first

Definition at line 57 of file acl_types.api.

◆ srcport_or_icmptype_last

u16 srcport_or_icmptype_last

Definition at line 58 of file acl_types.api.

◆ tcp_flags_mask

u8 tcp_flags_mask

Definition at line 66 of file acl_types.api.

◆ tcp_flags_value

u8 tcp_flags_value

Definition at line 67 of file acl_types.api.