diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-10 04:04:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-10 04:04:42 +0000 |
commit | 50e696df812a10e47bb6c2b132728b826ca82a60 (patch) | |
tree | 7e5ca309b08cac82b6faa42f0296a645c4273940 /wiretap/wtap.h | |
parent | 6b49b2475cae484188cf4d3b216c5271183d157c (diff) |
The Sniffer file formats include a file to identify raw cells; export
that flag in the ATM pseudo-header, and use it to determine whether a
frame is a raw cell or a reassembled frame, rather than using the AAL,
as you can have raw AAL5 cells in a capture.
svn path=/trunk/; revision=6889
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 8aea9d0e68..06fabbe77d 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -1,6 +1,6 @@ /* wtap.h * - * $Id: wtap.h,v 1.131 2003/01/09 01:55:13 guy Exp $ + * $Id: wtap.h,v 1.132 2003/01/10 04:04:42 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -208,6 +208,11 @@ struct isdn_phdr { Not all of this information is supplied by all capture types. */ /* + * Status bits. + */ +#define ATM_RAW_CELL 0x01 /* TRUE if the packet is a single cell */ + +/* * AAL types. */ #define AAL_UNKNOWN 0 /* AAL unknown */ @@ -269,6 +274,7 @@ struct isdn_phdr { #define TRAF_ST_IPSILON_FT2 3 /* Ipsilon: Flow Type 2 */ struct atm_phdr { + guint32 flags; /* status flags */ guint8 aal; /* AAL of the traffic */ guint8 type; /* traffic type */ guint8 subtype; /* traffic subtype */ |