1DEV_SET_PROMISCUITY(9)      Network device support      DEV_SET_PROMISCUITY(9)
2
3
4

NAME

6       dev_set_promiscuity - update promiscuity count on a device
7

SYNOPSIS

9       int dev_set_promiscuity(struct net_device * dev, int inc);
10

ARGUMENTS

12       dev
13           device
14
15       inc
16           modifier
17

DESCRIPTION

19       Add or remove promiscuity from a device. While the count in the device
20       remains above zero the interface remains promiscuous. Once it hits zero
21       the device reverts back to normal filtering operation. A negative inc
22       value is used to drop promiscuity on the device. Return 0 if successful
23       or a negative errno code on error.
24
26Kernel Hackers Manual 2.6.         June 2019            DEV_SET_PROMISCUITY(9)
Impressum