30#define EXTCAP_BOOLEAN_REGEX "^.*([yt1-9])"
33#define EXTCAP_PIPE_PREFIX "wireshark_extcap"
34#define EXTCAP_CONTROL_IN_PREFIX "wireshark_control_ext_to_ws"
35#define EXTCAP_CONTROL_OUT_PREFIX "wireshark_control_ws_to_ext"
37#define EXTCAP_ARGUMENT_CONFIG "--extcap-config"
38#define EXTCAP_ARGUMENT_RELOAD_OPTION "--extcap-reload-option"
39#define EXTCAP_ARGUMENT_LIST_INTERFACES "--extcap-interfaces"
40#define EXTCAP_ARGUMENT_INTERFACE "--extcap-interface"
41#define EXTCAP_ARGUMENT_LIST_DLTS "--extcap-dlts"
42#define EXTCAP_ARGUMENT_VERSION "--extcap-version"
44#define EXTCAP_ARGUMENT_RUN_CAPTURE "--capture"
45#define EXTCAP_ARGUMENT_CAPTURE_FILTER "--extcap-capture-filter"
46#define EXTCAP_ARGUMENT_RUN_PIPE "--fifo"
47#define EXTCAP_ARGUMENT_CONTROL_IN "--extcap-control-in"
48#define EXTCAP_ARGUMENT_CONTROL_OUT "--extcap-control-out"
60 EXTCAP_FILTER_UNKNOWN,
63} extcap_filter_status;
65typedef void (*extcap_plugin_description_callback)(
const char *,
const char *,
66 const char *,
const char *,
bool extcap_has_toolbar(const char *ifname)
Definition extcap.c:1173
extcap_filter_status extcap_verify_capture_filter(const char *ifname, const char *filter, char **err_str)
Definition extcap.c:1148
void extcap_request_stop(capture_session *cap_session)
void extcap_free_if_configuration(GList *list, bool free_args)
Definition extcap.c:810
void extcap_cleanup(void)
Definition extcap.c:768
void extcap_register_preferences(void)
Definition extcap.c:742
void extcap_get_descriptions(extcap_plugin_description_callback callback, void *callback_data)
Definition extcap.c:196
bool extcap_requires_configuration(const char *ifname)
Definition extcap.c:1120
void extcap_clear_interfaces(void)
Definition extcap.c:178
if_capabilities_t * extcap_get_if_dlts(const char *ifname, char **err_str)
Definition extcap.c:608
bool extcap_has_configuration(const char *ifname)
Definition extcap.c:1114
extcap_info * extcap_get_tool_by_ifname(const char *ifname)
Definition extcap.c:1894
GList * append_extcap_interface_list(GList *list)
Definition extcap.c:689
void extcap_dump_all(void)
Definition extcap.c:235
GList * extcap_get_if_configuration(const char *ifname)
Definition extcap.c:961
GList * extcap_get_if_configuration_values(const char *ifname, const char *argname, GHashTable *arguments)
Definition extcap.c:1005
char * extcap_get_help_for_ifname(const char *ifname)
Definition extcap.c:680
pref_t * extcap_pref_for_argument(const char *ifname, struct _extcap_arg *arg)
Definition extcap.c:833
extcap_info * extcap_get_tool_info(const char *toolname)
Definition extcap.c:1909
Definition capture_session.h:137
Definition extcap_parser.h:100
Definition capture_ifinfo.h:43