/*
- * $Id: List.h,v 1.8 2008/02/26 21:49:33 amosjeffries Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
-
/*
- * $Id: ACLARP.cc,v 1.29 2008/02/05 22:38:24 amosjeffries Exp $
- *
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
*
#include <squid_windows.h>
#endif
#include "squid.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#ifdef _SQUID_WIN32_
/*
- * $Id: ACLASN.h,v 1.10 2008/02/26 21:49:34 amosjeffries Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
#include "CbDataList.h"
#include "ACLStrategised.h"
#include "ACLChecklist.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
SQUIDCEXTERN int asnMatchIp(CbDataList<int> *, IpAddress &);
/*
- * $Id: ACLDestinationASN.h,v 1.4 2008/02/26 21:49:34 amosjeffries Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
#include "ACLASN.h"
#include "ACLStrategy.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
/// \ingroup ACLAPI
class ACLDestinationASNStrategy : public ACLStrategy<IpAddress>
/*
- * $Id$
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
#include "ACL.h"
#include "splay.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
/// \ingroup ACLAPI
class acl_ip_data
-
/*
- * $Id: ACLSourceASN.h,v 1.3 2007/12/14 23:11:45 amosjeffries Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
class ACLChecklist;
#include "ACLStrategy.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
class ACLSourceASNStrategy : public ACLStrategy<IpAddress>
{
/*
- * $Id: AccessLogEntry.h,v 1.9 2008/02/26 00:15:48 rousskov Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
#include "HttpVersion.h"
#include "HttpRequestMethod.h"
#include "HierarchyLogEntry.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#include "HttpRequestMethod.h"
/* forward decls */
/* for auth_type_t */
#include "enums.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#include "dlink.h"
/**
/*
- * $Id: CompositePoolNode.h,v 1.10 2008/02/26 21:49:34 amosjeffries Exp $
- *
* DEBUG: section 77 Delay Pools
* AUTHOR: Robert Collins <robertc@squid-cache.org>
* Based upon original delay pools code by
#include "DelayPools.h"
#include "DelayIdComposite.h"
#include "CommRead.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
class StoreEntry;
DeferredReadManager deferredReads;
};
-#endif
+#endif /* DELAY_POOLS */
#endif /* COMPOSITEPOOLNODE_H */
/*
- * $Id: ConnectionDetail.h,v 1.4 2007/12/14 23:11:45 amosjeffries Exp $
- *
* DEBUG: section 5 Socket Functions
* AUTHOR: Robert Collins
*
#ifndef _SQUIDCONNECTIONDETAIL_H_
#define _SQUIDCONNECTIONDETAIL_H_
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
class ConnectionDetail
{
-
/*
- * $Id: ESI.cc,v 1.30 2008/02/26 21:49:34 amosjeffries Exp $
- *
* DEBUG: section 86 ESI processing
* AUTHOR: Robert Collins
*
#include "ESIExpression.h"
#include "HttpRequest.h"
#include "MemBuf.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
/* quick reference on behaviour here.
* The ESI specification 1.0 requires the ESI processor to be able to
-
/*
- * $Id: PeerSelectState.h,v 1.3 2007/12/14 23:11:45 amosjeffries Exp $
- *
* AUTHOR: Robert Collins
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
#include "cbdata.h"
#include "PingData.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
class ps_state
{
-
/*
- * $Id: client_side_reply.h,v 1.21 2008/02/08 18:31:02 rousskov Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
#include "clientStream.h"
#include "StoreClient.h"
#include "client_side_request.h"
-#include "IpAddress.h"
class ErrorState;
+class IpAddress;
/* XXX make static method */
-
/*
- * $Id: comm.cc,v 1.447 2008/02/26 21:49:34 amosjeffries Exp $
- *
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
*
#include "pconn.h"
#include "SquidTime.h"
#include "CommCalls.h"
-#include "IpAddress.h"
#include "DescriptorSet.h"
#include "icmp/net_db.h"
+#include "ip/IpAddress.h"
#include "ip/IpIntercept.h"
#if defined(_SQUID_CYGWIN_)
#include "AsyncCall.h"
#include "StoreIOBuffer.h"
#include "Array.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#define COMMIO_FD_READCB(fd) (&commfd_table[(fd)].readcb)
#define COMMIO_FD_WRITECB(fd) (&commfd_table[(fd)].writecb)
/*
- * $Id: delay_pools.cc,v 1.51 2008/02/26 21:49:34 amosjeffries Exp $
- *
* DEBUG: section 77 Delay Pools
* AUTHOR: Robert Collins <robertc@squid-cache.org>
* Based upon original delay pools code by
#include "DelayBucket.h"
#include "DelayUser.h"
#include "DelayTagged.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
/// \ingroup DelayPoolsInternal
long DelayPools::MemoryUsed = 0;
-
/*
- * $Id: dnsserver.cc,v 1.74 2008/02/26 21:49:34 amosjeffries Exp $
- *
* DEBUG: section 0 DNS Resolver
* AUTHOR: Harvest Derived
*
\endverbatim
*/
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#if LIBRESOLV_DNS_TTL_HACK
/// \ingroup dnsserver
/*
- * $Id: errorpage.h,v 1.6 2008/02/26 21:49:34 amosjeffries Exp $
- *
* DEBUG: section 4 Error Generation
* AUTHOR: Duane Wessels
*
#include "squid.h"
#include "cbdata.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
/**
\defgroup ErrorPageAPI Error Pages API
-
/*
- * $Id: fde.h,v 1.15 2008/02/12 23:22:13 rousskov Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
#define SQUID_FDE_H
#include "comm.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
class PconnPool;
class ErrorState;
#include "comm.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
class FwdServer
{
-
/*
- * $Id: helper.h,v 1.12 2008/02/26 21:49:34 amosjeffries Exp $
- *
* DEBUG: section 84 Helper process maintenance
* AUTHOR: Harvest Derived?
*
#include "squid.h"
#include "cbdata.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
class helper_request;
/*
- * $Id: htcp.h,v 1.7 2008/02/26 21:49:35 amosjeffries Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
#define SQUID_HTCP_H
#if USE_HTCP
+
#include "HttpHeader.h"
-#include "IpAddress.h"
+
+class IpAddress;
/// \ingroup ServerProtocolHTCP
class HtcpReplyData
/*
- * $Id: ICMP.h,v 1.1 2007/12/14 23:11:45 amosjeffries Exp $
- *
* DEBUG: section 37 ICMP Routines
* AUTHOR: Duane Wessels, Amos Jeffries
*
#define _INCLUDE_ICMP_H
#include "config.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#define PINGER_PAYLOAD_SZ 8192
#include "config.h"
#include "Icmp.h"
-#include "IpAddress.h"
#if HAVE_NETINET_IN_SYSTM_H
#include <netinet/in_systm.h>
/*
- * $Id: ICMPv6.h,v 1.1 2007/12/14 23:11:45 amosjeffries Exp $
- *
* DEBUG: section 37 ICMP Routines
* AUTHOR: Duane Wessels, Amos Jeffries
*
#if USE_IPV6
#include "Icmp.h"
-#include "IpAddress.h"
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
/*
- * $Id: ICMPSquid.h,v 1.1 2007/12/14 23:11:45 amosjeffries Exp $
- *
* DEBUG: section 37 ICMP Routines
* AUTHOR: Duane Wessels, Amos Jeffries
*
#include "config.h"
#include "Icmp.h"
-#include "IpAddress.h"
/**
* Implements a non-blocking pseudo-ICMP engine for squid internally.
/*
- * $Id: net_db.cc,v 1.202 2008/01/07 17:12:28 hno Exp $
- *
* DEBUG: section 38 Network Measurement Database
* AUTHOR: Duane Wessels
*
#include "forward.h"
#include "SquidTime.h"
#include "wordlist.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#if USE_ICMP
#include "icmp/IcmpSquid.h"
/*
- * $Id: icp_v2.cc,v 1.103 2008/02/26 21:49:35 amosjeffries Exp $
- *
* DEBUG: section 12 Internet Cache Protocol (ICP)
* AUTHOR: Duane Wessels
*
#include "wordlist.h"
#include "SquidTime.h"
#include "SwapDir.h"
-#include "IpAddress.h"
#include "icmp/net_db.h"
+#include "ip/IpAddress.h"
/// \ingroup ServerProtocolICPInternal2
static void icpLogIcp(const IpAddress &, log_type, int, const char *, int);
*/
#include "config.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#include "util.h"
#include <string>
#include "testIpAddress.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
CPPUNIT_TEST_SUITE_REGISTRATION( testIpAddress );
-
/*
- * $Id: ipc.cc,v 1.48 2008/02/13 00:01:47 rousskov Exp $
- *
* DEBUG: section 54 Interprocess Communication
* AUTHOR: Duane Wessels
*
#include "squid.h"
#include "comm.h"
#include "fde.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
static const char *hello_string = "hi there\n";
#define HELLO_BUF_SZ 32
-
/*
- * $Id: ipcache.cc,v 1.269 2008/02/26 21:49:35 amosjeffries Exp $
- *
* DEBUG: section 14 IP Cache
* AUTHOR: Harvest Derived
*
#include "SquidTime.h"
#include "Store.h"
#include "wordlist.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
/**
\defgroup IPCacheAPI IP Cache API
-
/*
- * $Id: neighbors.cc,v 1.353 2008/02/11 22:44:50 rousskov Exp $
- *
* DEBUG: section 15 Neighbor Routines
* AUTHOR: Harvest Derived
*
#include "PeerSelectState.h"
#include "SquidTime.h"
#include "Store.h"
-#include "IpAddress.h"
#include "icmp/net_db.h"
+#include "ip/IpAddress.h"
/* count mcast group peers every 15 minutes */
#define MCAST_COUNT_RATE 900
/*
- * $Id: protos.h,v 1.557 2008/02/26 21:49:35 amosjeffries Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
*/
#include "Packer.h"
/* for routines still in this file that take CacheManager parameters */
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
/* for parameters that still need these */
#include "enums.h"
/* some parameters stil need this */
/*
- * $Id: snmp_core.cc,v 1.82 2008/01/22 21:07:19 rousskov Exp $
- *
* DEBUG: section 49 SNMP support
* AUTHOR: Glenn Chisholm
*
#include "comm.h"
#include "cache_snmp.h"
#include "ACLChecklist.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#define SNMP_REQUEST_SIZE 4096
#define MAX_PROTOSTAT 5
-
/*
- * $Id: squid.h,v 1.272 2008/02/26 21:49:35 amosjeffries Exp $
- *
* AUTHOR: Duane Wessels
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
#include "profiling.h"
#include "MemPool.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#if !HAVE_TEMPNAM
#include "tempnam.h"
/*
- * $Id: structs.h,v 1.575 2008/02/11 22:28:47 rousskov Exp $
- *
- *
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
-
/*
- * $Id: wccp2.cc,v 1.23 2008/02/09 03:48:05 swilton Exp $
- *
* DEBUG: section 80 WCCP Support
* AUTHOR: Steven Wilton
*
#include "Parsing.h"
#include "Store.h"
#include "SwapDir.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#if USE_WCCPv2
#if HAVE_NETDB_H
/*
- * $Id: cachemgr.cc,v 1.6 2007/12/14 23:11:53 amosjeffries Exp $
- *
* DEBUG: section 0 CGI Cache Manager
* AUTHOR: Duane Wessels
*
#include "assert.h"
#include "util.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#include "getfullhostname.h"
#ifndef DEFAULT_CACHEMGR_CONFIG
-
/*
- * $Id: squidclient.cc,v 1.11 2008/02/26 21:49:46 amosjeffries Exp $
- *
* DEBUG: section 0 WWW Client
* AUTHOR: Harvest Derived
*
#endif
#include "util.h"
-#include "IpAddress.h"
+#include "ip/IpAddress.h"
#ifndef BUFSIZ
#define BUFSIZ 8192