DPDK  19.02.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 
23 #include <stdint.h>
24 
25 #include "rte_acl.h"
26 
27 #include "rte_table.h"
28 
32  const char *name;
33 
35  uint32_t n_rules;
36 
38  uint32_t n_rule_fields;
39 
41  struct rte_acl_field_def field_format[RTE_ACL_MAX_FIELDS];
42 };
43 
47  int32_t priority;
48 
50  struct rte_acl_field field_value[RTE_ACL_MAX_FIELDS];
51 };
52 
56  struct rte_acl_field field_value[RTE_ACL_MAX_FIELDS];
57 };
58 
60 extern struct rte_table_ops rte_table_acl_ops;
61 
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif