2004-03-28 13:00:53 +04:00
|
|
|
/* $NetBSD: ipsd.h,v 1.3 2004/03/28 09:00:55 martti Exp $ */
|
1999-12-12 01:23:57 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* (C)opyright 1995-1998 Darren Reed.
|
|
|
|
*
|
2002-01-24 11:18:28 +03:00
|
|
|
* See the IPFILTER.LICENCE file for details on licencing.
|
1999-12-12 01:23:57 +03:00
|
|
|
*
|
|
|
|
* @(#)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;
|
|
|
|
|