aboutsummaryrefslogtreecommitdiff
path: root/pcap_stats.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_stats.3pcap')
-rw-r--r--pcap_stats.3pcap9
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