Go to the source code of this file.
◆ acl_action
Enumerator |
---|
ACL_ACTION_API_DENY | |
ACL_ACTION_API_PERMIT | |
ACL_ACTION_API_PERMIT_REFLECT | |
Definition at line 21 of file acl_types.api.
◆ acl_rule
Initial value:{
vl_api_acl_action_t is_permit
Access List Rule entry.
- Template Parameters
-
is_permit | - deny (0), permit (1), or permit+reflect(2) action on this rule. |
src_prefix | - Source prefix |
dst_prefix | - Destination prefix |
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 42 of file acl_types.api.
◆ api
import vnet ethernet ethernet_types api |
◆ dst_prefix
vl_api_prefix_t dst_prefix |
◆ dstport_or_icmpcode_first
u16 dstport_or_icmpcode_first |
◆ dstport_or_icmpcode_last
u16 dstport_or_icmpcode_last |
◆ macip_acl_rule
Initial value:{
vl_api_acl_action_t is_permit
MACIP Access List Rule entry.
- Template Parameters
-
is_permit | - deny (0), permit (1) action on this rule. |
src_mac | - match masked source MAC address against this value |
src_mac_mask | - AND source MAC address with this value before matching |
src_prefix | - Source prefix value |
Definition at line 82 of file acl_types.api.
◆ proto
◆ src_mac
vl_api_mac_address_t src_mac |
◆ src_mac_mask
vl_api_mac_address_t src_mac_mask |
◆ src_prefix
vl_api_prefix_t src_prefix |
◆ srcport_or_icmptype_first
u16 srcport_or_icmptype_first |
◆ srcport_or_icmptype_last
u16 srcport_or_icmptype_last |
◆ tcp_flags_mask
◆ tcp_flags_value