ipsd.h revision 53024
1139826Simp/* 2191672Sbms * (C)opyright 1995-1998 Darren Reed. 353541Sshin * 453541Sshin * Redistribution and use in source and binary forms are permitted 553541Sshin * provided that this notice is preserved and due credit is given 653541Sshin * to the original author and the contributors. 753541Sshin * 853541Sshin * The author of this software makes no garuntee about the 953541Sshin * performance of this package or its suitability to fulfill any purpose. 1053541Sshin * 1153541Sshin * @(#)ipsd.h 1.3 12/3/95 12191672Sbms */ 13191672Sbms 14191672Sbmstypedef struct { 1553541Sshin time_t sh_date; 16191672Sbms struct in_addr sh_ip; 1753541Sshin} sdhit_t; 1853541Sshin 19191672Sbmstypedef struct { 2053541Sshin u_int sd_sz; 2153541Sshin u_int sd_cnt; 2253541Sshin u_short sd_port; 2353541Sshin sdhit_t *sd_hit; 2453541Sshin} ipsd_t; 2553541Sshin 2653541Sshintypedef struct { 27174510Sobrien struct in_addr ss_ip; 28174510Sobrien int ss_hits; 2953541Sshin u_long ss_ports; 3053541Sshin} ipss_t; 3162587Sitojun 3253541Sshin