"Fossies" - the Fresh Open Source Software Archive

Member "tcpflow-1.6.1/src/netviz/net_map.h" (19 Feb 2021, 427 Bytes) of package /linux/misc/tcpflow-1.6.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "net_map.h" see the Fossies "Dox" file reference documentation.

    1 /**
    2  * net_map.h: 
    3  * Show map of network traffic by host
    4  *
    5  * This source file is public domain, as it is not based on the original tcpflow.
    6  *
    7  * Author: Michael Shick <mike@shick.in>
    8  *
    9  */
   10 
   11 #ifndef NET_MAP_H
   12 #define NET_MAP_H
   13 
   14 #include "plot_view.h"
   15 
   16 class net_map {
   17 public:
   18     net_map() {}
   19 
   20     void ingest_packet(const be13::packet_info &pi);
   21     void render(cairo_t *cr, const plot_view::bounds_t &bounds);
   22 };
   23 
   24 #endif