ipsd.h revision 31183
1/* 2 * (C)opyright 1995-1997 Darren Reed. 3 * 4 * Redistribution and use in source and binary forms are permitted 5 * provided that this notice is preserved and due credit is given 6 * to the original author and the contributors. 7 * 8 * The author of this software makes no garuntee about the 9 * performance of this package or its suitability to fulfill any purpose. 10 * 11 * @(#)ipsd.h 1.3 12/3/95 12 */ 13 14typedef struct { 15 time_t sh_date; 16 struct in_addr sh_ip; 17} sdhit_t; 18 19typedef struct { 20 u_int sd_sz; 21 u_int sd_cnt; 22 u_short sd_port; 23 sdhit_t *sd_hit; 24} ipsd_t; 25 26typedef struct { 27 struct in_addr ss_ip; 28 int ss_hits; 29 u_long ss_ports; 30} ipss_t; 31 32