diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-08-22 19:09:50 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-08-22 19:09:50 -0700 |
commit | ce38b0cd9bc9f576c3ac4e1da5af3d0a56612754 (patch) | |
tree | 995ee87629de14181854169e2c093564c8519855 /pcap_activate.3pcap | |
parent | fa4435e65c7bd1abb6758062249d3b55bfccf018 (diff) | |
download | libpcap-ce38b0cd9bc9f576c3ac4e1da5af3d0a56612754.tar.gz |
If the specified time stamp type isn't supported, treat that as a warning.
Diffstat (limited to 'pcap_activate.3pcap')
-rw-r--r-- | pcap_activate.3pcap | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pcap_activate.3pcap b/pcap_activate.3pcap index 219e4502..c93df9ea 100644 --- a/pcap_activate.3pcap +++ b/pcap_activate.3pcap @@ -43,6 +43,11 @@ returns 0 on success without warnings, .B PCAP_WARNING_PROMISC_NOTSUP on success on a device that doesn't support promiscuous mode if promiscuous mode was requested, +.B PCAP_WARNING_TSTAMP_TYPE_NOTSUP +on success if the time stamp type specified in a previous +.B pcap_set_tstamp_type() +call isn't supported by the capture source (the time stamp type is +left as the default), .B PCAP_WARNING on success with any other warning, .B PCAP_ERROR_ACTIVATED @@ -56,11 +61,7 @@ if the process doesn't have permission to open the capture source, if monitor mode was specified but the capture source doesn't support monitor mode, .B PCAP_ERROR_IFACE_NOT_UP -if the capture source is not up, -.B PCAP_ERROR_TSTAMP_TYPE_NOTSUP -if the time stamp specified in a previous -.B pcap_set_tstamp_type() -call isn't supported by the capture source, and +if the capture source is not up, and .B PCAP_ERROR if another error occurred. If |