]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-int.h
Based on work from Florent Drouin, split the 32-bit link-layer type
[libpcap] / pcap-int.h
index 7a8f3b6748a3f1a3602df2aadb1e3929bdce69a7..fe46316cd24275d5b7739c383a31991bb68e26ab 100644 (file)
@@ -30,7 +30,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.84 2007-09-29 00:29:14 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.85 2007-09-29 19:33:29 guy Exp $ (LBL)
  */
 
 #ifndef pcap_int_h
@@ -166,7 +166,8 @@ struct pcap {
        int send_fd;
 #endif /* WIN32 */
        int snapshot;
-       int linktype;
+       int linktype;           /* Network linktype */
+       int linktype_ext;       /* Extended information stored in the linktype field of a file */
        int tzoff;              /* timezone offset */
        int offset;             /* offset for proper alignment */