summaryrefslogtreecommitdiff
path: root/capture_ifinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'capture_ifinfo.h')
-rw-r--r--capture_ifinfo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/capture_ifinfo.h b/capture_ifinfo.h
index 3ec2e51160..7802598bef 100644
--- a/capture_ifinfo.h
+++ b/capture_ifinfo.h
@@ -35,8 +35,12 @@ extern "C" {
*/
typedef struct {
char *name; /* e.g. "eth0" */
- char *description; /* vendor description from libpcap, e.g. "Realtek PCIe GBE Family Controller" or NULL */
- char *friendly_name; /* from OS, e.g. "Local Area Connection" */
+ char *friendly_name; /* from OS, e.g. "Local Area Connection", or
+ NULL if not available */
+ char *vendor_description;
+ /* vendor description from pcap_findalldevs(),
+ e.g. "Realtek PCIe GBE Family Controller",
+ or NULL if not available */
GSList *addrs; /* containing address values of if_addr_t */
gboolean loopback; /* TRUE if loopback, FALSE otherwise */
} if_info_t;