feature: rename vnet_ip_feature_* to vnet_feature_*
[vpp.git] / vnet / vnet / ethernet / ethernet.h
index 728da52..973ed58 100644 (file)
@@ -43,7 +43,7 @@
 #include <vnet/vnet.h>
 #include <vnet/ethernet/packet.h>
 #include <vnet/pg/pg.h>
-#include <vnet/ip/ip_feature_registration.h>
+#include <vnet/ip/feature_registration.h>
 
 always_inline u64
 ethernet_mac_address_u64 (u8 * a)
@@ -267,7 +267,7 @@ typedef struct
   ip_config_main_t feature_config_mains[VNET_N_IP_FEAT];
 
   /** Feature path configuration lists */
-  vnet_ip_feature_registration_t *next_feature[VNET_N_IP_FEAT];
+  vnet_feature_registration_t *next_feature[VNET_N_IP_FEAT];
 
   /** Save results for show command */
   char **feature_nodes[VNET_N_IP_FEAT];
@@ -279,7 +279,7 @@ typedef struct
 ethernet_main_t ethernet_main;
 
 #define VNET_ETHERNET_TX_FEATURE_INIT(x,...)                    \
-  __VA_ARGS__ vnet_ip_feature_registration_t tx_##x;            \
+  __VA_ARGS__ vnet_feature_registration_t tx_##x;            \
 static void __vnet_add_feature_registration_tx_##x (void)       \
   __attribute__((__constructor__)) ;                            \
 static void __vnet_add_feature_registration_tx_##x (void)       \
@@ -288,7 +288,7 @@ static void __vnet_add_feature_registration_tx_##x (void)       \
   tx_##x.next = im->next_feature[VNET_IP_TX_FEAT];              \
   im->next_feature[VNET_IP_TX_FEAT] = &tx_##x;                  \
 }                                                               \
-__VA_ARGS__ vnet_ip_feature_registration_t tx_##x
+__VA_ARGS__ vnet_feature_registration_t tx_##x
 
 
 always_inline ethernet_type_info_t *