diff options
Diffstat (limited to 'vnet/vnet/ip/ip_feature_registration.h')
-rw-r--r-- | vnet/vnet/ip/ip_feature_registration.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/vnet/vnet/ip/ip_feature_registration.h b/vnet/vnet/ip/ip_feature_registration.h index b86e3a626e1..7829980739a 100644 --- a/vnet/vnet/ip/ip_feature_registration.h +++ b/vnet/vnet/ip/ip_feature_registration.h @@ -23,7 +23,7 @@ typedef struct _vnet_ip_feature_registration struct _vnet_ip_feature_registration *next; /** Graph node name */ char *node_name; - /** Pointer to this feature index, filled in by ip_feature_init_cast */ + /** Pointer to this feature index, filled in by vnet_feature_arc_init */ u32 *feature_index; /** Constraints of the form "this feature runs before X" */ char **runs_before; @@ -40,13 +40,12 @@ typedef struct ip_config_main_t_ /** Syntactic sugar, the c-compiler won't initialize registrations without it */ #define ORDER_CONSTRAINTS (char*[]) -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_ip_feature_registration_t * - first_reg, char ***feature_nodes); +clib_error_t *vnet_feature_arc_init (vlib_main_t * vm, + vnet_config_main_t * vcm, + char **feature_start_nodes, + int num_feature_start_nodes, + vnet_ip_feature_registration_t * + first_reg, char ***feature_nodes); void ip_interface_features_show (vlib_main_t * vm, const char *pname, |