[prev in list] [next in list] [prev in thread] [next in thread]
List: tcpdump-workers
Subject: Re: [tcpdump-workers] BPF return value.
From: Darren Reed <darrenr () reed ! wattle ! id ! au>
Date: 2000-06-20 1:40:47
[Download RAW message or body]
In some email I received from Bill Fenner, sie wrote:
>
> I can't speak for any other OS's, but FreeBSD does:
>
> slen = bpf_filter(d->bd_filter, pkt, pktlen, pktlen);
> if (slen != 0)
> catchpacket(d, pkt, pktlen, slen, bcopy);
>
> which certainly uses the return value of bpf_filter() as the snaplen.
Thanks.
Darren
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request@tcpdump.org?body=unsubscribe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic