table of contents
other versions
- jessie 3.16.56-1+deb8u1
DEV_SET_PROMISCUITY(9) | Network device support | DEV_SET_PROMISCUITY(9) |
NAME¶
dev_set_promiscuity - update promiscuity count on a deviceSYNOPSIS¶
int
dev_set_promiscuity(struct net_device * dev,
int inc);
ARGUMENTS¶
devdevice
inc
modifier
DESCRIPTION¶
Add or remove promiscuity from a device. While the count in the device remains above zero the interface remains promiscuous. Once it hits zero the device reverts back to normal filtering operation. A negative inc value is used to drop promiscuity on the device. Return 0 if successful or a negative errno code on error.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |