~chtsanti/squid/icap-max-connections

« back to all changes in this revision

Viewing changes to src/asn.cc

  • Committer: Christos Tsantilas
  • Date: 2009-04-11 09:00:59 UTC
  • mfrom: (9294.1.333 trunk)
  • Revision ID: chtsanti@users.sourceforge.net-20090411090059-8n47p1kyy1cqfqkn
MergeĀ FromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#include "HttpRequest.h"
40
40
#include "StoreClient.h"
41
41
#include "Store.h"
42
 
#include "ACL.h"
43
 
#include "ACLASN.h"
44
 
#include "ACLSourceASN.h"
45
 
#include "ACLDestinationASN.h"
46
 
#include "ACLDestinationIP.h"
 
42
#include "acl/Acl.h"
 
43
#include "acl/Asn.h"
 
44
#include "acl/SourceAsn.h"
 
45
#include "acl/DestinationAsn.h"
 
46
#include "acl/DestinationIp.h"
47
47
#include "HttpReply.h"
48
48
#include "forward.h"
49
49
#include "wordlist.h"
605
605
ACLStrategised<IpAddress> ACLASN::DestinationRegistryEntry_(new ACLASN, ACLDestinationASNStrategy::Instance(), "dst_as");
606
606
 
607
607
int
608
 
ACLSourceASNStrategy::match (ACLData<IpAddress> * &data, ACLChecklist *checklist)
 
608
ACLSourceASNStrategy::match (ACLData<IpAddress> * &data, ACLFilledChecklist *checklist)
609
609
{
610
610
    return data->match(checklist->src_addr);
611
611
}
620
620
 
621
621
 
622
622
int
623
 
ACLDestinationASNStrategy::match (ACLData<MatchType> * &data, ACLChecklist *checklist)
 
623
ACLDestinationASNStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
624
624
{
625
625
    const ipcache_addrs *ia = ipcache_gethostbyname(checklist->request->GetHost(), IP_LOOKUP_IF_MISS);
626
626