Lines Matching defs:multicast
839 u32 multicast:1;
857 u32 multicast:1;
1251 * @all_multi: Counter to keep track of all multicast mode set.
1253 * @multi_bits: Cached multicast hash table settings.
1458 * @multicast: The all multicast state of the device.
1474 int multicast;
3645 * hw_add_wol_mcast - add multicast pattern
3648 * This routine is used to add multicast pattern for waking up the host.
3650 * It is assumed the multicast packet is the ICMPv6 neighbor solicitation used
3651 * by IPv6 ping command. Note that multicast packets are filtred through the
3652 * multicast hash table, so not all multicast packets can wake up the host.
4148 * hw_clr_multicast - clear multicast addresses
4151 * This routine removes all multicast addresses set in the hardware.
4165 * hw_set_grp_addr - set multicast addresses
4168 * This routine programs multicast addresses for the hardware to accept those
4193 * hw_set_multicast - enable or disable all multicast receiving
4195 * @multicast: To turn on or off the all multicast feature.
4197 * This routine enables/disables the hardware to accept all multicast packets.
4199 static void hw_set_multicast(struct ksz_hw *hw, u8 multicast)
4204 if (multicast)
5376 if (priv->multicast)
5493 priv->multicast = 0;
5601 dev->stats.multicast = 0;
5611 dev->stats.multicast += (unsigned long)
5708 int multicast)
5710 if (multicast != priv->multicast) {
5713 if (multicast)
5717 priv->multicast = multicast;
5719 /* Turn on/off all multicast mode. */
5729 * This routine is used to set multicast addresses or put the network device
5738 int multicast = (dev->flags & IFF_ALLMULTI);
5743 multicast |= (dev->flags & IFF_MULTICAST);
5744 dev_set_multicast(priv, hw, multicast);
5753 /* List too big to support so turn on all multicast mode. */
6735 * multicast hash tables.
6741 * Protocol, this enables a feature in which most unicast and multicast packets