dect
/
libpcap
Archived
13
0
Fork 0

Fixes from Scott Mcmillan.

This commit is contained in:
Guy Harris 2010-08-23 12:50:19 -07:00
parent e84ae717b4
commit 00f5d74bb9
3 changed files with 4 additions and 4 deletions

View File

@ -435,7 +435,7 @@ pcap_create(const char *device, char *ebuf)
}
handle->tstamp_type_list[0] = PCAP_TSTAMP_HOST;
handle->tstamp_type_list[1] = PCAP_TSTAMP_ADAPTER;
handle->tstamp_type_list[2] = PCAP_TSTAMP_ADAPTER_UNSYNC;
handle->tstamp_type_list[2] = PCAP_TSTAMP_ADAPTER_UNSYNCED;
#endif
return handle;
@ -3234,7 +3234,7 @@ create_ring(pcap_t *handle, int *status)
* time stamps. We'll just fall back
* on the standard host time stamps.
*/
*status = PCAP_WARNING_TSTAMP_TYPE_NOTSUP:
*status = PCAP_WARNING_TSTAMP_TYPE_NOTSUP;
break;
default:

View File

@ -116,7 +116,7 @@ Time stamp provided by the network adapter on which the capture is being
done. This is a high-precision time stamp, synchronized with the host
operating system's clock.
.TP 5
.BR PCAP_TSTAMP_ADAPTER_UNSYNC
.BR PCAP_TSTAMP_ADAPTER_UNSYNCED
Time stamp provided by the network adapter on which the capture is being
done. This is a high-precision time stamp; it is not synchronized with
the host operating system's clock.

View File

@ -310,7 +310,7 @@ const char *pcap_tstamp_type_val_to_description(int);
* PCAP_TSTAMP_ADAPTER is a high-precision time stamp supplied by the
* capture device; it's synchronized with the system clock.
*
* PCAP_TSTAMP_ADAPTER_UNSYNC is a high-precision time stamp supplied by
* PCAP_TSTAMP_ADAPTER_UNSYNCED is a high-precision time stamp supplied by
* the capture device; it's not synchronized with the system clock.
*
* Note that time stamps synchronized with the system clock can go