Asn.cc File Reference
#include "squid.h"
#include "acl/Acl.h"
#include "acl/Asn.h"
#include "acl/DestinationAsn.h"
#include "acl/DestinationIp.h"
#include "acl/FilledChecklist.h"
#include "acl/SourceAsn.h"
#include "base/CharacterSet.h"
#include "FwdState.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "ipcache.h"
#include "MasterXaction.h"
#include "mgr/Registration.h"
#include "parser/Tokenizer.h"
#include "radix.h"
#include "RequestFlags.h"
#include "sbuf/SBuf.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
 

Functions

 CBDATA_CLASS_INIT (ASState)
 
static int asnAddNet (const SBuf &, 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
 

Function Documentation

◆ asHandleReply()

◆ asnAclInitialize()

void asnAclInitialize ( ACL acls)

◆ asnAddNet()

◆ asnCacheStart()

◆ asnMatchIp()

◆ asnRegisterWithCacheManager()

static void asnRegisterWithCacheManager ( void  )
static

Definition at line 180 of file Asn.cc.

References asnStats, and Mgr::RegisterAction().

Referenced by asnInit().

◆ asnStats()

static void asnStats ( StoreEntry sentry)
static

Definition at line 214 of file Asn.cc.

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

◆ CBDATA_CLASS_INIT()

CBDATA_CLASS_INIT ( ASState  )

◆ destroyRadixNode()

static int destroyRadixNode ( struct squid_radix_node rn,
void *  w 
)
static

◆ destroyRadixNodeInfo()

static void destroyRadixNodeInfo ( as_info e_info)
static

Definition at line 426 of file Asn.cc.

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

Referenced by destroyRadixNode().

◆ printRadixNode()

Variable Documentation

◆ AS_tree_head

struct squid_radix_node_head* AS_tree_head

Definition at line 49 of file Asn.cc.

Referenced by asnAddNet(), asnFreeMemory(), asnInit(), asnMatchIp(), and asnStats().

◆ asHandleReply

STCB asHandleReply
static

Definition at line 106 of file Asn.cc.

Referenced by asHandleReply(), and asnCacheStart().

◆ asnStats

OBJH asnStats
static

Definition at line 123 of file Asn.cc.

Referenced by asnRegisterWithCacheManager().

◆ squid_max_keylen

SQUIDCEXTERN int squid_max_keylen

Definition at line 187 of file Asn.cc.

Referenced by asnInit().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors