HTTP: Add request/response arrows

HTTP has multiple related packets, so seeing which are the actual request/response (related to the current selected packet) is helpful.

Change-Id: I833f4f620cfe8bfe9b1d7518c4e28fbd41b64e29
Reviewed-on: https://code.wireshark.org/review/16385
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
D. Ulis 2016-07-11 21:14:36 -04:00 committed by Michael Mann
parent f4ab3f492f
commit 25ba3dbc75
2 changed files with 4 additions and 4 deletions

View File

@ -158,12 +158,12 @@ Then we just need to declare the hf fields we used.
{ &hf_pana_response_in,
{ "Response In", "pana.response_in",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
FT_FRAMENUM, BASE_NONE, FRAMENUM_TYPE(FT_FRAMENUM_RESPONSE), 0x0,
"The response to this PANA request is in this frame", HFILL }
},
{ &hf_pana_response_to,
{ "Request In", "pana.response_to",
FT_FRAMENUM, BASE_NONE, NULL, 0x0,
FT_FRAMENUM, BASE_NONE, FRAMENUM_TYPE(FT_FRAMENUM_REQUEST), 0x0,
"This is a response to the PANA request in this frame", HFILL }
},
{ &hf_pana_response_time,

View File

@ -3500,11 +3500,11 @@ proto_register_http(void)
"HTTP X-Forwarded-For", HFILL }},
{ &hf_http_request_in,
{ "Request in frame", "http.request_in",
FT_FRAMENUM, BASE_NONE, NULL, 0,
FT_FRAMENUM, BASE_NONE, FRAMENUM_TYPE(FT_FRAMENUM_REQUEST), 0,
"This packet is a response to the packet with this number", HFILL }},
{ &hf_http_response_in,
{ "Response in frame","http.response_in",
FT_FRAMENUM, BASE_NONE, NULL, 0,
FT_FRAMENUM, BASE_NONE, FRAMENUM_TYPE(FT_FRAMENUM_RESPONSE), 0,
"This packet will be responded in the packet with this number", HFILL }},
{ &hf_http_next_request_in,
{ "Next request in frame", "http.next_request_in",