diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-01-01 14:48:18 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-01-01 14:48:18 +0000 |
commit | 224a21ecfe5e0a1ede7d524e99b948012cf1802b (patch) | |
tree | 9068be73d4fb53fb45eae61c1f69c78c28f2c676 /wiretap/wtap.h | |
parent | 33310e87b662cec65ab8b3b90f174f251ccbfafa (diff) |
From Mark C. Brown:
HP-UX 11.31 will add a new nettl trace subsystem, NS_LS_TELNET (ID=267).
NS_LS_TELNET is just raw telnet data. There is no layer 2/3/4 headers, so
there's just the HP-UX nettl record header followed directly by the TCP payload
for a telnet connection. Thus the need for a new wiretap encapsulation type...
svn path=/trunk/; revision=20253
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index adc58b5278..f439c5bff0 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -17,7 +17,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __WTAP_H__ @@ -184,9 +184,10 @@ #define WTAP_ENCAP_JUNIPER_VP 91 #define WTAP_ENCAP_USB 92 #define WTAP_ENCAP_IEEE802_16_MAC_CPS 93 +#define WTAP_ENCAP_NETTL_RAW_TELNET 94 /* last WTAP_ENCAP_ value + 1 */ -#define WTAP_NUM_ENCAP_TYPES 94 +#define WTAP_NUM_ENCAP_TYPES 95 /* File types that can be read by wiretap. We support writing some many of these file types, too, so we @@ -475,9 +476,9 @@ struct nettl_phdr { /* Packet "pseudo-header" for MTP2 files. */ struct mtp2_phdr { - guint8 sent; - guint8 annex_a_used; - guint16 link_number; + guint8 sent; + guint8 annex_a_used; + guint16 link_number; }; /* Packet "pseudo-header" for K12 files. */ @@ -486,7 +487,7 @@ typedef union { struct { guint16 vp; guint16 vc; - guint16 cid; + guint16 cid; } atm; guint32 ds0mask; |