#include "squid.h"
#include "base/RunnersRegistry.h"
#include "CachePeer.h"
#include "CachePeers.h"
#include "carp.h"
#include "HttpRequest.h"
#include "mgr/Registration.h"
#include "neighbors.h"
#include "PeerSelectState.h"
#include "SquidConfig.h"
#include "Store.h"
#include <cmath>
Go to the source code of this file.
|
| #define | ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) |
| |
◆ ROTATE_LEFT
| #define ROTATE_LEFT |
( |
|
x, |
|
|
|
n |
|
) |
| (((x) << (n)) | ((x) >> (32-(n)))) |
◆ carpCachemgr()
◆ carpInit()
| static void carpInit |
( |
void |
| ) |
|
|
static |
◆ CarpPeers()
| static auto & CarpPeers |
( |
| ) |
|
|
static |
◆ carpRegisterWithCacheManager()
| static void carpRegisterWithCacheManager |
( |
void |
| ) |
|
|
static |
◆ carpSelectParent()
Definition at line 150 of file carp.cc.
References AnyP::Uri::absolutePath(), SBuf::append(), SBuf::appendf(), assert, CarpPeers(), debugs, HttpRequest::effectiveRequestUri(), SBuf::find(), AnyP::Uri::getScheme(), AnyP::Uri::host(), AnyP::UriScheme::image(), SBuf::isEmpty(), SBuf::length(), SBuf::npos, peerHTTPOkay(), AnyP::Uri::port(), SBuf::rawContent(), PeerSelector::request, ROTATE_LEFT, SBuf::substr(), and HttpRequest::url.
Referenced by PeerSelector::selectSomeParent().
◆ DefineRunnerRegistrator()
| DefineRunnerRegistrator |
( |
CarpRr |
| ) |
|
◆ peerSortWeight()
| static int peerSortWeight |
( |
const void * |
a, |
|
|
const void * |
b |
|
) |
| |
|
static |
◆ carpCachemgr