Deleted Added
full compact
ip_auth.h (60850) ip_auth.h (67614)
1/*
2 * Copyright (C) 1997-2000 by Darren Reed & Guido Van Rooij.
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 * $Id: ip_auth.h,v 2.1 1999/08/04 17:29:54 darrenr Exp $
1/*
2 * Copyright (C) 1997-2000 by Darren Reed & Guido Van Rooij.
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 * $Id: ip_auth.h,v 2.1 1999/08/04 17:29:54 darrenr Exp $
9 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_auth.h 60850 2000-05-24 03:17:16Z darrenr $
9 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_auth.h 67614 2000-10-26 12:33:42Z darrenr $
10 *
11 */
12#ifndef __IP_AUTH_H__
13#define __IP_AUTH_H__
14
15#define FR_NUMAUTH 32
16
17typedef struct frauth {

--- 24 unchanged lines hidden (view full) ---

42 u_long fas_expire;
43 frauthent_t *fas_faelist;
44} fr_authstat_t;
45
46
47extern frentry_t *ipauth;
48extern struct fr_authstat fr_authstats;
49extern int fr_defaultauthage;
10 *
11 */
12#ifndef __IP_AUTH_H__
13#define __IP_AUTH_H__
14
15#define FR_NUMAUTH 32
16
17typedef struct frauth {

--- 24 unchanged lines hidden (view full) ---

42 u_long fas_expire;
43 frauthent_t *fas_faelist;
44} fr_authstat_t;
45
46
47extern frentry_t *ipauth;
48extern struct fr_authstat fr_authstats;
49extern int fr_defaultauthage;
50extern int fr_authstart;
51extern int fr_authend;
52extern int fr_authsize;
53extern int fr_authused;
54extern int fr_auth_lock;
55extern u_32_t fr_checkauth __P((ip_t *, fr_info_t *));
56extern void fr_authexpire __P((void));
57extern void fr_authunload __P((void));
58extern mb_t *fr_authpkts[];
59extern int fr_newauth __P((mb_t *, fr_info_t *, ip_t *));
60#if defined(__NetBSD__) || defined(__OpenBSD__)
61extern int fr_auth_ioctl __P((caddr_t, u_long, frentry_t *, frentry_t **));
62#else
63extern int fr_auth_ioctl __P((caddr_t, int, frentry_t *, frentry_t **));
64#endif
65#endif /* __IP_AUTH_H__ */
50extern int fr_authsize;
51extern int fr_authused;
52extern int fr_auth_lock;
53extern u_32_t fr_checkauth __P((ip_t *, fr_info_t *));
54extern void fr_authexpire __P((void));
55extern void fr_authunload __P((void));
56extern mb_t *fr_authpkts[];
57extern int fr_newauth __P((mb_t *, fr_info_t *, ip_t *));
58#if defined(__NetBSD__) || defined(__OpenBSD__)
59extern int fr_auth_ioctl __P((caddr_t, u_long, frentry_t *, frentry_t **));
60#else
61extern int fr_auth_ioctl __P((caddr_t, int, frentry_t *, frentry_t **));
62#endif
63#endif /* __IP_AUTH_H__ */