QosConfig.h File Reference
#include "acl/forward.h"
#include "cbdata.h"
#include "comm/forward.h"
#include "hier_code.h"
#include "ip/forward.h"
#include "ip/NfMarkConfig.h"
#include <limits>
Include dependency graph for QosConfig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  acl_tos
 
class  acl_nfmark
 
class  Ip::Qos::Config
 

Namespaces

namespace  Ip
 
namespace  Ip::Qos
 

Macros

#define parse_QosConfig(X)   (X)->parseConfigLine()
 
#define free_QosConfig(X)
 
#define dump_QosConfig(e, n, X)
 

Enumerations

enum  Ip::Qos::ConnectionDirection {
  Ip::Qos::dirAccepted ,
  Ip::Qos::dirOpened
}
 Possible Squid roles in connection handling. More...
 

Functions

void Ip::Qos::getTosFromServer (const Comm::ConnectionPointer &server, fde *clientFde)
 
nfmark_t Ip::Qos::getNfConnmark (const Comm::ConnectionPointer &conn, const ConnectionDirection connDir)
 
bool Ip::Qos::setNfConnmark (Comm::ConnectionPointer &conn, const ConnectionDirection connDir, const NfMarkConfig &cm)
 
int Ip::Qos::doTosLocalMiss (const Comm::ConnectionPointer &conn, const hier_code hierCode)
 
int Ip::Qos::doNfmarkLocalMiss (const Comm::ConnectionPointer &conn, const hier_code hierCode)
 
int Ip::Qos::doTosLocalHit (const Comm::ConnectionPointer &conn)
 
int Ip::Qos::doNfmarkLocalHit (const Comm::ConnectionPointer &conn)
 
int Ip::Qos::setSockTos (const Comm::ConnectionPointer &conn, tos_t tos)
 
int Ip::Qos::setSockTos (const int fd, tos_t tos, int type)
 
int Ip::Qos::setSockNfmark (const Comm::ConnectionPointer &conn, nfmark_t mark)
 
int Ip::Qos::setSockNfmark (const int fd, nfmark_t mark)
 

Variables

Config Ip::Qos::TheConfig
 Globally available instance of Qos::Config. More...
 

Macro Definition Documentation

◆ dump_QosConfig

#define dump_QosConfig (   e,
  n,
 
)
Value:
do { \
char temp[256]; /* random number. change as needed. max config line length. */ \
(X).dumpConfigLine(temp,n); \
storeAppendPrintf(e, "%s", temp); \
} while(0);

Definition at line 246 of file QosConfig.h.

◆ free_QosConfig

#define free_QosConfig (   X)

Definition at line 245 of file QosConfig.h.

◆ parse_QosConfig

#define parse_QosConfig (   X)    (X)->parseConfigLine()

Definition at line 244 of file QosConfig.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors