Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 update type of bh_tstamp



details:   https://anonhg.NetBSD.org/src/rev/2da9daf51986
branches:  trunk
changeset: 750851:2da9daf51986
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat Jan 16 18:47:50 2010 +0000

description:
update type of bh_tstamp

diffstat:

 share/man/man4/bpf.4 |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r bf944d4359e4 -r 2da9daf51986 share/man/man4/bpf.4
--- a/share/man/man4/bpf.4      Sat Jan 16 18:43:34 2010 +0000
+++ b/share/man/man4/bpf.4      Sat Jan 16 18:47:50 2010 +0000
@@ -1,6 +1,6 @@
 .\" -*- nroff -*-
 .\"
-.\"    $NetBSD: bpf.4,v 1.41 2009/06/05 08:40:51 jnemeth Exp $
+.\"    $NetBSD: bpf.4,v 1.42 2010/01/16 18:47:50 pooka Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1992, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -24,7 +24,7 @@
 .\" This document is derived in part from the enet man page (enet.4)
 .\" distributed with 4.3BSD Unix.
 .\"
-.Dd August 4, 2006
+.Dd January 16, 2010
 .Dt BPF 4
 .Os
 .Sh NAME
@@ -348,7 +348,7 @@
 .Xr read 2 :
 .Bd -literal -offset indent
 struct bpf_hdr {
-       struct timeval bh_tstamp;
+       struct bpf_timeval bh_tstamp;
        uint32_t bh_caplen;
        uint32_t bh_datalen;
        uint16_t bh_hdrlen;
@@ -359,6 +359,10 @@
 .Bl -tag -width bh_datalen -offset indent
 .It Va bh_tstamp
 The time at which the packet was processed by the packet filter.
+This structure differs from the standard
+.Vt struct timeval
+in that both members are of type
+.Vt long .
 .It Va bh_caplen
 The length of the captured portion of the packet.
 This is the minimum of



Home | Main Index | Thread Index | Old Index