Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / ipfilter / ipsd / ipsd.h
1 /*
2  * (C)opyright 1995-1998 Darren Reed.
3  *
4  * See the IPFILTER.LICENCE file for details on licencing.
5  *
6  *   The author of this software makes no garuntee about the
7  * performance of this package or its suitability to fulfill any purpose.
8  *
9  * @(#)ipsd.h   1.3 12/3/95
10  */
11
12 typedef struct  {
13         time_t  sh_date;
14         struct  in_addr sh_ip;
15 } sdhit_t;
16
17 typedef struct  {
18         u_int   sd_sz;
19         u_int   sd_cnt;
20         u_short sd_port;
21         sdhit_t *sd_hit;
22 } ipsd_t;
23
24 typedef struct  {
25         struct  in_addr ss_ip;
26         int     ss_hits;
27         u_long  ss_ports;
28 } ipss_t;
29