table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
DEV_SET_ALLMULTI(9) | Network device support | DEV_SET_ALLMULTI(9) |
NAME¶
dev_set_allmulti - update allmulti count on a deviceSYNOPSIS¶
int
dev_set_allmulti(struct net_device * dev,
int inc);
ARGUMENTS¶
devdevice
inc
modifier
DESCRIPTION¶
Add or remove reception of all multicast frames to a device. While the count in the device remains above zero the interface remains listening to all interfaces. Once it hits zero the device reverts back to normal filtering operation. A negative inc value is used to drop the counter when releasing a resource needing all multicasts. Return 0 if successful or a negative errno code on error.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |