Deleted Added
full compact
bpf.4 (56611) bpf.4 (58192)
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that: (1) source code distributions
6.\" retain the above copyright notice and this paragraph in its entirety, (2)
7.\" distributions including binary code include the above copyright notice and
8.\" this paragraph in its entirety in the documentation or other materials

--- 6 unchanged lines hidden (view full) ---

15.\" written permission.
16.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
17.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
18.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19.\"
20.\" This document is derived in part from the enet man page (enet.4)
21.\" distributed with 4.3BSD Unix.
22.\"
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that: (1) source code distributions
6.\" retain the above copyright notice and this paragraph in its entirety, (2)
7.\" distributions including binary code include the above copyright notice and
8.\" this paragraph in its entirety in the documentation or other materials

--- 6 unchanged lines hidden (view full) ---

15.\" written permission.
16.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
17.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
18.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19.\"
20.\" This document is derived in part from the enet man page (enet.4)
21.\" distributed with 4.3BSD Unix.
22.\"
23.\" $FreeBSD: head/share/man/man4/bpf.4 56611 2000-01-25 20:33:25Z archie $
23.\" $FreeBSD: head/share/man/man4/bpf.4 58192 2000-03-18 06:30:42Z rwatson $
24.\"
25.Dd January 16, 1996
26.Dt BPF 4
27.Os BSD 4.4
28.Sh NAME
29.Nm bpf
30.Nd Berkeley Packet Filter
31.Sh SYNOPSIS

--- 253 unchanged lines hidden (view full) ---

285.Pq Li u_int
286Set or get the status of the
287.Dq header complete
288flag.
289Set to zero if the link level source address should be filled in automatically
290by the the interface output routine. Set to one if the link level source
291address will be written, as provided, to the wire. This flag is initialized
292to zero by default.
24.\"
25.Dd January 16, 1996
26.Dt BPF 4
27.Os BSD 4.4
28.Sh NAME
29.Nm bpf
30.Nd Berkeley Packet Filter
31.Sh SYNOPSIS

--- 253 unchanged lines hidden (view full) ---

285.Pq Li u_int
286Set or get the status of the
287.Dq header complete
288flag.
289Set to zero if the link level source address should be filled in automatically
290by the the interface output routine. Set to one if the link level source
291address will be written, as provided, to the wire. This flag is initialized
292to zero by default.
293.It Dv BIOCSSEESENT
294.It Dv BIOCGSEESENT
295.Pq Li u_int
296Set or get the flag determining whether locally generated packets on the
297interface should be returned by BPF. Set to zero to see only incoming
298packets on the interface. Set to one to see packets originating
299locally and remotely on the interface. This flag is initialized to one by
300default.
293.Sh BPF HEADER
294The following structure is prepended to each packet returned by
295.Xr read 2 :
296.Bd -literal
297struct bpf_hdr {
298 struct timeval bh_tstamp; /* time stamp */
299 u_long bh_caplen; /* length of captured portion */
300 u_long bh_datalen; /* original length of packet */

--- 445 unchanged lines hidden ---
301.Sh BPF HEADER
302The following structure is prepended to each packet returned by
303.Xr read 2 :
304.Bd -literal
305struct bpf_hdr {
306 struct timeval bh_tstamp; /* time stamp */
307 u_long bh_caplen; /* length of captured portion */
308 u_long bh_datalen; /* original length of packet */

--- 445 unchanged lines hidden ---