Re: BPF BIOCSETF

2007-11-18 Thread Kip Macy
On Nov 18, 2007 7:18 PM, Matthew Luckie <[EMAIL PROTECTED]> wrote: > BIOCSETF and BIOCSETWF call reset_d which discards any packets > currently in the hold buffer and resets the packet rx count. > > The patch below adds BIOCSETFNR, an ioctl that swaps the BPF filter > without resetting the hold buf

BPF BIOCSETF

2007-11-18 Thread Matthew Luckie
BIOCSETF and BIOCSETWF call reset_d which discards any packets currently in the hold buffer and resets the packet rx count. The patch below adds BIOCSETFNR, an ioctl that swaps the BPF filter without resetting the hold buffer and without resetting the packet rx counts, which is handy when the appl