GO-V.ORG
As seen in

Berkeley Packet Filter

The Berkeley Packet Filter (BPF; also BSD Packet Filter, classic BPF or cBPF) is a network tap mechanism and packet filter which permits computer network packets to be captured and filtered at the operating system level.[src] It provides a raw interface to data link layers, permitting raw link-layer packets to be sent and received, and allows a userspace process to supply a filter program that specifies which packets it wants to receive.[src] For example, a tcpdump process may want to receive only packets that initiate a TCP connection.[src] BPF returns only packets that pass the filter that the process supplies.[src] This avoids copying unwanted packets from the operating system kernel to the process, greatly improving performance.[src] The filter program is in the form of instructions for a virtual machine, which are interpreted, or compiled into machine code by a just-in-time (JIT) mechanism and executed, in the kernel.[src] BPF is used by programs that need to, among other things, analyze network traffic.[src] If the driver for the network interface supports promiscuous mode, it allows the interface to be put into that mode so that all packets on the network can be received, even those destined to other hosts.[src] The BPF filtering mechanism is available on most Unix-like operating systems.[src] BPF is sometimes used to refer to just the filtering mechanism, rather than to the entire interface.…[src]

The Berkeley Packet Filter (BPF; also BSD Packet Filter, classic BPF or cBPF) is a network tap mechanism and packet filter which permits computer network packets to be captured and filtered at the operating system level.[src] It provides a raw interface to data link layers, permitting raw link-layer packets to be sent and received, and allows a userspace process to supply a filter program that specifies which packets it wants to receive.[src] For example, a tcpdump process may want to receive only packets that initiate a TCP connection.[src] BPF returns only packets that pass the filter that the process supplies.[src] This avoids copying unwanted packets from the operating system kernel to the process, greatly improving performance.[src] The filter program is in the form of instructions for a virtual machine, which are interpreted, or compiled into machine code by a just-in-time (JIT) mechanism and executed, in the kernel.[src] BPF is used by programs that need to, among other things, analyze network traffic.[src] If the driver for the network interface supports promiscuous mode, it allows the interface to be put into that mode so that all packets on the network can be received, even those destined to other hosts.[src] The BPF filtering mechanism is available on most Unix-like operating systems.[src] BPF is sometimes used to refer to just the filtering mechanism, rather than to the entire interface.[src] Some systems, such as Linux and Tru64 UNIX, provide a raw interface to the data link layer other than the BPF raw interface but use the BPF filtering mechanisms for that raw interface.[src] The Linux kernel provides an extended version of the BPF filtering mechanism, called eBPF, which uses a JIT mechanism, and which is used for packet filtering, as well as for other purposes in the kernel.[src] eBPF is also available for Microsoft Windows.[src]

23 sentences · 23 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Berkeley Packet Filter." encyclopegia.org, 2026, https://encyclopegia.org/wiki/berkeley-packet-filter. Accessed 04 December 2026.

Chicago

"Berkeley Packet Filter." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/berkeley-packet-filter.

APA

encyclopegia.org. (2026). Berkeley Packet Filter. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/berkeley-packet-filter

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

A Nightingale Sang in Berkeley Square

stub · references available

General Packet Radio Service

stub · references available

packet

stub · references available

Grantley Berkeley

stub · references available

Cherry Filter

stub · references available

Anthony Berkeley Cox

stub · references available

Berkeley Software Design

stub · references available

filter press

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1351711055 · 0.5 · snapshot enwiki-001351711055

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.