Apache Mesos
Classes | Namespaces | Functions | Variables
diagnosis.hpp File Reference
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <vector>
#include <stout/ip.hpp>
#include <stout/option.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Classes

struct  routing::diagnosis::socket::Info
 

Namespaces

 routing
 
 routing::diagnosis
 
 routing::diagnosis::socket
 
 routing::diagnosis::socket::state
 

Functions

Try< std::vector< Info > > routing::diagnosis::socket::infos (int familiy, int states)
 

Variables

const int routing::diagnosis::socket::state::UNKNOWN = 0
 
const int routing::diagnosis::socket::state::ESTABLISHED = 1 << 1
 
const int routing::diagnosis::socket::state::SYN_SENT = 1 << 2
 
const int routing::diagnosis::socket::state::SYN_RECV = 1 << 3
 
const int routing::diagnosis::socket::state::FIN_WAIT1 = 1 << 4
 
const int routing::diagnosis::socket::state::FIN_WAIT2 = 1 << 5
 
const int routing::diagnosis::socket::state::TIME_WAIT = 1 << 6
 
const int routing::diagnosis::socket::state::CLOSE = 1 << 7
 
const int routing::diagnosis::socket::state::CLOSE_WAIT = 1 << 8
 
const int routing::diagnosis::socket::state::LAST_ACK = 1 << 9
 
const int routing::diagnosis::socket::state::LISTEN = 1 << 10
 
const int routing::diagnosis::socket::state::CLOSING = 1 << 11
 
const int routing::diagnosis::socket::state::MAX = 1 << 12
 
const int routing::diagnosis::socket::state::ALL = MAX - 1