2 * Copyright (C) 1997-1998 by Darren Reed & Guido Van Rooij.
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.
8 * $Id: ip_auth.h,v 2.1 1999/08/04 17:29:54 darrenr Exp $
17 typedef struct frauth {
27 typedef struct frauthent {
28 struct frentry fae_fr;
29 struct frauthent *fae_next;
33 typedef struct fr_authstat {
43 frauthent_t *fas_faelist;
47 extern frentry_t *ipauth;
48 extern struct fr_authstat fr_authstats;
49 extern int fr_defaultauthage;
50 extern int fr_authstart;
51 extern int fr_authend;
52 extern int fr_authsize;
53 extern int fr_authused;
54 extern u_32_t fr_checkauth __P((ip_t *, fr_info_t *));
55 extern void fr_authexpire __P((void));
56 extern void fr_authunload __P((void));
57 extern mb_t *fr_authpkts[];
58 #if defined(_KERNEL) && SOLARIS
59 extern int fr_newauth __P((mb_t *, fr_info_t *, ip_t *, qif_t *));
61 extern int fr_newauth __P((mb_t *, fr_info_t *, ip_t *));
63 #if defined(__NetBSD__) || defined(__OpenBSD__)
64 extern int fr_auth_ioctl __P((caddr_t, u_long, frentry_t *, frentry_t **));
66 extern int fr_auth_ioctl __P((caddr_t, int, frentry_t *, frentry_t **));
68 #endif /* __IP_AUTH_H__ */