Hacker News new | past | comments | ask | show | jobs | submit login

> I even had to look up "bpf", it's the FreeBSD packet filtering[1] interface

Nah, it's the Berkeley Packet Filter interface. It predates FreeBSD; just check out the HISTORY section of the manual page you linked. FreeBSD's first release was in 1993; BPF was implemented in 1990, with roots going back to 1980 (enet).

https://svnweb.freebsd.org/csrg?view=revision&revision=47584

https://svnweb.freebsd.org/csrg?view=revision&revision=47585

(Note that the /csrg repo in FreeBSD's SVN is history of the original BSD project, pre-FreeBSD itself.)

As other commenters have noted, Linux has adopted it as well. They've added a bunch of extensions in "eBPF," or extended BPF.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: