diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-01-02 06:10:55 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-01-02 06:10:55 +0000 |
commit | 3688d96c459a5847a49d14264c0398600379f8b9 (patch) | |
tree | f87737491cb959697c6414b4ea1745e7528c1acc /wiretap/wtap.h | |
parent | d1a7effcf97733edfac7ea145cccddc1032cbf6f (diff) |
Added the iptrace (AIX's packet-capture tool) file format to wiretap.
This necessitated a change in ethereal because iptrace supports multi-NIC
packet capturing, including multi-datalink-type capturing.
svn path=/trunk/; revision=145
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index eab1568d99..18c701bab0 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.8 1998/12/17 06:39:13 gram Exp $ + * $Id: wtap.h,v 1.9 1999/01/02 06:10:55 gram Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -32,6 +32,7 @@ #define WTAP_ENCAP_RAW_IP 6 #define WTAP_ENCAP_ARCNET 7 #define WTAP_ENCAP_ATM_RFC1483 8 +#define WTAP_ENCAP_PER_PACKET 9 /* File types that can be read by wiretap */ #define WTAP_FILE_UNKNOWN 0 @@ -74,6 +75,7 @@ struct wtap_pkthdr { struct timeval ts; guint32 caplen; guint32 len; + int pkt_encap; }; typedef void (*wtap_handler)(u_char*, const struct wtap_pkthdr*, |