]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-int.h
Add support for setting the time stamp type for a capture.
[libpcap] / pcap-int.h
index c3afbade52b385fd1a9116faeeda4d431a7b340b..8444e62cee846ea087fd789d7b7e4cf1a95d52eb 100644 (file)
@@ -209,6 +209,7 @@ struct pcap_opt {
        char    *source;
        int     promisc;
        int     rfmon;
+       int     tstamp_type;
 };
 
 /*
@@ -331,6 +332,8 @@ struct pcap {
        char errbuf[PCAP_ERRBUF_SIZE + 1];
        int dlt_count;
        u_int *dlt_list;
+       int tstamp_type_count;
+       u_int *tstamp_type_list;
 
        struct pcap_pkthdr pcap_header; /* This is needed for the pcap_next_ex() to work */
 };