Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
if_info_t Struct Reference

Describes a single network interface returned by get_interface_list(). More...

#include <capture_ifinfo.h>

Public Attributes

char * name
 
char * friendly_name
 
char * vendor_description
 
GSList * addrs
 
interface_type type
 
bool loopback
 
char * extcap
 
if_capabilities_tcaps
 

Detailed Description

Describes a single network interface returned by get_interface_list().

Member Data Documentation

◆ addrs

GSList* if_info_t::addrs

List of if_addr_t address entries assigned to this interface

◆ caps

if_capabilities_t* if_info_t::caps

Cached interface capabilities, or NULL if not yet queried

◆ extcap

char* if_info_t::extcap

Extcap argument string used to invoke the extcap interface; NULL for native interfaces

◆ friendly_name

char* if_info_t::friendly_name

Human-readable OS-assigned name (e.g. "Local Area Connection"); NULL if unavailable

◆ loopback

bool if_info_t::loopback

True if this is a loopback interface

◆ name

char* if_info_t::name

System interface name (e.g. "eth0", "en0")

◆ type

interface_type if_info_t::type

Interface type (wired, wireless, pipe, extcap, etc.)

◆ vendor_description

char* if_info_t::vendor_description

Vendor description from pcap_findalldevs() (e.g. "Realtek PCIe GBE Family Controller", Windows only); NULL if unavailable


The documentation for this struct was generated from the following file: