Asn.cc File Reference
#include "squid.h"
#include "acl/Acl.h"
#include "acl/Asn.h"
#include "acl/Checklist.h"
#include "acl/DestinationAsn.h"
#include "acl/DestinationIp.h"
#include "acl/SourceAsn.h"
#include "acl/Strategised.h"
#include "FwdState.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "ipcache.h"
#include "MasterXaction.h"
#include "mgr/Registration.h"
#include "radix.h"
#include "RequestFlags.h"
#include "SquidConfig.h"
#include "Store.h"
#include "StoreClient.h"
Include dependency graph for Asn.cc:

Go to the source code of this file.

Classes

class  m_ADDR
 
struct  as_info
 
class  ASState
 
struct  rtentry_t
 

Macros

#define WHOIS_PORT   43
 
#define AS_REQBUF_SZ   4096
 

Functions

 CBDATA_CLASS_INIT (ASState)
 
static int asnAddNet (char *, int)
 
static void asnCacheStart (int as)
 
static int destroyRadixNode (struct squid_radix_node *rn, void *w)
 
static int printRadixNode (struct squid_radix_node *rn, void *sentry)
 
void asnAclInitialize (ACL *acls)
 
static void destroyRadixNodeInfo (as_info *)
 
int asnMatchIp (CbDataList< int > *data, Ip::Address &addr)
 
static void asnRegisterWithCacheManager (void)
 
void asnInit (void)
 
void asnFreeMemory (void)
 
static void asnStats (StoreEntry *sentry)
 
static void asHandleReply (void *data, StoreIOBuffer result)
 

Variables

struct squid_radix_node_headAS_tree_head
 
static STCB asHandleReply
 
static OBJH asnStats
 
SQUIDCEXTERN int squid_max_keylen
 

Macro Definition Documentation

#define AS_REQBUF_SZ   4096

Definition at line 32 of file Asn.cc.

Referenced by asHandleReply(), asnCacheStart(), and ASState::ASState().

#define WHOIS_PORT   43

Definition at line 31 of file Asn.cc.

Function Documentation

void asnAclInitialize ( ACL acls)
static int asnAddNet ( char *  as_string,
int  as_number 
)
static
static void asnRegisterWithCacheManager ( void  )
static

Definition at line 193 of file Asn.cc.

References asnStats, and Mgr::RegisterAction().

Referenced by asnInit().

static void asnStats ( StoreEntry sentry)
static

Definition at line 227 of file Asn.cc.

References printRadixNode(), squid_rn_walktree(), and storeAppendPrintf().

CBDATA_CLASS_INIT ( ASState  )
static int destroyRadixNode ( struct squid_radix_node rn,
void *  w 
)
static
static void destroyRadixNodeInfo ( as_info e_info)
static

Definition at line 478 of file Asn.cc.

References as_info::as_number, data, CbDataList< C >::next, and NULL.

Referenced by destroyRadixNode().

static int printRadixNode ( struct squid_radix_node rn,
void *  sentry 
)
static

Variable Documentation

struct squid_radix_node_head* AS_tree_head

Definition at line 50 of file Asn.cc.

STCB asHandleReply
static

Definition at line 119 of file Asn.cc.

Referenced by asHandleReply(), and asnCacheStart().

OBJH asnStats
static

Definition at line 136 of file Asn.cc.

Referenced by asnRegisterWithCacheManager().

SQUIDCEXTERN int squid_max_keylen

Definition at line 200 of file Asn.cc.

Referenced by asnInit().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors