aboutsummaryrefslogtreecommitdiffstats
path: root/packet-trmac.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-09-09 10:26:58 +0000
committerGuy Harris <guy@alum.mit.edu>2000-09-09 10:26:58 +0000
commitf0efbd1a0216cc5eca9beddd3b1bd64d6420e818 (patch)
tree274d5eb905c47271a6d8d41817cea20086aec986 /packet-trmac.c
parent6e04ac48f9d597f7f9a6a98410cd3c1ab13ece6f (diff)
downloadwireshark-f0efbd1a0216cc5eca9beddd3b1bd64d6420e818.tar.gz
wireshark-f0efbd1a0216cc5eca9beddd3b1bd64d6420e818.tar.bz2
wireshark-f0efbd1a0216cc5eca9beddd3b1bd64d6420e818.zip
"redraw_hex_dump()" can't use "cfile.pd" or "cfile.current_frame", as it
may be redrawing a packet window that displays a frame other than the current frame; give it arguments to specify the raw frame data and "frame_data" structure for the frame. This requires that each packet window have, associated with it, a pointer to the "frame_data" structure; that replaces the "cap_len" and "encoding" fields in a "PacketWinData" structure, as those are just copies of fields from the frame's "frame_data" structure. "packet_hex_print()" needn't be passed both the start and length values from a "field_info" structure - just pass it a pointer to that structure, or NULL for "no field is selected in the packet". It also needn't, any longer, be passed the "cap_len" and "flags.encoding" fields of a "frame_data" structure - just pass it a pointer to that structure. In "redraw_hex_dump_all()", don't redraw the hex dump pane of the main window if there is no current frame. svn path=/trunk/; revision=2404
Diffstat (limited to 'packet-trmac.c')
0 files changed, 0 insertions, 0 deletions