DPDK
24.11.0-rc3
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
18
#include <stdint.h>
19
20
#include "
rte_acl.h
"
21
22
#include "
rte_table.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
29
struct
rte_table_acl_params
{
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
44
struct
rte_table_acl_rule_add_params
{
46
int32_t
priority
;
47
49
struct
rte_acl_field
field_value[RTE_ACL_MAX_FIELDS];
50
};
51
53
struct
rte_table_acl_rule_delete_params
{
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
rte_table_acl_rule_delete_params
Definition:
rte_table_acl.h:53
rte_table_acl_rule_add_params::priority
int32_t priority
Definition:
rte_table_acl.h:46
rte_acl_field_def
Definition:
rte_acl.h:51
rte_table_ops
Definition:
rte_table.h:252
rte_table_acl_ops
struct rte_table_ops rte_table_acl_ops
rte_table_acl_rule_add_params
Definition:
rte_table_acl.h:44
rte_table_acl_params
Definition:
rte_table_acl.h:29
rte_acl_field
Definition:
rte_acl.h:75
rte_table.h
rte_table_acl_params::n_rule_fields
uint32_t n_rule_fields
Definition:
rte_table_acl.h:37
rte_table_acl_params::n_rules
uint32_t n_rules
Definition:
rte_table_acl.h:34
rte_table_acl_params::name
const char * name
Definition:
rte_table_acl.h:31
rte_acl.h
rte_table_acl_params::field_format
struct rte_acl_field_def field_format[RTE_ACL_MAX_FIELDS]
Definition:
rte_table_acl.h:40
Generated by
1.8.13