diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-13 16:03:26 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-14 00:04:13 +0000 |
commit | d9da77afe85ce91086be80df8802c565c8f9d84d (patch) | |
tree | ee196dee355f757f02ebd8732c43b862540d5b4a /randpkt.c | |
parent | 7c2eaefd07e2fb68ae8603c72e1151e5a81dd1b6 (diff) |
Have various ATM dissectors use the data arguments for pseudo-headers.
Don't use the pseudo-header pointed to by pinfo->pseudo_header; have the
argument either point to a struct atm_phdr or to a pwatm_private_data_t.
Don't *overwrite* the pseudo-header pointed to by pinfo->pseudo_header
if you need to construct an ATM pseudo-header for a dissector; have your
own struct atm_phdr structure, fill it in, and pass a pointer to *that*
to the sub-dissector.
Cleans things up a bit.
Change-Id: I4464924def4de41c625002b2d273592bd529e46e
Reviewed-on: https://code.wireshark.org/review/13270
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'randpkt.c')
0 files changed, 0 insertions, 0 deletions