3e483deed2
probe that shows the network usage, similar to what the popular top Unix command does. ntopng is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform, MacOSX and on Windows as well. ntopng users can use a a web browser to navigate through ntop (that acts as a web server) traffic information and get a dump of the network status. In the latter case, ntopng can be seen as a simple RMON-like agent with an embedded web interface. The use of: * a web interface. * limited configuration and administration via the web interface. * reduced CPU and memory usage (they vary according to network size and traffic)
15 lines
408 B
C
15 lines
408 B
C
$NetBSD: patch-include_ntop__includes.h,v 1.1 2016/04/08 16:59:07 adam Exp $
|
|
|
|
Add NetBSD support.
|
|
|
|
--- include/ntop_includes.h.orig 2016-04-04 12:57:38.000000000 +0000
|
|
+++ include/ntop_includes.h
|
|
@@ -43,7 +43,7 @@
|
|
#include <arpa/inet.h>
|
|
#include <poll.h>
|
|
|
|
-#if defined(__OpenBSD__)
|
|
+#if defined(__NetBSD__) || defined(__OpenBSD__)
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|