]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement the -z (zero counters) option for the various bpf counters.
authorChristian S.J. Peron <csjp@FreeBSD.org>
Fri, 19 Jun 2009 20:31:44 +0000 (20:31 +0000)
committerChristian S.J. Peron <csjp@FreeBSD.org>
Fri, 19 Jun 2009 20:31:44 +0000 (20:31 +0000)
commit0e37f3e196c6cb887be0de58c315aa1358caa363
tree542c6420562d89c40cfcd91ff45fb324162ae4d1
parent80b807fef2ba25a13619abc65eb8b47b7ea352d1
Implement the -z (zero counters) option for the various bpf counters.
Add necessary changes to the kernel for this (basically introduce a
bpf_zero_counters() function).  As well, update the man page.

MFC after: 1 month
Discussed with: rwatson
sys/net/bpf.c
usr.bin/netstat/bpf.c
usr.bin/netstat/netstat.1