aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icmp.h
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-08-27 23:35:58 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-08-28 18:54:34 +0000
commitc04d54fbd49d36213faa555d1141a7ac3196beed (patch)
treea4e75a51676b1433e7d0efe2e6a1ddc90317fd7a /epan/dissectors/packet-icmp.h
parent5179406fa421ad6d8aee3b0a7e37b248ff8115d5 (diff)
Preparation Host Flows: make ICMP(v6) code and type retrieval more robust
Do not retrieve type and code base on the info column content. Instead store type and code in pinfo structure and retrieve them in sequence analysis tap. Change-Id: I71cd505d7faf713c2372731495d47b45928a41f8 Reviewed-on: https://code.wireshark.org/review/10280 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Pascal Artho <pascalartho@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-icmp.h')
-rw-r--r--epan/dissectors/packet-icmp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-icmp.h b/epan/dissectors/packet-icmp.h
index 4ba8bf6611..ea72c01d08 100644
--- a/epan/dissectors/packet-icmp.h
+++ b/epan/dissectors/packet-icmp.h
@@ -33,4 +33,10 @@ typedef struct _icmp_transaction_t {
nstime_t resp_time;
} icmp_transaction_t;
+/* ICMP info ... used by sequence analysis tap and stored in pinfo with p_add_proto_data */
+typedef struct {
+ guint8 type;
+ guint8 code;
+} icmp_info_t;
+
#endif