DPDK  16.04.0
Data Fields
rte_acl_field Struct Reference

#include <rte_acl.h>

Data Fields

union rte_acl_field_types value
union rte_acl_field_types mask_range

Detailed Description

Defines the value of a field for a rule.

Examples:
l3fwd-acl/main.c.

Definition at line 104 of file rte_acl.h.

Field Documentation

union rte_acl_field_types value

a 1,2,4, or 8 byte value of the field.

Examples:
ip_pipeline/pipeline/pipeline_firewall_be.c, and l3fwd-acl/main.c.

Definition at line 105 of file rte_acl.h.

union rte_acl_field_types mask_range

depending on field type: mask -> 1.2.3.4/32 value=0x1020304, mask_range=32, range -> 0 : 65535 value=0, mask_range=65535, bitmask -> 0x06/0xff value=6, mask_range=0xff.

Examples:
ip_pipeline/pipeline/pipeline_firewall_be.c, and l3fwd-acl/main.c.

Definition at line 107 of file rte_acl.h.


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