return (a & (1ULL << (5 * 8))) != 0;
}
+static inline int
+ethernet_mac_address_is_zero (u8 * mac)
+{
+ return ((*((u32 *) mac) == 0) && (*((u16 *) (mac + 4)) == 0));
+}
+
static_always_inline int
ethernet_frame_is_tagged (u16 type)
{
uword *bm_loopback_instances;
} ethernet_main_t;
-ethernet_main_t ethernet_main;
+extern ethernet_main_t ethernet_main;
always_inline ethernet_type_info_t *
ethernet_get_type_info (ethernet_main_t * em, ethernet_type_t type)