* Check if an Ethernet address is a multicast address. * * @param ea * A pointer to a ether_addr structure containing the ethernet address * to check. * @return * True (1) if the given ethernet address is a multicast address; * false (0) otherwise. */
| 144 | * false (0) otherwise. |
| 145 | */ |
| 146 | static inline int rte_is_multicast_ether_addr(const struct rte_ether_addr *ea) |
| 147 | { |
| 148 | return ea->addr_bytes[0] & RTE_ETHER_GROUP_ADDR; |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * Check if an Ethernet address is a broadcast address. |
no outgoing calls
no test coverage detected