FwdState.h File Reference
#include "base/CbcPointer.h"
#include "base/forward.h"
#include "base/RefCount.h"
#include "clients/forward.h"
#include "comm.h"
#include "comm/Connection.h"
#include "comm/ConnOpener.h"
#include "err_type.h"
#include "fde.h"
#include "http/StatusCode.h"
#include "ip/Address.h"
#include "PeerSelectState.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.

Classes

class  FwdState
 

Namespaces

 Ssl
 

Typedefs

typedef RefCount< AccessLogEntryAccessLogEntryPointer
 
typedef RefCount< ResolvedPeersResolvedPeersPointer
 
typedef CbcPointer< HappyConnOpenerHappyConnOpenerPointer
 

Functions

void GetMarkingsToServer (HttpRequest *request, Comm::Connection &conn)
 
void ResetMarkingsToServer (HttpRequest *, Comm::Connection &)
 
void getOutgoingAddress (HttpRequest *request, Comm::ConnectionPointer conn)
 

Variables

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

Typedef Documentation

◆ AccessLogEntryPointer

Definition at line 31 of file FwdState.h.

◆ HappyConnOpenerPointer

Definition at line 39 of file FwdState.h.

◆ ResolvedPeersPointer

Definition at line 36 of file FwdState.h.

Function Documentation

◆ 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 1435 of file FwdState.cc.

References debugs, GetNfmarkToServer(), GetTosToServer(), Comm::Connection::local, Comm::Connection::nfmark, and Comm::Connection::tos.

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

◆ getOutgoingAddress()

◆ ResetMarkingsToServer()

void ResetMarkingsToServer ( HttpRequest ,
Comm::Connection  
)

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

Definition at line 1444 of file FwdState.cc.

References GetMarkingsToServer(), Comm::Connection::nfmark, Ip::Qos::setSockNfmark(), Ip::Qos::setSockTos(), and Comm::Connection::tos.

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

Variable Documentation

◆ fwdPconnPool

PconnPool* fwdPconnPool

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors