34 lines
707 B
C
34 lines
707 B
C
|
/* $NetBSD: ipsd.h,v 1.1.1.1 1999/12/11 22:24:07 veego Exp $ */
|
||
|
|
||
|
/*
|
||
|
* (C)opyright 1995-1998 Darren Reed.
|
||
|
*
|
||
|
* Redistribution and use in source and binary forms are permitted
|
||
|
* provided that this notice is preserved and due credit is given
|
||
|
* to the original author and the contributors.
|
||
|
*
|
||
|
* The author of this software makes no garuntee about the
|
||
|
* performance of this package or its suitability to fulfill any purpose.
|
||
|
*
|
||
|
* @(#)ipsd.h 1.3 12/3/95
|
||
|
*/
|
||
|
|
||
|
typedef struct {
|
||
|
time_t sh_date;
|
||
|
struct in_addr sh_ip;
|
||
|
} sdhit_t;
|
||
|
|
||
|
typedef struct {
|
||
|
u_int sd_sz;
|
||
|
u_int sd_cnt;
|
||
|
u_short sd_port;
|
||
|
sdhit_t *sd_hit;
|
||
|
} ipsd_t;
|
||
|
|
||
|
typedef struct {
|
||
|
struct in_addr ss_ip;
|
||
|
int ss_hits;
|
||
|
u_long ss_ports;
|
||
|
} ipss_t;
|
||
|
|