[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wireshark-dev
Subject:    [Wireshark-dev] Get interface name in packet-frame.c
From:       Anders Broman <a.broman () bredband ! net>
Date:       2012-02-21 20:40:05
Message-ID: 4F440125.3090104 () bredband ! net
[Download RAW message or body]

Hi,
in packet-frame.c we now have
proto_tree_add_uint(fh_tree, hf_frame_interface_id, tvb, 0, 0, 
pinfo->fd->interface_id);
It would be nifty to also provide the name, what would be the proper way 
to access
the information from the wtap struct? and where should the accessor 
function be placed, epan?
I suppose this is the only dissector that would need the information.
Regards
Anders
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic