![]() |
Wireshark
4.3.0
The Wireshark network protocol analyzer
|
#include <glib.h>
Go to the source code of this file.
Classes | |
struct | if_info_t |
struct | if_addr_t |
struct | if_capabilities_t |
struct | data_link_info_t |
struct | timestamp_info_t |
Macros | |
#define | CANT_GET_INTERFACE_LIST 1 /* error getting list */ |
#define | DONT_HAVE_PCAP 2 /* couldn't load WinPcap/Npcap */ |
Functions | |
GList * | capture_interface_list (int *err, char **err_str, void(*update_cb)(void)) |
void | free_interface_list (GList *if_list) |
if_info_t * | if_info_get (const char *name) |
void | if_info_free (if_info_t *if_info) |
if_capabilities_t * | capture_get_if_capabilities (const char *devname, bool monitor_mode, const char *auth_string, char **err_primary_msg, char **err_secondary_msg, void(*update_cb)(void)) |
void | free_if_capabilities (if_capabilities_t *caps) |
void | add_interface_to_remote_list (if_info_t *if_info) |
Definitions for routines to get information about capture interfaces
Wireshark - Network traffic analyzer By Gerald Combs geral Copyright 1998 Gerald Combs d@wi resha rk.o rg
SPDX-License-Identifier: GPL-2.0-or-later
if_capabilities_t* capture_get_if_capabilities | ( | const char * | devname, |
bool | monitor_mode, | ||
const char * | auth_string, | ||
char ** | err_primary_msg, | ||
char ** | err_secondary_msg, | ||
void(*)(void) | update_cb | ||
) |
Fetch the linktype list for the specified interface from a child process.
GList* capture_interface_list | ( | int * | err, |
char ** | err_str, | ||
void(*)(void) | update_cb | ||
) |
Return the list of interfaces.
Local interfaces are fetched by running dumpcap. The remote and extcap interfaces are appended to the list after that.