#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)
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];
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) \
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 *