FwdState.h File Reference
#include "base/forward.h"
#include "base/JobWait.h"
#include "base/RefCount.h"
#include "clients/forward.h"
#include "comm.h"
#include "comm/Connection.h"
#include "error/forward.h"
#include "fde.h"
#include "http/StatusCode.h"
#include "ip/Address.h"
#include "ip/forward.h"
#include "PeerSelectState.h"
#include "ResolvedPeers.h"
#include "security/forward.h"
#include "ssl/support.h"
Include dependency graph for FwdState.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  FwdState


typedef RefCount< AccessLogEntryAccessLogEntryPointer
typedef RefCount< ResolvedPeersResolvedPeersPointer


void GetMarkingsToServer (HttpRequest *request, Comm::Connection &conn)
void ResetMarkingsToServer (HttpRequest *, Comm::Connection &)
tos_t aclMapTOS (acl_tos *, ACLChecklist *)
 Checks for a TOS value to apply depending on the ACL. More...
Ip::NfMarkConfig aclFindNfMarkConfig (acl_nfmark *, ACLChecklist *)
 Checks for a netfilter mark value to apply depending on the ACL. More...
void getOutgoingAddress (HttpRequest *, const Comm::ConnectionPointer &)


 a collection of previously used persistent Squid-to-peer HTTP(S) connections More...

Typedef Documentation

◆ AccessLogEntryPointer

Definition at line 33 of file FwdState.h.

◆ ResolvedPeersPointer

Definition at line 37 of file FwdState.h.

Function Documentation

◆ aclFindNfMarkConfig()

Ip::NfMarkConfig aclFindNfMarkConfig ( acl_nfmark head,
ACLChecklist ch 

◆ aclMapTOS()

tos_t aclMapTOS ( acl_tos head,
ACLChecklist ch 

◆ GetMarkingsToServer()

void GetMarkingsToServer ( HttpRequest request,
Comm::Connection conn 

Sets initial TOS value and Netfilter for the future outgoing connection. Updates the given Connection object, not the future transport connection.

Definition at line 1555 of file FwdState.cc.

References conn, debugs, GetNfmarkToServer(), and GetTosToServer().

Referenced by HappyConnOpener::openFreshConnection(), PeerPoolMgr::openNewConnection(), and ResetMarkingsToServer().

◆ getOutgoingAddress()

◆ ResetMarkingsToServer()

void ResetMarkingsToServer ( HttpRequest request,
Comm::Connection conn 

Recomputes and applies TOS value and Netfilter to the outgoing connection. Updates both the given Connection object and the transport connection.

Definition at line 1564 of file FwdState.cc.

References conn, GetMarkingsToServer(), Ip::Qos::setSockNfmark(), and Ip::Qos::setSockTos().

Referenced by TunnelStateData::connectDone(), and FwdState::syncWithServerConn().

Variable Documentation

◆ fwdPconnPool






Web Site Translations