Wireshark-commits: [Wireshark-commits] master 0bf1cb2: Add address_to_bytes API.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 22 Jun 2016 07:47:57 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0bf1cb2342e5becdda56be41f0347068549a77fe
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0bf1cb2 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add address_to_bytes API.
    
    This will copy an address's "byte format" into a buffer.  The original
    intended design is for export_pdu functionality, which tries to do
    this "manually" for many address types (and creates undesired dependencies)
    
    The default functionality if a "byte format function" isn't provided
    (currently the case for all address types) is a memcpy of the address
    data.  Providing "address to byte" functions to aid export PDU
    functionality will be provided later.
    
    Change-Id: I3703f9e617a8cef09165ad53a0f98c6372676b9b
    Reviewed-on: https://code.wireshark.org/review/16070
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  c664f72   Qt: Clear the packet list selection before freezing it.
    adds  0bf1cb2   Add address_to_bytes API.


Summary of changes:
 debian/libwireshark0.symbols        |    1 +
 epan/address.h                      |    2 ++
 epan/address_types.c                |   44 +++++++++++++++++++++++++++++++++--
 epan/address_types.h                |    3 ++-
 epan/dissectors/packet-arcnet.c     |    2 +-
 epan/dissectors/packet-atalk.c      |    2 +-
 epan/dissectors/packet-devicenet.c  |    2 +-
 epan/dissectors/packet-ieee80211.c  |    4 ++--
 epan/dissectors/packet-ieee802154.c |    2 +-
 epan/dissectors/packet-j1939.c      |    2 +-
 epan/dissectors/packet-jxta.c       |    2 +-
 epan/dissectors/packet-mp2t.c       |    2 +-
 epan/dissectors/packet-mstp.c       |    2 +-
 epan/dissectors/packet-mtp3.c       |    2 +-
 epan/dissectors/packet-sna.c        |    2 +-
 epan/dissectors/packet-tipc.c       |    2 +-
 epan/dissectors/packet-usb.c        |    2 +-
 epan/dissectors/packet-vines.c      |    2 +-
 epan/osi-utils.c                    |    2 +-
 plugins/irda/packet-irda.c          |    2 +-
 20 files changed, 64 insertions(+), 20 deletions(-)