aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet_info.h
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2008-03-10 17:33:53 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2008-03-10 17:33:53 +0000
commit1987d5e3af651b197c006ed80b535e2e4fae1467 (patch)
tree6e1f26cbf76099610252901236403350dbdb2287 /epan/packet_info.h
parent9d2533aa25d003e9951684323548f570b2e12e9b (diff)
Update comments.
svn path=/trunk/; revision=24600
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r--epan/packet_info.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h
index 52b7d95862..6e6a1ae465 100644
--- a/epan/packet_info.h
+++ b/epan/packet_info.h
@@ -62,8 +62,8 @@ typedef struct _packet_info {
port_type ptype; /* type of the following two port numbers */
guint32 srcport; /* source port */
guint32 destport; /* destination port */
- guint32 match_port;
- const char *match_string; /* Subdissectors with string dissector tables use this */
+ guint32 match_port; /* matched port for calling subdissector from table */
+ const char *match_string; /* matched string for calling subdissector from table */
guint16 can_desegment; /* >0 if this segment could be desegmented.
A dissector that can offer this API (e.g.
TCP) sets can_desegment=2, then
@@ -118,8 +118,8 @@ typedef struct _packet_info {
guint32 bytes_until_next_pdu;
- int iplen;
- int iphdrlen;
+ int iplen; /* total length of IP packet */
+ int iphdrlen; /* length of IP header */
int p2p_dir; /* Packet was captured as an
outbound (P2P_DIR_SENT)
inbound (P2P_DIR_RECV)