xref: /netbsd-src/external/bsd/ipf/dist/ipsd/ipsd.h (revision bc4097aacfdd9307c19b7947c13c6ad6982527a9)
1 /*	$NetBSD: ipsd.h,v 1.1.1.1 2012/03/23 21:20:06 christos Exp $	*/
2 
3 /*
4  * (C)opyright 1995-1998 Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * @(#)ipsd.h	1.3 12/3/95
9  */
10 
11 typedef	struct	{
12 	time_t	sh_date;
13 	struct	in_addr	sh_ip;
14 } sdhit_t;
15 
16 typedef	struct	{
17 	u_int	sd_sz;
18 	u_int	sd_cnt;
19 	u_short	sd_port;
20 	sdhit_t	*sd_hit;
21 } ipsd_t;
22 
23 typedef	struct	{
24 	struct	in_addr	ss_ip;
25 	int	ss_hits;
26 	u_long	ss_ports;
27 } ipss_t;
28 
29