Wireshark-commits: [Wireshark-commits] master 2042385: Add "column filter string" support to addres
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2042385ac9eaa7e512b1a0b9af2f916324314e63
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
2042385 by Michael Mann (mmann78@xxxxxxxxxxxx):
Add "column filter string" support to address types.
Information about dissector (filter) fields should be kept in a dissector as much as possible. Supporting "column filter string" also allows other dissectors to create their own "address types" with different column filters (because AT_ETHER isn't always an "Ethernet" address).
This feature also allowed a few "dissector specific" address types to be moved to their own dissector.
Change-Id: Ie9024af4db62bc2ee4f8c9d28a1d807f706f45bf
Ping-Bug:7728
Reviewed-on: https://code.wireshark.org/review/7029
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 4497bb4 Add address type registration.
adds 2042385 Add "column filter string" support to address types.
Summary of changes:
epan/address.h | 3 -
epan/address_to_str.c | 21 ---
epan/address_types.c | 330 ++++++++++++++++-------------------
epan/address_types.h | 7 +-
epan/column-utils.c | 64 +------
epan/dissectors/packet-arcnet.c | 37 +++-
epan/dissectors/packet-atalk.c | 66 +++++--
epan/dissectors/packet-devicenet.c | 2 +-
epan/dissectors/packet-ieee802154.c | 3 +-
epan/dissectors/packet-j1939.c | 2 +-
epan/dissectors/packet-jxta.c | 42 ++++-
epan/dissectors/packet-mstp.c | 37 +++-
epan/dissectors/packet-sna.c | 2 +-
epan/dissectors/packet-tipc.c | 3 +-
epan/osi-utils.c | 2 +-
epan/to_str.h | 14 --
16 files changed, 322 insertions(+), 313 deletions(-)