summaryrefslogtreecommitdiff
path: root/caputils/capture_ifinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'caputils/capture_ifinfo.h')
-rw-r--r--caputils/capture_ifinfo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/caputils/capture_ifinfo.h b/caputils/capture_ifinfo.h
index 2353f06fed..4293b816b1 100644
--- a/caputils/capture_ifinfo.h
+++ b/caputils/capture_ifinfo.h
@@ -38,6 +38,9 @@ typedef enum {
IF_WIRELESS,
IF_DIALUP,
IF_USB,
+#ifdef HAVE_EXTCAP
+ IF_EXTCAP,
+#endif
IF_VIRTUAL
} interface_type;
@@ -56,6 +59,9 @@ typedef struct {
GSList *addrs; /* containing address values of if_addr_t */
interface_type type; /* type of interface */
gboolean loopback; /* TRUE if loopback, FALSE otherwise */
+#ifdef HAVE_EXTCAP
+ char *extcap; /* extcap arguments, which present the data to call the extcap interface */
+#endif
} if_info_t;
/*