DPDK  23.07.0
rte_table_acl.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2010-2014 Intel Corporation
3  */
4 
5 #ifndef __INCLUDE_RTE_TABLE_ACL_H__
6 #define __INCLUDE_RTE_TABLE_ACL_H__
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
22 #include <stdint.h>
23 
24 #include "rte_acl.h"
25 
26 #include "rte_table.h"
27 
31  const char *name;
32 
34  uint32_t n_rules;
35 
37  uint32_t n_rule_fields;
38 
40  struct rte_acl_field_def field_format[RTE_ACL_MAX_FIELDS];
41 };
42 
46  int32_t priority;
47 
49  struct rte_acl_field field_value[RTE_ACL_MAX_FIELDS];
50 };
51 
55  struct rte_acl_field field_value[RTE_ACL_MAX_FIELDS];
56 };
57 
59 extern struct rte_table_ops rte_table_acl_ops;
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif
struct rte_table_ops rte_table_acl_ops
struct rte_acl_field_def field_format[RTE_ACL_MAX_FIELDS]
Definition: rte_table_acl.h:40