stub_libip.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2019 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #include "squid.h"
10 #include "Store.h"
11 
12 #define STUB_API "ip/libip.la"
13 #include "tests/STUB.h"
14 
15 #include "ip/QosConfig.h"
16 namespace Ip
17 {
18 namespace Qos
19 {
20 void getTosFromServer(fde *, const int) {
21 #if USE_QOS_TOS
22  STUB
23 #endif
24 }
25 void getNfmarkFromServer(const fde *, const fde *, const int) {
26 #if USE_QOS_NFMARK
27  STUB
28 #endif
29 }
30 #if USE_QOS_NFMARK
31 int GetNfMarkCallback(enum nf_conntrack_msg_type, struct nf_conntrack *, void *) STUB_RETVAL(-1)
32 #endif
33 tos_t doTosLocalMiss(const int, const hier_code) STUB_RETVAL(-1)
34 int doNfmarkLocalMiss(const int, const hier_code) STUB_RETVAL(-1)
35 int doTosLocalHit(const int) STUB_RETVAL(-1)
36 int doNfmarkLocalHit(const int) STUB_RETVAL(-1)
37 void parseConfigLine() STUB
38 void dumpConfigLine(char *, const char *) STUB
39 
41 bool Config::isAclNfmarkActive() const STUB_RETVAL(false)
42 bool Config::isAclTosActive() const STUB_RETVAL(false)
43 }
44 }
45 
Definition: client_db.h:22
void getNfmarkFromServer(const fde *, const fde *, const int)
Definition: stub_libip.cc:25
tos_t const hier_code STUB_RETVAL(-1) int doTosLocalHit(const int) STUB_RETVAL(-1) int doNfmarkLocalHit(const int) STUB_RETVAL(-1) void parseConfigLine() STUB void dumpConfigLine(char *
int doNfmarkLocalMiss(const Comm::ConnectionPointer &conn, const hier_code hierCode)
Definition: QosConfig.cc:235
unsigned char tos_t
Definition: forward.h:26
bool isAclNfmarkActive() const
Definition: QosConfig.cc:594
#define STUB
macro to stub a void function.
Definition: STUB.h:33
hier_code
Definition: hier_code.h:12
int doNfmarkLocalHit(const Comm::ConnectionPointer &conn)
Definition: QosConfig.cc:263
Definition: fde.h:49
bool isAclTosActive() const
Definition: QosConfig.cc:611
int doTosLocalHit(const Comm::ConnectionPointer &conn)
Definition: QosConfig.cc:256
void getTosFromServer(const Comm::ConnectionPointer &server, fde *clientFde)
Definition: QosConfig.cc:41
int doTosLocalMiss(const Comm::ConnectionPointer &conn, const hier_code hierCode)
Definition: QosConfig.cc:214

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors