Connection.h File Reference
#include "base/CodeContext.h"
#include "base/InstanceId.h"
#include "comm/forward.h"
#include "defines.h"
#include "eui/Eui48.h"
#include "eui/Eui64.h"
#include "hier_code.h"
#include "ip/Address.h"
#include "ip/forward.h"
#include "mem/forward.h"
#include "SquidTime.h"
#include <iosfwd>
#include <ostream>
Include dependency graph for Connection.h:

Go to the source code of this file.

Classes

class  Comm::Connection
 

Namespaces

 Security
 Network/connection security abstraction layer.
 
 Comm
 Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
 

Macros

#define COMM_UNSET   0x00
 
#define COMM_NONBLOCKING   0x01
 
#define COMM_NOCLOEXEC   0x02
 
#define COMM_REUSEADDR   0x04
 
#define COMM_DOBIND   0x08
 
#define COMM_TRANSPARENT   0x10
 
#define COMM_INTERCEPTION   0x20
 
#define COMM_REUSEPORT   0x40
 
#define COMM_ORPHANED   0x40
 not registered with Comm and not owned by any connection-closing code More...
 

Functions

std::ostream & operator<< (std::ostream &os, const Comm::Connection &conn)
 
std::ostream & operator<< (std::ostream &os, const Comm::ConnectionPointer &conn)
 

Macro Definition Documentation

◆ COMM_DOBIND

#define COMM_DOBIND   0x08

Definition at line 49 of file Connection.h.

◆ COMM_INTERCEPTION

#define COMM_INTERCEPTION   0x20

Definition at line 51 of file Connection.h.

◆ COMM_NOCLOEXEC

#define COMM_NOCLOEXEC   0x02

Definition at line 47 of file Connection.h.

◆ COMM_NONBLOCKING

#define COMM_NONBLOCKING   0x01

Definition at line 46 of file Connection.h.

◆ COMM_ORPHANED

#define COMM_ORPHANED   0x40

Definition at line 54 of file Connection.h.

◆ COMM_REUSEADDR

#define COMM_REUSEADDR   0x04

Definition at line 48 of file Connection.h.

◆ COMM_REUSEPORT

#define COMM_REUSEPORT   0x40

Definition at line 52 of file Connection.h.

◆ COMM_TRANSPARENT

#define COMM_TRANSPARENT   0x10

Definition at line 50 of file Connection.h.

◆ COMM_UNSET

#define COMM_UNSET   0x00

Definition at line 45 of file Connection.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const Comm::Connection conn 
)

Definition at line 194 of file Connection.cc.

References COMM_UNSET, conn, and hier_code_str.

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
const Comm::ConnectionPointer conn 
)
inline

Definition at line 198 of file Connection.h.

References conn, and NULL.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors