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