stub_libip.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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"
16namespace Ip
17{
18namespace Qos
19{
20void getTosFromServer(fde *, const int) {
21#if USE_QOS_TOS
22 STUB
23#endif
24}
25void getNfmarkFromServer(const fde *, const fde *, const int) {
26#if USE_QOS_NFMARK
27 STUB
28#endif
29}
30#if USE_QOS_NFMARK
31int GetNfMarkCallback(enum nf_conntrack_msg_type, struct nf_conntrack *, void *) STUB_RETVAL(-1)
32#endif
35int doTosLocalHit(const int) STUB_RETVAL(-1)
36int doNfmarkLocalHit(const int) STUB_RETVAL(-1)
37void parseConfigLine() STUB
38void dumpConfigLine(char *, const char *) STUB
39
42bool Config::isAclTosActive() const STUB_RETVAL(false)
43}
44}
45
#define false
Definition: GnuRegex.c:240
#define STUB
macro to stub a void function.
Definition: STUB.h:33
class SquidConfig Config
Definition: SquidConfig.cc:12
bool isAclNfmarkActive() const
Definition: QosConfig.cc:610
Definition: fde.h:52
hier_code
Definition: hier_code.h:12
unsigned char tos_t
Definition: forward.h:27
void getTosFromServer(const Comm::ConnectionPointer &server, fde *clientFde)
Definition: QosConfig.cc:43
int doNfmarkLocalHit(const Comm::ConnectionPointer &conn)
Definition: QosConfig.cc:275
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 doTosLocalMiss(const Comm::ConnectionPointer &conn, const hier_code hierCode)
Definition: QosConfig.cc:226
int doNfmarkLocalMiss(const Comm::ConnectionPointer &conn, const hier_code hierCode)
Definition: QosConfig.cc:247
int doTosLocalHit(const Comm::ConnectionPointer &conn)
Definition: QosConfig.cc:268
void getNfmarkFromServer(const fde *, const fde *, const int)
Definition: stub_libip.cc:25
Definition: client_db.h:23
int unsigned int
Definition: stub_fd.cc:19

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors