#include <iostream>
#include <fstream>
#include <exception>
#include <cassert>
#include <netinet/in.h>
#include <sys/types.h>
Go to the source code of this file.
Classes | |
class | protlib::ProtLibException |
class | protlib::uint128 |
Namespaces | |
namespace | protlib |
Defines | |
#define | _THREADS |
#define | catch_all(x) try { x; } catch(...) { } |
Catch everything, do nothing. | |
Typedefs | |
typedef unsigned char | protlib::uchar |
typedef char | protlib::int8 |
typedef unsigned char | protlib::uint8 |
typedef short int | protlib::int16 |
typedef unsigned short int | protlib::uint16 |
typedef int32_t | protlib::int32 |
typedef u_int32_t | protlib::uint32 |
typedef int64_t | protlib::int64 |
typedef u_int64_t | protlib::uint64 |
typedef uint8 | protlib::prefix_length_t |
Network prefix length. | |
typedef uint8 | protlib::protocol_t |
Protocol number, as it is given in an IP header. | |
typedef uint16 | protlib::port_t |
Port number, as given in TCP or UDP headers. | |
typedef uint64 | protlib::gp_id_t |
A general purpose ID type. | |
Functions | |
ostream & | protlib::operator<< (ostream &os, const ProtLibException &err) |
Variables | |
const protocol_t | protlib::prot_tls_tcp = 254 |
const protocol_t | protlib::prot_query_encap = 255 |
const protocol_t | protlib::prot_tcp = IPPROTO_TCP |
const protocol_t | protlib::prot_udp = IPPROTO_UDP |
const protocol_t | protlib::prot_sctp = IPPROTO_SCTP |
This file contains various typedefs ----------------------------------------------------------
Definition in file protlib_types.h.