CVSROOT:        /cvs
Module name:    src
Changes by:     mi...@cvs.openbsd.org   2012/12/21 04:17:22

Modified files:
        sys/net        : bpf.c 

Log message:
Rather than calling mircotime in bpf_catchpacket each time it's called
on a packet, make bpf_catchpacket take a timeval indicating when the
packet was captured.  Move microtime to the calling functions and grab
the timestamp as soon as we know that we're going to call catchpacket
at least once.

>From NetBSD, ok deraadt, claudio, sthen

Reply via email to