"Fossies" - the Fresh Open Source Software Archive

Member "tcpflow-1.6.1/src/netviz/packetfall.h" (19 Feb 2021, 436 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 "packetfall.h" see the Fossies "Dox" file reference documentation.

    1 /**
    2  * packetfall.h: 
    3  * Show packets received vs port
    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 PACKETFALL_H
   12 #define PACKETFALL_H
   13 
   14 #include "plot_view.h"
   15 
   16 class packetfall {
   17 public:
   18     packetfall() {}
   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