Revision tags: release/2.1.6_cvs, release/2.1.6.1 |
|
#
0c3a1746 |
| 31-Jan-1997 |
Mike Pritchard <mpp@FreeBSD.org> |
Update to reflect current include files.
|
#
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
show more ...
|
#
14acc841 |
| 05-Jan-1997 |
Nate Williams <nate@FreeBSD.org> |
Fix minor typo. BIOSETIF -> BIOCSETIF
|
#
ceb83c2c |
| 14-Dec-1996 |
Mike Pritchard <mpp@FreeBSD.org> |
Update the list of include files listed in the man so that a program using the examples will actually compile. Closes PR# 2143.
|
Revision tags: release/2.1.5_cvs |
|
#
e627b39b |
| 05-Oct-1996 |
Wolfram Schneider <wosch@FreeBSD.org> |
delete doubled words, e.g.: "the the" -> "the"
|
#
4a8d0283 |
| 30-Jan-1996 |
Mike Pritchard <mpp@FreeBSD.org> |
Fix a bunch of spelling errors in a bunch of man pages.
|
#
c873a200 |
| 16-Jan-1996 |
Garrett Wollman <wollman@FreeBSD.org> |
Translate to -mdoc.
|
#
04ecd93b |
| 14-Jan-1996 |
Garrett Wollman <wollman@FreeBSD.org> |
Correct reference to tcpdump. Someone should redo this page to use mdoc macros.
|
Revision tags: release/2.1.0_cvs, release/2.0.5_cvs |
|
#
60d06671 |
| 25-Jan-1995 |
David Greenman <dg@FreeBSD.org> |
Added bpf(4) manual page from 1.1.5.
|
Revision tags: release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
8fced8fc |
| 13-Aug-2008 |
Ed Schouten <ed@FreeBSD.org> |
Bump __FreeBSD_version to 800043, because of the bpf(4) change.
bpf(4) now uses cdevpriv to distinguish multiple file descriptors, where it used to be implemented using device cloning. Ports like li
Bump __FreeBSD_version to 800043, because of the bpf(4) change.
bpf(4) now uses cdevpriv to distinguish multiple file descriptors, where it used to be implemented using device cloning. Ports like libpcap properly detect the change in their configure scripts, but it doesn't hurt to increase __FreeBSD_version.
While there, change the bpf(4) manual page to refer to /dev/bpf instead of /dev/bpfN.
Requested by: mlaier
show more ...
|
#
0d1532e0 |
| 07-Jul-2008 |
David Malone <dwmalone@FreeBSD.org> |
Update man page for addition of BIOCSETFNR. Subversion didn't want to commit this at the same time for some reason.
|
#
a7a91e65 |
| 07-Apr-2008 |
Robert Watson <rwatson@FreeBSD.org> |
Maintain and observe a ZBUF_FLAG_IMMUTABLE flag on zero-copy BPF buffer kernel descriptors, which is used to allow the buffer currently in the BPF "store" position to be assigned to userspace when it
Maintain and observe a ZBUF_FLAG_IMMUTABLE flag on zero-copy BPF buffer kernel descriptors, which is used to allow the buffer currently in the BPF "store" position to be assigned to userspace when it fills, even if userspace hasn't acknowledged the buffer in the "hold" position yet. To implement this, notify the buffer model when a buffer becomes full, and check that the store buffer is writable, not just for it being full, before trying to append new packet data. Shared memory buffers will be assigned to userspace at most once per fill, be it in the store or in the hold position.
This removes the restriction that at most one shared memory can by owned by userspace, reducing the chances that userspace will need to call select() after acknowledging one buffer in order to wait for the next buffer when under high load. This more fully realizes the goal of zero system calls in order to process a high-speed packet stream from BPF.
Update bpf.4 to reflect that both buffers may be owned by userspace at once; caution against assuming this.
show more ...
|
#
4d621040 |
| 24-Mar-2008 |
Christian S.J. Peron <csjp@FreeBSD.org> |
Introduce support for zero-copy BPF buffering, which reduces the overhead of packet capture by allowing a user process to directly "loan" buffer memory to the kernel rather than using read(2) to expl
Introduce support for zero-copy BPF buffering, which reduces the overhead of packet capture by allowing a user process to directly "loan" buffer memory to the kernel rather than using read(2) to explicitly copy data from kernel address space.
The user process will issue new BPF ioctls to set the shared memory buffer mode and provide pointers to buffers and their size. The kernel then wires and maps the pages into kernel address space using sf_buf(9), which on supporting architectures will use the direct map region. The current "buffered" access mode remains the default, and support for zero-copy buffers must, for the time being, be explicitly enabled using a sysctl for the kernel to accept requests to use it.
The kernel and user process synchronize use of the buffers with atomic operations, avoiding the need for system calls under load; the user process may use select()/poll()/kqueue() to manage blocking while waiting for network data if the user process is able to consume data faster than the kernel generates it. Patchs to libpcap are available to allow libpcap applications to transparently take advantage of this support. Detailed information on the new API may be found in bpf(4), including specific atomic operations and memory barriers required to synchronize buffer use safely.
These changes modify the base BPF implementation to (roughly) abstrac the current buffer model, allowing the new shared memory model to be added, and add new monitoring statistics for netstat to print. The implementation, with the exception of some monitoring hanges that break the netstat monitoring ABI for BPF, will be MFC'd.
Zerocopy bpf buffers are still considered experimental are disabled by default. To experiment with this new facility, adjust the net.bpf.zerocopy_enable sysctl variable to 1.
Changes to libpcap will be made available as a patch for the time being, and further refinements to the implementation are expected.
Sponsored by: Seccuris Inc. In collaboration with: rwatson Tested by: pwood, gallatin MFC after: 4 months [1]
[1] Certain portions will probably not be MFCed, specifically things that can break the monitoring ABI.
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
560a54e1 |
| 26-Feb-2007 |
Jung-uk Kim <jkim@FreeBSD.org> |
Add three new ioctl(2) commands for bpf(4).
- BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining whether incoming, outgoing, or all packets on the interface should be returned by B
Add three new ioctl(2) commands for bpf(4).
- BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining whether incoming, outgoing, or all packets on the interface should be returned by BPF. Set to BPF_D_IN to see only incoming packets on the interface. Set to BPF_D_INOUT to see packets originating locally and remotely on the interface. Set to BPF_D_OUT to see only outgoing packets on the interface. This setting is initialized to BPF_D_INOUT by default. BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but kept for backward compatibility.
- BIOCFEEDBACK sets packet feedback mode. This allows injected packets to be fed back as input to the interface when output via the interface is successful. When BPF_D_INOUT direction is set, injected outgoing packet is not returned by BPF to avoid duplication. This flag is initialized to zero by default.
Note that libpcap has been modified to support BPF_D_OUT direction for pcap_setdirection(3) and PCAP_D_OUT direction is functional now.
Reviewed by: rwatson
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
78ad5421 |
| 18-Nov-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
-mdoc sweep.
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
49db78b0 |
| 23-Aug-2005 |
Christian S.J. Peron <csjp@FreeBSD.org> |
Add documentation for the BIOCLOCK and BIOCSETWF ioctl commands. Also modify the documentation for BIOCSETF to note that it sets the read filter.
Pointed out by: simon
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
0227791b |
| 13-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Expand *n't contractions.
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
9cbda590 |
| 21-Jan-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sort sections.
|
#
c5f116aa |
| 21-Dec-2004 |
Christian Brueffer <brueffer@FreeBSD.org> |
(fast) ethernet -> (Fast) Ethernet
MFC after: 3 days
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
5203edcd |
| 03-Jul-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
Mechanically kill hard sentence breaks and double whitespaces.
|
#
bf7f20c2 |
| 16-Jun-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
Assorted markup, spelling, and grammar fixes.
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
83676de9 |
| 19-May-2004 |
David Malone <dwmalone@FreeBSD.org> |
Add a man page for the kernel part of bpf. I made some edits to the man page after Orla, so the mistakes are probably mine. Leave a note on the door welcoming the mdoc police.
Submitted by: Orla McG
Add a man page for the kernel part of bpf. I made some edits to the man page after Orla, so the mistakes are probably mine. Leave a note on the door welcoming the mdoc police.
Submitted by: Orla McGann <orly@cnri.dit.ie>
show more ...
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
fe08efe6 |
| 08-Sep-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7): Use the new feature of the .In macro.
|
#
b5e7e999 |
| 29-Jun-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
Hiten's patchset for section four manpages, slightly edited by me.
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
5320cc6b |
| 31-Mar-2002 |
Dima Dorfman <dd@FreeBSD.org> |
Correct typo.
PR: 36544 Submitted by: dak@klemm.delta6.net
|