|
Squid Web Cache master
|
#include "squid.h"#include "comm/Tcp.h"#include "compat/socket.h"#include "debug/Stream.h"#include <type_traits>Go to the source code of this file.
Functions | |
| template<typename Option > | |
| static bool | SetSocketOption (const int fd, const int level, const int optName, const Option &optValue) |
| xsetsockopt(2) wrapper | |
| static bool | SetBooleanSocketOption (const int fd, const int level, const int optName, const bool enable) |
| setsockopt(2) wrapper for setting typical on/off options | |
|
static |
Definition at line 42 of file Tcp.cc.
References SetSocketOption().
Referenced by Comm::ApplyTcpKeepAlive().
|
static |
Definition at line 27 of file Tcp.cc.
References DBG_IMPORTANT, debugs, xsetsockopt(), and xstrerr().
Referenced by Comm::ApplyTcpKeepAlive(), and SetBooleanSocketOption().