wireshark/caputils
Guy Harris 149e74b70d Put the interface descrptions into the IDB when capturing to pcapng.
capture_opts_add_iface_opt(), when called in a program acting as a
capture child, will fetch the description for the interface, and will
also generate a "display name" for the interface.

In the process, we clean up capture_opts_add_iface_opt() a bit,
combining duplicate code.

We rename console_display_name to just display_name, as it may also be
used in the title bar of Wireshark when capturing.

Change-Id: Ifd18955bb3cb41df4c0ed4362d4854068c825b96
Reviewed-on: https://code.wireshark.org/review/29117
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-08-13 04:37:00 +00:00
..
.editorconfig Add EditorConfig settings for most C files 2016-03-08 10:46:35 +00:00
CMakeLists.txt spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
airpcap.h caputils: use SPDX identifiers. 2018-02-07 06:29:48 +00:00
airpcap_loader.c Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
airpcap_loader.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
capture-pcap-util-int.h Fix names in declarations to match definitions. 2018-06-11 01:28:17 +00:00
capture-pcap-util-unix.c Improve the secondary error messages for pcap errors. 2018-06-10 14:26:37 +00:00
capture-pcap-util.c Put the interface descrptions into the IDB when capturing to pcapng. 2018-08-13 04:37:00 +00:00
capture-pcap-util.h Fix names in declarations to match definitions. 2018-06-11 01:28:17 +00:00
capture-wpcap.c Improve the secondary error messages for pcap errors. 2018-06-10 14:26:37 +00:00
capture-wpcap.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
capture_ifinfo.h Put the interface descrptions into the IDB when capturing to pcapng. 2018-08-13 04:37:00 +00:00
capture_win_ifnames.c Remove code specific to older versions of Visual Studio. 2018-06-26 22:30:50 +00:00
capture_win_ifnames.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
capture_wpcap_packet.c Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
capture_wpcap_packet.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
iface_monitor.c Older versions of Clang don't understand -Wpedantic. 2018-05-18 22:31:05 +00:00
iface_monitor.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
ws80211_utils.c make our version of nla_for_each_nested() public 2018-05-23 13:18:00 +00:00
ws80211_utils.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00