|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
#include <glib.h>Go to the source code of this file.
Classes | |
| struct | if_capabilities_t |
| struct | if_info_t |
| struct | if_addr_t |
| Represents an IP address in an interface address list. More... | |
| struct | if_cap_query_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 */ |
Enumerations | |
| enum | interface_type { IF_WIRED = 0 , IF_AIRPCAP = 1 , IF_PIPE = 2 , IF_STDIN = 3 , IF_BLUETOOTH = 4 , IF_WIRELESS = 5 , IF_DIALUP = 6 , IF_USB = 7 , IF_EXTCAP = 8 , IF_VIRTUAL = 9 } |
| enum | if_address_type { IF_AT_IPv4 , IF_AT_IPv6 } |
| Enumeration of supported interface address types. More... | |
Functions | |
| GList * | deserialize_interface_list (char *data, int *err, char **err_str) |
| GList * | capture_interface_list (const char *app_name, int *err, char **err_str, void(*update_cb)(void)) |
| void | free_interface_list (GList *if_list) |
| GList * | interface_list_copy (GList *if_list) |
| if_info_t * | if_info_get (const char *name) |
| void | if_info_free (if_info_t *if_info) |
| if_info_t * | if_info_copy (const if_info_t *if_info) |
| if_addr_t * | if_addr_copy (const if_addr_t *if_addr) |
| if_capabilities_t * | capture_get_if_capabilities (const char *app_name, const char *devname, bool monitor_mode, const char *auth_string, char **err_primary_msg, char **err_secondary_msg, void(*update_cb)(void)) |
| GHashTable * | capture_get_if_list_capabilities (const char *app_name, GList *if_cap_queries, char **err_primary_msg, char **err_secondary_msg, void(*update_cb)(void)) |
| void | free_if_capabilities (if_capabilities_t *caps) |
Definitions for routines to get information about capture interfaces
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
| enum if_address_type |
|
extern |
Fetch the linktype list for the specified interface from a child process.
|
extern |
Fetch the linktype list for the specified interface from a child process.
|
extern |
Return the list of interfaces.
Local interfaces are fetched by running dumpcap. The remote and extcap interfaces are appended to the list after that.
|
extern |
Get an if_info_t for a particular interface. (May require privilege, so should only be used by dumpcap.)
| GList * interface_list_copy | ( | GList * | if_list | ) |
Deep copy an interface list