FD.io VPP
v19.04.2-12-g66b1689
Vector Packet Processing
Main Page
Related Pages
Modules
Namespaces
Data Structures
Source
Files
Symbols
gbp_classify.h
Go to the documentation of this file.
1
/*
2
* gbp.h : Group Based Policy
3
*
4
* Copyright (c) 2018 Cisco and/or its affiliates.
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at:
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
18
#ifndef __GBP_CLASSIFY_H__
19
#define __GBP_CLASSIFY_H__
20
21
#include <
plugins/gbp/gbp.h
>
22
23
typedef
enum
gbp_src_classify_type_t_
24
{
25
GBP_SRC_CLASSIFY_NULL
,
26
GBP_SRC_CLASSIFY_PORT
,
27
GBP_SRC_CLASSIFY_LPM
,
28
}
gbp_src_classify_type_t
;
29
30
#define GBP_SRC_N_CLASSIFY (GBP_SRC_CLASSIFY_LPM + 1)
31
32
/**
33
* Grouping of global data for the GBP source EPG classification feature
34
*/
35
typedef
struct
gbp_src_classify_main_t_
36
{
37
/**
38
* Next nodes for L2 output features
39
*/
40
u32
l2_input_feat_next
[
GBP_SRC_N_CLASSIFY
][32];
41
}
gbp_src_classify_main_t
;
42
43
extern
gbp_src_classify_main_t
gbp_src_classify_main
;
44
45
#endif
46
47
/*
48
* fd.io coding-style-patch-verification: ON
49
*
50
* Local Variables:
51
* eval: (c-set-style "gnu")
52
* End:
53
*/
gbp_src_classify_main
gbp_src_classify_main_t gbp_src_classify_main
Definition:
gbp_classify.c:22
gbp_src_classify_type_t_
gbp_src_classify_type_t_
Definition:
gbp_classify.h:23
gbp.h
u32
unsigned int u32
Definition:
types.h:88
GBP_SRC_CLASSIFY_PORT
Definition:
gbp_classify.h:26
gbp_src_classify_type_t
enum gbp_src_classify_type_t_ gbp_src_classify_type_t
gbp_src_classify_main_t_
Grouping of global data for the GBP source EPG classification feature.
Definition:
gbp_classify.h:35
GBP_SRC_CLASSIFY_NULL
Definition:
gbp_classify.h:25
gbp_src_classify_main_t_::l2_input_feat_next
u32 l2_input_feat_next[GBP_SRC_N_CLASSIFY][32]
Next nodes for L2 output features.
Definition:
gbp_classify.h:40
GBP_SRC_N_CLASSIFY
#define GBP_SRC_N_CLASSIFY
Definition:
gbp_classify.h:30
gbp_src_classify_main_t
struct gbp_src_classify_main_t_ gbp_src_classify_main_t
Grouping of global data for the GBP source EPG classification feature.
GBP_SRC_CLASSIFY_LPM
Definition:
gbp_classify.h:27
src
plugins
gbp
gbp_classify.h
Generated on Wed Oct 16 2019 18:54:15 for FD.io VPP by
1.8.11