Main Page   Modules   Data Structures   File List   Data Fields   Globals  

pcap_addr Struct Reference
[Definitions]

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. More...

sockaddr * addr
 a pointer to a struct sockaddr containing an address. More...

sockaddr * netmask
 if not NULL, a pointer to a struct sockaddr that contains the netmask corresponding to the address pointed to by addr. More...

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. More...

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. More...


Detailed Description

Representation of an interface address, used by pcap_findalldevs().

Definition at line 161 of file incs/pcap.h.


Field Documentation

struct sockaddr* addr
 

a pointer to a struct sockaddr containing an address.

Definition at line 163 of file incs/pcap.h.

Referenced by add_addr_to_iflist, add_addr_to_list, and pcap_freealldevs.

struct 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.

Definition at line 165 of file incs/pcap.h.

Referenced by add_addr_to_iflist, add_addr_to_list, and pcap_freealldevs.

struct 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.

Definition at line 166 of file incs/pcap.h.

Referenced by add_addr_to_iflist, add_addr_to_list, and pcap_freealldevs.

struct sockaddr* netmask
 

if not NULL, a pointer to a struct sockaddr that contains the netmask corresponding to the address pointed to by addr.

Definition at line 164 of file incs/pcap.h.

Referenced by add_addr_to_iflist, add_addr_to_list, and pcap_freealldevs.

struct pcap_addr* next
 

if not NULL, a pointer to the next element in the list; NULL for the last element of the list.

Definition at line 162 of file incs/pcap.h.

Referenced by add_addr_to_iflist, add_addr_to_list, and pcap_freealldevs.


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

documentation. Copyright (c) 2002 Politecnico di Torino. All rights reserved.