WinPcap: pcap_if Struct Reference
优质
小牛编辑
131浏览
2023-12-01
Item in a list of interfaces, used by pcap_findalldevs().
More...
#include <pcap.h>
Data Fields | |
pcap_if * | next |
if not NULL, a pointer to the next element in the list; NULL for the last element of the list | |
char * | name |
a pointer to a string giving a name for the device to pass to pcap_open_live() | |
char * | description |
if not NULL, a pointer to a string giving a human-readable description of the device | |
pcap_addr * | addresses |
a pointer to the first element of a list of addresses for the interface | |
u_int | flags |
PCAP_IF_ interface flags. Currently the only possible flag is PCAP_IF_LOOPBACK, that is set if the interface is a loopback interface. |