Go to file
rpaulo 66daeed445 Implemented the userland part of the BPF statistics and BPF peers,
net.bpf.stats and net.bpf.peers sysctls respectively. netstat(1) now
has an additional syntax:
	netstat [-s] [-B] [-I Interface]

Only the super user can see a list of BPF peers with the following command:
# netstat -B
Active BPF peers
PID     Int     Recv     Drop     Capt     Flags  Bufsize  Comm
4941    lo0     0        0        0        I--S-  262144   tcpdump
252     ex0     19668    0        5        I-RS-  32768    dhclient

And every user can see the BPF statistics with:
$ netstat -s -B
bpf:
        19669 total packets received
        5 total packets captured
        0 total packets dropped

This idea came from FreeBSD (Christian S.J. Peron) but, currently, they
doen't have a userland utility in the base system to read the sysctls.

Reviewed by: christos@
2005-08-04 19:39:40 +00:00
bin More minor cleanup: 2005-07-22 14:27:08 +00:00
crypto PR/29862: Denis Lagno: sshd segfaults with long keys 2005-07-30 00:38:40 +00:00
dist ftp-proxy -i also supports '-R address[:port]' and '-S address'. 2005-07-29 21:34:18 +00:00
distrib Add md-kernel for installation: INSTALL_OPENBLOCKS266. 2005-08-03 14:55:37 +00:00
doc Add scan_lfs(8), utility to find LFS partitions on disk, useful 2005-07-31 19:26:06 +00:00
etc Add md-kernel for installation: INSTALL_OPENBLOCKS266. 2005-08-03 14:55:37 +00:00
games Comment from Al. 2005-07-23 08:01:38 +00:00
gnu We have strerror_r now. 2005-07-28 18:34:02 +00:00
include Add strerror_r. 2005-07-28 16:26:53 +00:00
lib Fix parsing the page tables. 2005-08-04 19:26:02 +00:00
libexec Implement option "-D", for running ftpd in standalone mode (daemon). 2005-08-04 17:41:35 +00:00
regress 10 seconds is more than enough time to wait. 2005-07-27 00:02:14 +00:00
rescue add scan_ffs and veriexecctl to /rescue 2005-06-18 06:59:23 +00:00
sbin Sync with reality. 2005-08-02 18:06:14 +00:00
share Sync with reality. 2005-08-02 18:54:53 +00:00
sys Missed commit from the linux compat changes dealing with setting fs and gs: 2005-08-04 19:31:53 +00:00
tools Fix the toolification of disklabel by using the nbinclude namespace 2005-06-22 21:35:28 +00:00
usr.bin Implemented the userland part of the BPF statistics and BPF peers, 2005-08-04 19:39:40 +00:00
usr.sbin - eliminate a goto. 2005-07-31 17:52:01 +00:00
x11 fontconfig depends on expat - so insert a .WAIT for parallel builds. 2005-07-22 08:47:20 +00:00
BUILDING Document the environment variables for if you need to override or 2005-02-15 18:41:18 +00:00
Makefile use usr.sbin/postinstall/postinstall instead of etc/postinstall 2005-04-17 15:18:34 +00:00
Makefile.inc
UPDATING It's genassym(1) not genassym(8), and it's in /usr/bin not /usr/sbin. 2005-07-01 09:55:37 +00:00
build.sh Remove support for build.sh -m xen, this has been merged in the i386 2005-05-29 10:54:40 +00:00