FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
lookup_context.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef included_acl_lookup_context_h
17 #define included_acl_lookup_context_h
18 
19 typedef struct {
20  /* A name of the portion of the code using the ACL infra */
22  /* text label for the first u32 user value assigned to context */
23  char *val1_label;
24  /* text label for the second u32 user value assigned to context */
25  char *val2_label;
26  /* vector of lookup contexts of this user */
29 
30 typedef struct {
31  /* vector of acl #s within this context */
33  /* index of corresponding acl_lookup_context_user_t */
35  /* per-instance user value 1 */
37  /* per-instance user value 2 */
40 
42 
43 void acl_plugin_show_lookup_context (u32 lc_index);
44 void acl_plugin_show_lookup_user (u32 user_index);
45 
46 
47 /* These are in the hash matching for now */
51 void acl_plugin_show_tables_bihash (u32 show_bihash_verbose);
52 
53 /* Debug functions to turn validate/trace on and off */
56 
57 
58 
59 #endif
60 
u32 sw_if_index
Definition: ipsec_gre.api:37
u32 acl_index
Definition: gbp.api:304
void acl_plugin_show_tables_bihash(u32 show_bihash_verbose)
Definition: hash_lookup.c:1352
void acl_plugin_hash_acl_set_validate_heap(int on)
Definition: hash_lookup.c:617
void acl_plugin_show_lookup_context(u32 lc_index)
unsigned int u32
Definition: types.h:88
void acl_plugin_hash_acl_set_trace_heap(int on)
Definition: hash_lookup.c:635
void acl_plugin_show_lookup_user(u32 user_index)
void acl_plugin_show_tables_acl_hash_info(u32 acl_index)
Definition: hash_lookup.c:1243
void acl_plugin_show_tables_applied_info(u32 sw_if_index)
Definition: hash_lookup.c:1302
void acl_plugin_lookup_context_notify_acl_change(u32 acl_num)
void acl_plugin_show_tables_mask_type(void)
Definition: hash_lookup.c:1224