FD.io VPP  v16.09
Vector Packet Processing
ip_feature_registration.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 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_ip_feature_registration_h
17 #define included_ip_feature_registration_h
18 
19 typedef struct _vnet_ip_feature_registration {
20  struct _vnet_ip_feature_registration * next;
21  char * node_name;
22  u32 * feature_index;
23  char * runs_before[];
25 
28  ip_config_main_t * cm,
29  vnet_config_main_t * vcm,
30  char **feature_start_nodes,
31  int num_feature_start_nodes,
32  vnet_cast_t cast,
33  int is_ip4);
34 
35 #endif /* included_ip_feature_registration_h */
unsigned int u32
Definition: types.h:88
vnet_cast_t
Definition: vnet.h:45
static char * feature_start_nodes[]
Definition: ip4_forward.c:1469
clib_error_t * ip_feature_init_cast(vlib_main_t *vm, ip_config_main_t *cm, vnet_config_main_t *vcm, char **feature_start_nodes, int num_feature_start_nodes, vnet_cast_t cast, int is_ip4)
struct _vnet_ip_feature_registration vnet_ip_feature_registration_t