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