NetBSD/sys/net
pooka b014350f7f Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
2010-01-19 22:08:16 +00:00
..
agr Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:08:16 +00:00
Makefile
bpf.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
bpf.h Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
bpf_filter.c
bpf_stub.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
bpfdesc.h
bridgestp.c
bsd-comp.c
dlt.h
ethertypes.h
files.pf Import pfsync support from OpenBSD 4.2 2009-09-14 10:36:48 +00:00
if.c Simplify ifreq_setaddr: 2009-11-13 23:11:08 +00:00
if.h Forward declare struct bpf_if and use that as the type for bpf_if 2010-01-17 19:45:06 +00:00
if_arc.h
if_arcsubr.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_arp.h
if_atm.h
if_atmsubr.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_bridge.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_bridgevar.h
if_dl.h
if_eco.h
if_ecosubr.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_ether.h
if_etherip.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_etherip.h
if_ethersubr.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_faith.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_faith.h
if_fddi.h
if_fddisubr.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_gif.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_gif.h
if_gre.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_gre.h
if_hippi.h
if_hippisubr.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_ieee1394.h
if_ieee1394subr.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_llc.h
if_loop.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_media.c Replace u_quad_t with uint64_t. u_quad_t is just a typedef for 2009-10-05 21:25:05 +00:00
if_media.h Replace u_quad_t with uint64_t. u_quad_t is just a typedef for 2009-10-05 21:25:05 +00:00
if_ppp.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_ppp.h
if_pppoe.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_pppoe.h
if_pppvar.h
if_sl.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c
if_spppvar.h Replace u_quad_t with uint64_t. u_quad_t is just a typedef for 2009-10-05 21:25:05 +00:00
if_srt.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_srt.h KNF. 2009-12-09 00:44:26 +00:00
if_stf.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_stf.h
if_strip.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_stripvar.h
if_tap.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_tap.h
if_token.h
if_tokensubr.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_tun.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_tun.h
if_types.h
if_vlan.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
if_vlanvar.h
link_proto.c
net_osdep.h
net_stats.c
net_stats.h
netisr.h
netisr_dispatch.h
pfil.c
pfil.h
pfkeyv2.h
ppp-comp.h
ppp-deflate.c
ppp_defs.h
ppp_tty.c Redefine bpf linkage through an always present op vector, i.e. 2010-01-19 22:06:18 +00:00
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c s/u_quad_t/uint64_t/ 2009-11-03 00:30:11 +00:00
route.h s/u_quad_t/uint64_t/. 2009-11-03 00:30:31 +00:00
rtsock.c Replace a large number of link set based sysctl node creations with 2009-09-16 15:23:04 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h