NetBSD/sys/net
rpaulo 2fcfc4c276 Implemented the kernel part of BPF statistics and BPF peers, net.bpf.stats
and net.bpf.peers sysctls respectively.

A new structure was added to describe the external (user viewable)
representation of a BPF file; a new entry was added to the bpf_d
structure to store the PID of the calling process; a simple_lock was added
to protect the insert/removal from the net.bpf.peers sysctl handler.

This idea came from FreeBSD (Christian S.J. Peron) but while it is
implemented with sysctl's it differs a bit.

Reviewed by: christos@ and atatat@ (who gave me the tip for the net.bpf.peers
sysctl helper function).
2005-08-04 19:30:47 +00:00
..
agr make lacp_timer_funcs static. 2005-06-01 13:34:48 +00:00
Makefile Install net/if_tap.h. 2005-01-08 22:28:51 +00:00
bpf.c Implemented the kernel part of BPF statistics and BPF peers, net.bpf.stats 2005-08-04 19:30:47 +00:00
bpf.h Implemented the kernel part of BPF statistics and BPF peers, net.bpf.stats 2005-08-04 19:30:47 +00:00
bpf_filter.c nuke trailing whitespace 2005-02-26 22:45:09 +00:00
bpfdesc.h Implemented the kernel part of BPF statistics and BPF peers, net.bpf.stats 2005-08-04 19:30:47 +00:00
bridgestp.c nuke trailing whitespace 2005-02-26 22:45:09 +00:00
bsd-comp.c
dlt.h
ethertypes.h add ETHERTYPE_SLOWPROTOCOLS. (0x8809) 2005-01-07 12:37:55 +00:00
files.pf -Wno-shadow for some pf files. 2005-06-01 14:15:46 +00:00
if.c Add PR_PURGEIF flag for protocols to indicate that the protocol might 2005-07-19 12:58:24 +00:00
if.h Add members ifr_buf, ifr_buflen to ifreq for specifying the location 2005-07-27 06:36:15 +00:00
if_arc.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_arcsubr.c Fix -Wcast-qual warning. 2005-06-05 22:31:40 +00:00
if_arp.h
if_atm.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_atmsubr.c factor out the interface queueing code into two functions. One used by 2005-03-31 15:48:13 +00:00
if_bridge.c Fix this properly by renaming the conflicting variables. 2005-06-01 19:45:34 +00:00
if_bridgevar.h - Rearranged layout of struct bridge_iflist slightly to 2005-06-28 20:09:44 +00:00
if_dl.h change casts back to char * and explain why. 2005-05-31 01:47:24 +00:00
if_eco.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_ecosubr.c factor out the interface queueing code into two functions. One used by 2005-03-31 15:48:13 +00:00
if_ether.h add agr(4), a pseudo network device driver for link aggregation. 2005-03-18 11:11:50 +00:00
if_ethersubr.c As ether_input() is always called at IPL_NET, there is no need to 2005-06-10 11:11:38 +00:00
if_faith.c
if_faith.h
if_fddi.h
if_fddisubr.c bcopy -> memcpy 2005-05-30 04:17:59 +00:00
if_gif.c Since we decided "const struct mbuf *" would not do the right thing (tm), 2005-06-06 06:06:50 +00:00
if_gif.h expire cached route. Fixes PR 22792. 2005-06-26 10:39:21 +00:00
if_gre.c PR/30285: Mile Nordin: incorrect permission check joining/leaving multicast 2005-05-20 16:23:05 +00:00
if_gre.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_hippi.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_hippisubr.c bcopy -> memcpy 2005-05-30 04:17:59 +00:00
if_ieee1394.h ieee1394 import from FreeBSD. 2005-07-11 15:29:05 +00:00
if_ieee1394subr.c ieee1394 import from FreeBSD. 2005-07-11 15:29:05 +00:00
if_llc.h
if_loop.c nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_media.c nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_media.h
if_ppp.c - sprinkle const 2005-05-29 21:22:52 +00:00
if_ppp.h
if_pppoe.c - sprinkle const 2005-05-29 21:22:52 +00:00
if_pppoe.h Names could be const. 2005-06-26 21:18:00 +00:00
if_pppvar.h
if_sl.c factor out the interface queueing code into two functions. One used by 2005-03-31 15:48:13 +00:00
if_slvar.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_sppp.h
if_spppsubr.c - sprinkle const 2005-05-29 21:22:52 +00:00
if_spppvar.h
if_stf.c Change the first argument of the encapsulation check function from 2005-06-02 15:21:35 +00:00
if_stf.h Add support for changing the MTU to stf(4). 2005-03-11 13:28:25 +00:00
if_strip.c - sprinkle const 2005-05-29 21:22:52 +00:00
if_stripvar.h clonify strip and sl. 2004-12-05 05:43:04 +00:00
if_tap.c Change the rest of the sysctl subsystem to use const consistently. 2005-06-20 02:49:18 +00:00
if_tap.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_token.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_tokensubr.c bcopy -> memcpy 2005-05-30 04:17:59 +00:00
if_tun.c Add IFNET_FOREACH and IFADDR_FOREACH macros and start using them. 2005-01-24 21:25:09 +00:00
if_tun.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
if_types.h
if_vlan.c split IFCAP_CSUM_xxx to IFCAP_CSUM_xxx_Rx and IFCAP_CSUM_xxx_Tx. 2005-05-02 15:34:31 +00:00
if_vlanvar.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
net_osdep.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
netisr.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
netisr_dispatch.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
pfil.c
pfil.h
pfkeyv2.h Add some casts to appease lint 2005-06-28 15:33:27 +00:00
ppp-comp.h Add MPPE definitions (from ppp-2.4.3). 2005-02-20 10:22:26 +00:00
ppp-deflate.c
ppp_defs.h Add a couple of protocols (from ppp-2.4.3). 2005-02-20 10:23:13 +00:00
ppp_tty.c 30393/Miles Nordin: PF/ALTQ does not work on ppp(4) interfaces 2005-06-11 22:26:42 +00:00
radix.c - sprinkle const 2005-05-29 21:22:52 +00:00
radix.h - sprinkle const 2005-05-29 21:22:52 +00:00
raw_cb.c nuke trailing whitespace 2005-02-26 22:45:09 +00:00
raw_cb.h
raw_usrreq.c nuke trailing whitespace 2005-02-26 22:45:09 +00:00
route.c - sprinkle const 2005-05-29 21:22:52 +00:00
route.h Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
rtsock.c Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
slcompress.c Sprinkle #ifdef INET to make a GENERIC kernel compile with INET undefined. 2004-12-06 02:59:23 +00:00
slcompress.h nuke trailing whitespace 2005-02-26 22:45:09 +00:00
slip.h
zlib.c - sprinkle const 2005-05-29 21:22:52 +00:00
zlib.h - sprinkle const 2005-05-29 21:22:52 +00:00