#include <Address.h>
Public Member Functions | |
Address (Address const &addr) | |
Creates an Address object as a copy of another. | |
pcap_addr_t const * | cobj () const |
Gets the underlying libpcap C structure. | |
pcap_addr_t * | cobj () |
Gets the underlying libpcap C structure. | |
struct sockaddr const * | get_address () const |
Gets the address. | |
struct sockaddr const * | get_bcast_address () const |
Gets the broadcast address corresponding to the address. | |
struct sockaddr const * | get_dest_address () const |
Gets the destination address corresponding to the address. | |
struct sockaddr const * | get_netmask () const |
Gets the netmask corresponding to the address. | |
Address & | operator= (Address const &addr) |
Assigns another Address object's contents to this one. | |
virtual | ~Address () |
Destroys an Address object. |
pcappp::Address::Address | ( | Address const & | addr | ) | [inline] |
Creates an Address object as a copy of another.
virtual pcappp::Address::~Address | ( | ) | [inline, virtual] |
Destroys an Address object.
pcap_addr_t const* pcappp::Address::cobj | ( | ) | const [inline] |
Gets the underlying libpcap C structure.
pcap_addr_t* pcappp::Address::cobj | ( | ) | [inline] |
Gets the underlying libpcap C structure.
struct sockaddr const* pcappp::Address::get_address | ( | ) | const [inline, read] |
Gets the address.
struct sockaddr const* pcappp::Address::get_bcast_address | ( | ) | const [inline, read] |
Gets the broadcast address corresponding to the address.
struct sockaddr const* pcappp::Address::get_dest_address | ( | ) | const [inline, read] |
Gets the destination address corresponding to the address.
struct sockaddr const* pcappp::Address::get_netmask | ( | ) | const [inline, read] |
Gets the netmask corresponding to the address.
Assigns another Address object's contents to this one.