Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       dev_set_promiscuity - update promiscuity count on a device

SYNOPSIS

       void dev_set_promiscuity  (struct net_device * dev, int inc);

ARGUMENTS

       dev    device

       inc    modifier

DESCRIPTION

       Add  or remove promsicuity 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.