tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

iptree.h File Reference
#include <stdint.h>
#include <algorithm>
#include <assert.h>
#include <iostream>
#include <iomanip>
Include dependency graph for iptree.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  iptreet< TYPE, ADDRBYTES >
 
class  iptreet< TYPE, ADDRBYTES >::node
 
class  iptreet< TYPE, ADDRBYTES >::node::best
 
class  iptreet< TYPE, ADDRBYTES >::cache_element
 
class  iptreet< TYPE, ADDRBYTES >::addr_elem
 
class  ip2tree
 

Macros

#define IP4_ADDR_LEN   4
 
#define IP6_ADDR_LEN   16
 

Typedefs

typedef iptreet< uint64_t, 16 > iptree
 

Functions

template<typename T , size_t ADDRBYTES>
std::ostream & operator<< (std::ostream &os, const iptreet< T, ADDRBYTES > &ipt)
 
std::ostream & operator<< (std::ostream &os, const ip2tree &ipt)
 

Macro Definition Documentation

◆ IP4_ADDR_LEN

#define IP4_ADDR_LEN   4

Definition at line 23 of file iptree.h.

◆ IP6_ADDR_LEN

#define IP6_ADDR_LEN   16

Definition at line 24 of file iptree.h.

Typedef Documentation

◆ iptree

typedef iptreet<uint64_t,16> iptree

Definition at line 580 of file iptree.h.

Function Documentation

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const ip2tree ipt 
)
inline

Definition at line 585 of file iptree.h.

References ip2tree::dump().

◆ operator<<() [2/2]

template<typename T , size_t ADDRBYTES>
std::ostream& operator<< ( std::ostream &  os,
const iptreet< T, ADDRBYTES > &  ipt 
)

Definition at line 581 of file iptree.h.

References iptreet< TYPE, ADDRBYTES >::dump().