MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_is_multicast_ether_addr

Function rte_is_multicast_ether_addr

dpdk/lib/net/rte_ether.h:146–149  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

144 * false (0) otherwise.
145 */
146static 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.

Callers 15

protocol_filterFunction · 0.85
vhost_queue_stats_updateFunction · 0.85
virtio_mac_addr_addFunction · 0.85
virtio_mac_addr_removeFunction · 0.85
_avp_mac_filterFunction · 0.85
enicpmd_set_mc_addr_listFunction · 0.85
mlx5_traffic_enableFunction · 0.85
hn_update_packet_statsFunction · 0.85
bnx2x_tx_encapFunction · 0.85
dcf_set_mc_addr_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected