Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

wvaddr.h File Reference

#include "wvstring.h"
#include <netinet/in.h>

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WvEncap
 Common packet encapsulation types, with the ability to convert a Linux ARPHRD_* value or (struct sockaddr) sa_family value. More...

class  WvAddr
 Base class for different address types, each of which will have the ability to convert itself to/from a printable string, as well as other type-specific abilities. More...

class  WvStringAddr
 A WvAddr that simply contains a printable string with a user-defined encapsulation type. More...

class  WvEtherAddr
 An ethernet address is made up of a string of hex numbers, in the form AA:BB:CC:DD:EE:FF. More...

class  WvARCnetAddr
 An ARCnet address is made up of a single hex number. More...

class  WvIPAddr
 An IP address is made up of a "dotted quad" -- four decimal numbers in the form www.xxx.yyy.zzz. More...

class  WvIPNet
 An IP network comprises two WvIPAddr structures: an address and a netmask. More...

class  WvIPPortAddr
 An IP+Port address also includes a port number, with the resulting form www.xxx.yyy.zzz:pppp. More...

class  WvUnixAddr
 A Unix domain socket address is really just a filename. More...


Defines

#define WVADDR   type_wvaddr
#define WVIPADDR   type_wvipaddr
#define WVIPNET   type_wvipnet
#define WVIPPORTADDR   type_wvipportaddr

Typedefs

typedef unsigned int __u32
typedef short unsigned int __u16

Functions

unsigned WvHash (const WvAddr &addr)

Variables

const char * type_wvaddr = "WvAddr"
const char * type_wvipaddr = "WvIPAddr"
const char * type_wvipnet = "WvIPNet"
const char * type_wvipportaddr = "WvIPPortAddr"


Define Documentation

#define WVADDR   type_wvaddr
 

Definition at line 56 of file wvaddr.h.

Referenced by WvAddr::type().

#define WVIPADDR   type_wvipaddr
 

Definition at line 57 of file wvaddr.h.

Referenced by WvIPAddr::comparator(), and WvIPAddr::type().

#define WVIPNET   type_wvipnet
 

Definition at line 58 of file wvaddr.h.

Referenced by WvIPNet::comparator(), and WvIPNet::type().

#define WVIPPORTADDR   type_wvipportaddr
 

Definition at line 59 of file wvaddr.h.

Referenced by WvIPPortAddr::comparator(), and WvIPPortAddr::type().


Typedef Documentation

typedef short unsigned int __u16
 

Definition at line 47 of file wvaddr.h.

Referenced by WvIPPortAddr::WvIPPortAddr(), and WvTCPConn::WvTCPConn().

typedef unsigned int __u32
 

Definition at line 44 of file wvaddr.h.

Referenced by WvIPAddr::addr(), WvIPNet::bits(), WvIPRouteList::get_kernel(), WvIPNet::normalize(), WvIPAddr::operator+(), WvIPAddr::operator-(), WvIPNet::string_init(), and WvIPNet::WvIPNet().


Function Documentation

unsigned WvHash const WvAddr addr  ) 
 

Definition at line 80 of file wvaddr.cc.


Variable Documentation

const char* type_wvaddr = "WvAddr" [static]
 

Definition at line 51 of file wvaddr.h.

const char* type_wvipaddr = "WvIPAddr" [static]
 

Definition at line 52 of file wvaddr.h.

const char* type_wvipnet = "WvIPNet" [static]
 

Definition at line 53 of file wvaddr.h.

const char* type_wvipportaddr = "WvIPPortAddr" [static]
 

Definition at line 54 of file wvaddr.h.


Generated on Sat Mar 13 14:56:12 2004 for WvStreams by doxygen 1.3.6-20040222