Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
address.h File Reference

Network addresses and sockets related classes. More...

#include <cc++/config.h>
#include <cc++/missing.h>
#include <cc++/thread.h>
#include <cc++/exception.h>
Include dependency graph for address.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  IPV4Validator
 Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor. More...
 
class  IPV4MulticastValidator
 Class for the function object that validates multicast addresses. More...
 
class  IPV4Cidr
 The CIDR class is used to support routing tables and validate address policies. More...
 
class  IPV4Address
 The network name and address objects are all derived from a common IPV4Address base class. More...
 
class  IPV4Mask
 Internet addresses used specifically as masking addresses (such as " 255.255.255.0") are held in the IPV4Mask derived object. More...
 
class  IPV4Host
 This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket. More...
 
class  IPV4Broadcast
 The broadcast address object is used to store the broadcast address for a specific subnet. More...
 
class  IPV4Multicast
 A specialization of IPV4Address that provides address validation for multicast addresses. More...
 

Macros

#define INET_IPV4_ADDRESS_SIZE   16
 
#define CIDR_IPV4_ADDRESS_SIZE   32
 
#define INET_IPV6_ADDRESS_SIZE   40
 
#define CIDR_IPV6_ADDRESS_SIZE   45
 
#define CIDR   IPV4Cidr
 
#define InetAddress   IPV4Address
 
#define InetHostAddress   IPV4Host
 
#define InetMaskAddress   IPV4Mask
 
#define InetMcastAddress   IPV4Multicast
 
#define InetMcastAddressValidator   IPV4MulticastValidator
 
#define InetAddrValidator   IPV4Validator
 
#define BroadcastAddress   IPV4Broadcast
 

Typedefs

typedef unsigned short tpport_t
 Transport Protocol Ports. More...
 

Functions

__EXPORT std::ostream & operator<< (std::ostream &os, const IPV4Address &ia)
 
struct in_addr getaddress (const IPV4Address &ia)
 

Variables

class __EXPORT IPV4Host
 

Detailed Description

Network addresses and sockets related classes.

Definition in file address.h.

Macro Definition Documentation

#define BroadcastAddress   IPV4Broadcast

Definition at line 81 of file address.h.

#define CIDR   IPV4Cidr

Definition at line 74 of file address.h.

#define CIDR_IPV4_ADDRESS_SIZE   32

Definition at line 70 of file address.h.

#define CIDR_IPV6_ADDRESS_SIZE   45

Definition at line 72 of file address.h.

#define INET_IPV4_ADDRESS_SIZE   16

Definition at line 69 of file address.h.

#define INET_IPV6_ADDRESS_SIZE   40

Definition at line 71 of file address.h.

#define InetAddress   IPV4Address

Definition at line 75 of file address.h.

#define InetAddrValidator   IPV4Validator

Definition at line 80 of file address.h.

#define InetHostAddress   IPV4Host

Definition at line 76 of file address.h.

#define InetMaskAddress   IPV4Mask

Definition at line 77 of file address.h.

#define InetMcastAddress   IPV4Multicast

Definition at line 78 of file address.h.

#define InetMcastAddressValidator   IPV4MulticastValidator

Definition at line 79 of file address.h.

Typedef Documentation

typedef unsigned short tpport_t

Transport Protocol Ports.

Definition at line 86 of file address.h.

Function Documentation

struct in_addr getaddress ( const IPV4Address ia)

Definition at line 675 of file address.h.

__EXPORT std::ostream& operator<< ( std::ostream &  os,
const IPV4Address ia 
)

Variable Documentation

Definition at line 88 of file address.h.