diff options
author | Guy Harris <gharris@sonic.net> | 2022-03-05 23:26:20 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2022-03-05 23:26:20 -0800 |
commit | fdb5e7c141d4d444cd920fa4889d17f2f921aff8 (patch) | |
tree | e236621b1b22880caf7663799fa2d78d1791f736 /pcap_stats.3pcap | |
parent | 33a33d23f51c43fabc7cdc110996df62a8b3e1c5 (diff) |
doc: document PCAP_ERROR_NOT_ACTIVATED for more routines.
Diffstat (limited to 'pcap_stats.3pcap')
-rw-r--r-- | pcap_stats.3pcap | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pcap_stats.3pcap b/pcap_stats.3pcap index aa03013c..98be9bd7 100644 --- a/pcap_stats.3pcap +++ b/pcap_stats.3pcap @@ -17,7 +17,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_STATS 3PCAP "25 July 2018" +.TH PCAP_STATS 3PCAP "5 March 2022" .SH NAME pcap_stats \- get capture statistics .SH SYNOPSIS @@ -85,9 +85,12 @@ that the interface did not drop any packets. .BR pcap_stats () returns .B 0 -on success and returns +on success, +.B PCAP_ERROR_NOT_ACTIVATED +if called on a capture handle that has been created but not activated, +or .B PCAP_ERROR -if there is an error or if +if there is another error or if .I p doesn't support packet statistics. If .B PCAP_ERROR |