1DEV_SET_ALLMULTI(9) Network device support DEV_SET_ALLMULTI(9)
2
3
4
6 dev_set_allmulti - update allmulti count on a device
7
9 int dev_set_allmulti(struct net_device * dev, int inc);
10
12 dev
13 device
14
15 inc
16 modifier
17
19 Add or remove reception of all multicast frames to a device. While the
20 count in the device remains above zero the interface remains listening
21 to all interfaces. Once it hits zero the device reverts back to normal
22 filtering operation. A negative inc value is used to drop the counter
23 when releasing a resource needing all multicasts. Return 0 if
24 successful or a negative errno code on error.
25
27Kernel Hackers Manual 2.6. June 2019 DEV_SET_ALLMULTI(9)