diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/llc_if.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/llc_if.h b/include/net/llc_if.h index a05d04ac4513..c608812a8e89 100644 --- a/include/net/llc_if.h +++ b/include/net/llc_if.h | |||
@@ -79,6 +79,10 @@ static inline int llc_addrany(const struct llc_addr *addr) | |||
79 | return llc_mac_null(addr->mac) && !addr->lsap; | 79 | return llc_mac_null(addr->mac) && !addr->lsap; |
80 | } | 80 | } |
81 | 81 | ||
82 | static inline int llc_mac_multicast(const u8 *mac) | ||
83 | { | ||
84 | return is_multicast_ether_addr(mac); | ||
85 | } | ||
82 | /** | 86 | /** |
83 | * llc_mac_match - determines if two mac addresses are the same | 87 | * llc_mac_match - determines if two mac addresses are the same |
84 | * @mac1: First mac address to compare. | 88 | * @mac1: First mac address to compare. |