Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

wccpv1_proto.h File Reference

Go to the source code of this file.

Compounds

struct  WCCP1_ASSIGN_BUCKET_HASHINFO
 This is the tail of a WCCP version 1 ASSIGN BUCKET message. More...

struct  WCCP1_ASSIGN_BUCKET_MSG
 The WCCP version 1 ASSIGN BUCKET message structure. More...

struct  WCCP1_HERE_I_AM_MSG
 The WCCP version 1 HERE I AM message structure. More...

struct  WCCP1_I_SEE_YOU_MSG
 The WCCP version 1 I SEE YOU message structure. More...

struct  WCCP1_I_SEE_YOU_WC_ENTRY
 The WCCP version 1 I SEE YOU WebCache entry structure. More...


Defines

#define __WCCP_V1_PROTO_H__   1
 Defines the loe-level structures for WCCP version 1. More...

#define WCCP1_PORT   2048
 The WCCP version 1 client UDP port number.

#define WCCP1_PROTO_VERSION_MIN   3
 The WCCP version 1 HERE_I_AM minimum protocol version.

#define WCCP1_PROTO_VERSION_MAX   4
 The WCCP version 1 HERE_I_AM maximum protocol version.

#define WCCP1_HASH_REVISION   0
 The WCCP version 1 HERE_I_AM hash information revision.

#define WCCP1_HERE_I_AM_T   10
 The time between WCCP version 1 client HERE I AM messages.

#define WCCP1_HERE_I_AM_TIMEOUT   (3 * WCCP1_HERE_I_AM_T)
 How much time without HERE I AM messages before expiring the client.

#define WCCP1_MAX_CACHES   32
 Maximum number of assignable caches supported.

#define WCCP1_MAX_PACKET_SIZE
 Maximum packet size. More...


Typedefs

typedef u_int32 WCCP1_HINFO [8]
 Hash information type, a 8-element array of u_int32.


Enumerations

enum  WCCPV1_TYPES { WCCP1_HERE_I_AM = 7, WCCP1_I_SEE_YOU = 8, WCCP1_ASSIGN_BUCKET = 9 }
 The types of packets of WCCP version 1. More...


Define Documentation

#define WCCP1_HASH_REVISION   0
 

The WCCP version 1 HERE_I_AM hash information revision.

#define WCCP1_HERE_I_AM_T   10
 

The time between WCCP version 1 client HERE I AM messages.

#define WCCP1_HERE_I_AM_TIMEOUT   (3 * WCCP1_HERE_I_AM_T)
 

How much time without HERE I AM messages before expiring the client.

#define WCCP1_MAX_CACHES   32
 

Maximum number of assignable caches supported.

#define WCCP1_MAX_PACKET_SIZE
 

Value:

                                 (sizeof(WCCP1_ASSIGN_BUCKET_MSG) +      \
                                 (sizeof(u_int32) * WCCP1_MAX_CACHES) + \
                                 sizeof(WCCP1_ASSIGN_BUCKET_HASHINFO))
Maximum packet size.

#define WCCP1_PORT   2048
 

The WCCP version 1 client UDP port number.

#define WCCP1_PROTO_VERSION_MAX   4
 

The WCCP version 1 HERE_I_AM maximum protocol version.

#define WCCP1_PROTO_VERSION_MIN   3
 

The WCCP version 1 HERE_I_AM minimum protocol version.

#define __WCCP_V1_PROTO_H__   1
 

Defines the loe-level structures for WCCP version 1.

These are basically taken from the spec. (draft-forster-wrec-wccp-v1-00)


Typedef Documentation

typedef u_int32 WCCP1_HINFO
 

Hash information type, a 8-element array of u_int32.


Enumeration Type Documentation

enum WCCPV1_TYPES
 

The types of packets of WCCP version 1.

Enumeration values:
WCCP1_HERE_I_AM   WCCP version 1 HERE I AM messages received from clients.
WCCP1_I_SEE_YOU   WCCP version 1 I SEE YOU messages sent to clients.
WCCP1_ASSIGN_BUCKET   WCCP version 1 ASSIGN BUCKET messages received from clients.


Generated at Fri Jan 25 19:22:24 2002 for wccpd by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001