12#ifndef __CAPTURE_UI_UTILS_H__
13#define __CAPTURE_UI_UTILS_H__
161#define IFLIST_QUOTE_IF_DESCRIPTION 0x00000001
162#define IFLIST_SHOW_FILTER 0x00000002
int capture_dev_user_linktype_find(const char *if_name)
Find user-specified link-layer header type that matches interface name, if any.
const char * get_if_name(const char *if_text)
Given text that contains an interface name possibly prefixed by an interface description,...
bool capture_dev_user_snaplen_find(const char *if_name, bool *hassnap, int *snaplen)
Find user-specified snap length that matches interface name, if any.
GList * build_capture_combo_list(GList *if_list, bool do_hide)
Build the GList of available capture interfaces.
char * capture_dev_user_descr_find(const char *if_name)
Find user-specified capture device description that matches interface name, if any.
void free_capture_combo_list(GList *combo_list)
Free the GList from build_capture_combo_list().
char * capture_dev_user_cfilter_find(const char *if_name)
Find user-specified capture filter that matches interface name, if any.
GString * get_iface_list_string(capture_options *capture_opts, uint32_t style)
Get a string containing a list of available capture interfaces.
void set_active_dlt(interface_t *device, int global_default_dlt)
Set the active DLT for a device appropriately.
int capture_dev_user_buffersize_find(const char *if_name)
Find user-specified buffer size that matches interface name, if any.
char * get_interface_descriptive_name(const capture_options *capture_opts, const char *if_name)
Return as descriptive a name for an interface as we can get.
bool capture_dev_user_pmode_find(const char *if_name, bool *pmode)
Find user-specified promiscuous mode that matches interface name, if any.
Definition capture_opts.h:236
Definition androiddump.c:219