Re: BPF && Linux.

Gabor Lenart (lgb@veszprog.hu)
Thu, 29 Jun 2000 23:59:36 +0200


On Thu, Jun 29, 2000 at 05:05:28PM -0400, Adam wrote:
>
> Question:
> How Linux Kernel and BPF relate to each other:
>
> a) linux has BPF (I don't think so).
> b) Linux has own equivalent of BPF (part of NAT?)
> c) linux does not have anything like BPF
> d) something else (if so, then what?)
>
>
> Berkeley Packet Filter (BPF) of BSD kernel
>
> BPF is described in paper ``The BSD Packet Filter: A New Architecture for
> User-level Packet Capture''.
> ftp://ftp.ee.lbl.gov/papers/bpf-usenix93.ps.Z.

Something similar ?

"CONFIG_FILTER
The Linux Socket Filter is derived from the Berkeley Packet Filter.
If you say Y here, user-space programs can attach a filter to any
socket and thereby tell the kernel that it should allow or disallow
certain types of data to get through the socket. Linux Socket
Filtering works on all socket types except TCP for now. See the text
file linux/Documentation/networking/filter.txt for more information.
If unsure, say N."

Found in Configure.help inside Linux kernel source tree.

- Gabor

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/