diff options
Diffstat (limited to 'src/vnet/devices/netmap')
-rw-r--r-- | src/vnet/devices/netmap/netmap.c | 2 | ||||
-rw-r--r-- | src/vnet/devices/netmap/netmap.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/devices/netmap/netmap.c b/src/vnet/devices/netmap/netmap.c index fc49ed629b8..25a3af73451 100644 --- a/src/vnet/devices/netmap/netmap.c +++ b/src/vnet/devices/netmap/netmap.c @@ -27,6 +27,8 @@ #include <vnet/ethernet/ethernet.h> #include <vnet/devices/netmap/netmap.h> +netmap_main_t netmap_main; + static u32 netmap_eth_flag_change (vnet_main_t * vnm, vnet_hw_interface_t * hi, u32 flags) diff --git a/src/vnet/devices/netmap/netmap.h b/src/vnet/devices/netmap/netmap.h index 047318909c9..29f855fda8e 100644 --- a/src/vnet/devices/netmap/netmap.h +++ b/src/vnet/devices/netmap/netmap.h @@ -98,7 +98,7 @@ typedef struct u32 input_cpu_count; } netmap_main_t; -netmap_main_t netmap_main; +extern netmap_main_t netmap_main; extern vnet_device_class_t netmap_device_class; extern vlib_node_registration_t netmap_input_node; |