DPDK  24.07.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:
examples/l3fwd/l3fwd_acl.c.

Definition at line 75 of file rte_acl.h.

Field Documentation

◆ value

union rte_acl_field_types value

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

Examples:
examples/l3fwd/l3fwd_acl.c.

Definition at line 76 of file rte_acl.h.

◆ mask_range

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:
examples/l3fwd/l3fwd_acl.c.

Definition at line 78 of file rte_acl.h.


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