DPDK
22.11.6
lib
table
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
30
struct
rte_table_acl_params
{
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
45
struct
rte_table_acl_rule_add_params
{
47
int32_t
priority
;
48
50
struct
rte_acl_field
field_value
[RTE_ACL_MAX_FIELDS];
51
};
52
54
struct
rte_table_acl_rule_delete_params
{
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
rte_acl.h
rte_table.h
rte_table_acl_ops
struct rte_table_ops rte_table_acl_ops
rte_acl_field_def
Definition:
rte_acl.h:51
rte_acl_field
Definition:
rte_acl.h:75
rte_table_acl_params
Definition:
rte_table_acl.h:30
rte_table_acl_params::n_rules
uint32_t n_rules
Definition:
rte_table_acl.h:35
rte_table_acl_params::field_format
struct rte_acl_field_def field_format[RTE_ACL_MAX_FIELDS]
Definition:
rte_table_acl.h:41
rte_table_acl_params::name
const char * name
Definition:
rte_table_acl.h:32
rte_table_acl_params::n_rule_fields
uint32_t n_rule_fields
Definition:
rte_table_acl.h:38
rte_table_acl_rule_add_params
Definition:
rte_table_acl.h:45
rte_table_acl_rule_add_params::priority
int32_t priority
Definition:
rte_table_acl.h:47
rte_table_acl_rule_add_params::field_value
struct rte_acl_field field_value[RTE_ACL_MAX_FIELDS]
Definition:
rte_table_acl.h:50
rte_table_acl_rule_delete_params
Definition:
rte_table_acl.h:54
rte_table_acl_rule_delete_params::field_value
struct rte_acl_field field_value[RTE_ACL_MAX_FIELDS]
Definition:
rte_table_acl.h:56
rte_table_ops
Definition:
rte_table.h:257
Generated by
1.9.4