aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet_info.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-01-19 04:49:29 +0000
committerGerald Combs <gerald@wireshark.org>2005-01-19 04:49:29 +0000
commit561fbc8b2580515702c5b491a83f8ca7e7cfe635 (patch)
treef8c9d31da31a83213b24c35d2a0a0438db5f690c /epan/packet_info.h
parent5b84b7e764bf78c3c4d58bc192c775ea3fc606d1 (diff)
Add a field called "frame.protocols" which shows the protocols present
in the frame. The filter "frame.protocols contains ip:icmp:ip" could be used to find any ICMP packets containing IP headers. Clean up whitespace. svn path=/trunk/; revision=13118
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r--epan/packet_info.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h
index bccf653f47..c37ae13511 100644
--- a/epan/packet_info.h
+++ b/epan/packet_info.h
@@ -85,13 +85,13 @@ typedef struct _packet_info {
guint16 want_pdu_tracking; /* >0 if the subdissector has specified
a value in 'bytes_until_next_pdu'.
When a dissector detects that the next PDU
- will start beyond the start of the next
- segment, it can set this value to 2
- and 'bytes_until_next_pdu' to the number of
- bytes beyond the next segment where the
+ will start beyond the start of the next
+ segment, it can set this value to 2
+ and 'bytes_until_next_pdu' to the number of
+ bytes beyond the next segment where the
next PDU starts.
- If the protocol dissector below this
+ If the protocol dissector below this
one is capable of PDU tracking it can
use this hint to detect PDUs that starts
unaligned to the segment boundaries.
@@ -99,7 +99,7 @@ typedef struct _packet_info {
(some) protocols to detect when a new PDU
starts in the middle of a tcp segment.
- There is intelligence in the glue between
+ There is intelligence in the glue between
dissector layers to make sure that this
request is only passed down to the protocol
immediately below the current one and not
@@ -107,7 +107,7 @@ typedef struct _packet_info {
*/
guint32 bytes_until_next_pdu;
-
+
int iplen;
int iphdrlen;
int p2p_dir;
@@ -131,6 +131,7 @@ typedef struct _packet_info {
* in the SCTP packet
*/
void *private_data; /* pointer to data passed from one dissector to another */
+ GString *layer_names; /* layers of each protocol */
} packet_info;
#endif /* __PACKET_INFO_H__ */