FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
gbp_learn.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 __GBP_LEARN_H__
17 #define __GBP_LEARN_H__
18 
19 #include <plugins/gbp/gbp.h>
20 
21 typedef enum gbp_learn_mode_t_
22 {
26 
29 
30 extern void gbp_learn_set_inactive_threshold (u32 max_age);
31 
32 #endif
33 
34 /*
35  * fd.io coding-style-patch-verification: ON
36  *
37  * Local Variables:
38  * eval: (c-set-style "gnu")
39  * End:
40  */
void gbp_learn_enable(u32 sw_if_index, gbb_learn_mode_t mode)
Definition: gbp_learn.c:706
void gbp_learn_disable(u32 sw_if_index, gbb_learn_mode_t mode)
Definition: gbp_learn.c:720
gbp_learn_mode_t_
Definition: gbp_learn.h:21
void gbp_learn_set_inactive_threshold(u32 max_age)
u32 sw_if_index
Definition: vxlan_gbp.api:37
unsigned int u32
Definition: types.h:88
enum gbp_learn_mode_t_ gbb_learn_mode_t
vl_api_gbp_vxlan_tunnel_mode_t mode
Definition: gbp.api:349