#include <linux/kernel.h>
#include <linux/skbuff.h>
+#include <linux/etherdevice.h>
/* rename member in struct mmc_host in include/linux/mmc/host.h */
#define max_segs max_hw_segs
#define ETH_P_LINK_CTL 0x886c /* HPNA, wlan link local tunnel */
+/**
+ * is_unicast_ether_addr - Determine if the Ethernet address is unicast
+ * @addr: Pointer to a six-byte array containing the Ethernet address
+ *
+ * Return true if the address is a unicast address.
+ */
+static inline int is_unicast_ether_addr(const u8 *addr)
+{
+ return !is_multicast_ether_addr(addr);
+}
+
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)) */
#endif /* LINUX_26_38_COMPAT_H */