4 * Copyright (C) 2012 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
9 * Id: ip_auth.h,v 2.16.2.2 2006/03/16 06:45:49 darrenr Exp $
17 typedef struct frauth {
31 typedef struct frauthent {
32 struct frentry fae_fr;
33 struct frauthent *fae_next;
34 struct frauthent **fae_pnext;
39 typedef struct ipf_authstat {
49 frauthent_t *fas_faelist;
53 extern frentry_t *ipf_auth_check __P((fr_info_t *, u_32_t *));
54 extern void ipf_auth_expire __P((ipf_main_softc_t *));
55 extern int ipf_auth_ioctl __P((ipf_main_softc_t *, caddr_t, ioctlcmd_t,
57 extern int ipf_auth_init __P((void));
58 extern int ipf_auth_main_load __P((void));
59 extern int ipf_auth_main_unload __P((void));
60 extern void ipf_auth_soft_destroy __P((ipf_main_softc_t *, void *));
61 extern void *ipf_auth_soft_create __P((ipf_main_softc_t *));
62 extern int ipf_auth_new __P((mb_t *, fr_info_t *));
63 extern int ipf_auth_precmd __P((ipf_main_softc_t *, ioctlcmd_t,
64 frentry_t *, frentry_t **));
65 extern void ipf_auth_unload __P((ipf_main_softc_t *));
66 extern int ipf_auth_waiting __P((ipf_main_softc_t *));
67 extern void ipf_auth_setlock __P((void *, int));
68 extern int ipf_auth_soft_init __P((ipf_main_softc_t *, void *));
69 extern int ipf_auth_soft_fini __P((ipf_main_softc_t *, void *));
70 extern u_32_t ipf_auth_pre_scanlist __P((ipf_main_softc_t *, fr_info_t *,
72 extern frentry_t **ipf_auth_rulehead __P((ipf_main_softc_t *));
74 #endif /* __IP_AUTH_H__ */