summaryrefslogtreecommitdiffstats
path: root/ipsd/ipsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipsd/ipsd.h')
-rw-r--r--ipsd/ipsd.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/ipsd/ipsd.h b/ipsd/ipsd.h
new file mode 100644
index 0000000..3726b84
--- /dev/null
+++ b/ipsd/ipsd.h
@@ -0,0 +1,26 @@
+/*
+ * (C)opyright 1995-1998 Darren Reed.
+ *
+ * See the IPFILTER.LICENCE file for details on licencing.
+ *
+ * @(#)ipsd.h 1.3 12/3/95
+ */
+
+typedef struct {
+ time_t sh_date;
+ struct in_addr sh_ip;
+} sdhit_t;
+
+typedef struct {
+ u_int sd_sz;
+ u_int sd_cnt;
+ u_short sd_port;
+ sdhit_t *sd_hit;
+} ipsd_t;
+
+typedef struct {
+ struct in_addr ss_ip;
+ int ss_hits;
+ u_long ss_ports;
+} ipss_t;
+
OpenPOWER on IntegriCloud