diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-10-25 21:16:39 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-10-25 21:16:39 +0000 |
commit | a049a2027c6d288efa4e993b5b7bfbd9b573d51a (patch) | |
tree | 9a067887a65215e8a3be56c7fdc89da331ec50ba /doc/README.request_response_tracking | |
parent | 9fd46d82995d29fa29a4abf9fd650777848bc24e (diff) | |
download | wireshark-a049a2027c6d288efa4e993b5b7bfbd9b573d51a.tar.gz |
Sync up with packet-pana.c.
svn path=/trunk/; revision=52852
Diffstat (limited to 'doc/README.request_response_tracking')
-rw-r--r-- | doc/README.request_response_tracking | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/README.request_response_tracking b/doc/README.request_response_tracking index 01c956ff5e..81d7e63194 100644 --- a/doc/README.request_response_tracking +++ b/doc/README.request_response_tracking @@ -40,7 +40,7 @@ and response as well as the response time. static int hf_pana_response_in = -1; static int hf_pana_response_to = -1; - static int hf_pana_time = -1; + static int hf_pana_response_time = -1; We need a structure that holds all the information we need to remember between the request and the responses. One such structure will be allocated @@ -151,7 +151,7 @@ actual dissector. PROTO_ITEM_SET_GENERATED(it); nstime_delta(&ns, &pinfo->fd->abs_ts, &pana_trans->req_time); - it = proto_tree_add_time(pana_tree, hf_pana_time, tvb, 0, 0, &ns); + it = proto_tree_add_time(pana_tree, hf_pana_response_time, tvb, 0, 0, &ns); PROTO_ITEM_SET_GENERATED(it); } } @@ -160,16 +160,16 @@ Then we just need to declare the hf fields we used. { &hf_pana_response_in, { "Response In", "pana.response_in", - FT_FRAMENUM, BASE_DEC, NULL, 0x0, + FT_FRAMENUM, BASE_NONE, NULL, 0x0, "The response to this PANA request is in this frame", HFILL } }, { &hf_pana_response_to, { "Request In", "pana.response_to", - FT_FRAMENUM, BASE_DEC, NULL, 0x0, + FT_FRAMENUM, BASE_NONE, NULL, 0x0, "This is a response to the PANA request in this frame", HFILL } }, - { &hf_pana_time, - { "Time", "pana.time", + { &hf_pana_response_time, + { "Response Time", "pana.response_time", FT_RELATIVE_TIME, BASE_NONE, NULL, 0x0, "The time between the Call and the Reply", HFILL } }, |