aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-afp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-20 02:19:37 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-20 02:19:37 +0000
commit20284888277ce20b5c5d76f4b7dad0a6a0e57940 (patch)
tree6cf8656d45aac8b863f9594c7a4de1803419e970 /epan/dissectors/packet-afp.h
parente5c09b21aaecfab7b37d041065d65a5f8cb1cbda (diff)
For AFP requests, add in the frame with the (last part of the) reply, if
possible, and, for AFP replies, add in the frame with the request and the time between those two frames. Have AFP per-request-type RTT statistics, similar to SMB's statistics. svn path=/trunk/; revision=15456
Diffstat (limited to 'epan/dissectors/packet-afp.h')
-rw-r--r--epan/dissectors/packet-afp.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/epan/dissectors/packet-afp.h b/epan/dissectors/packet-afp.h
index 52d42b7807..462698a3b2 100644
--- a/epan/dissectors/packet-afp.h
+++ b/epan/dissectors/packet-afp.h
@@ -120,4 +120,19 @@ struct aspinfo {
gint32 code; /* error code/ offset NU */
};
+/*
+ * value_string table for AFP command codes.
+ */
+extern const value_string CommandCode_vals[];
+
+/*
+ * Value from table matching requests and responses; also passed to AFP
+ * tap for responses.
+ */
+typedef struct {
+ guint8 command;
+ guint32 frame_req, frame_res;
+ nstime_t req_time;
+} afp_request_val;
+
#endif