WinPcap: pcap_addr Struct Reference
优质
小牛编辑
140浏览
2023-12-01
Representation of an interface address, used by pcap_findalldevs().
More...
#include <pcap.h>
Data Fields | |
pcap_addr * | next |
if not NULL, a pointer to the next element in the list; NULL for the last element of the list | |
sockaddr * | addr |
a pointer to a struct sockaddr containing an address | |
sockaddr * | netmask |
if not NULL, a pointer to a struct sockaddr that contains the netmask corresponding to the address pointed to by addr. | |
sockaddr * | broadaddr |
if not NULL, a pointer to a struct sockaddr that contains the broadcast address corre sponding to the address pointed to by addr; may be null if the interface doesn't support broadcasts | |
sockaddr * | dstaddr |
if not NULL, a pointer to a struct sockaddr that contains the destination address corre sponding to the address pointed to by addr; may be null if the interface isn't a point- to-point interface |