projects
/
darkstat-debian
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull in darkstat-3.0.718
[darkstat-debian]
/
hosts_db.h
diff --git
a/hosts_db.h
b/hosts_db.h
index
f2f389a
..
109f373
100644
(file)
--- a/
hosts_db.h
+++ b/
hosts_db.h
@@
-1,5
+1,5
@@
/* darkstat 3
/* darkstat 3
- * copyright (c) 2001-201
1
Emil Mikulic.
+ * copyright (c) 2001-201
4
Emil Mikulic.
*
* hosts_db.h: database of hosts, ports, protocols.
*
*
* hosts_db.h: database of hosts, ports, protocols.
*
@@
-9,7
+9,7
@@
#ifndef __DARKSTAT_HOSTS_DB_H
#define __DARKSTAT_HOSTS_DB_H
#ifndef __DARKSTAT_HOSTS_DB_H
#define __DARKSTAT_HOSTS_DB_H
-#include <sys/types.h> /* for
time_t and uint64_t (esp on FreeBSD)
*/
+#include <sys/types.h> /* for
uint64_t
*/
#include "addr.h"
#include "addr.h"
@@
-19,7
+19,7
@@
struct host {
struct addr addr;
char *dns;
uint8_t mac_addr[6];
struct addr addr;
char *dns;
uint8_t mac_addr[6];
- time_t last
seen
;
+ time_t last
_seen_mono
;
struct hashtable *ports_tcp, *ports_udp, *ip_protos;
};
struct hashtable *ports_tcp, *ports_udp, *ip_protos;
};