Deleted Added
full compact
ip_auth.h (80482) ip_auth.h (92685)
1/*
2 * Copyright (C) 1997-2001 by Darren Reed & Guido Van Rooij.
3 *
4 * See the IPFILTER.LICENCE file for details on licencing.
5 *
1/*
2 * Copyright (C) 1997-2001 by Darren Reed & Guido Van Rooij.
3 *
4 * See the IPFILTER.LICENCE file for details on licencing.
5 *
6 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_auth.h 80482 2001-07-28 11:58:26Z darrenr $
6 * $FreeBSD: head/sys/contrib/ipfilter/netinet/ip_auth.h 92685 2002-03-19 11:44:16Z darrenr $
7 *
8 */
9#ifndef __IP_AUTH_H__
10#define __IP_AUTH_H__
11
12#define FR_NUMAUTH 32
13
14typedef struct frauth {

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

47extern int fr_authsize;
48extern int fr_authused;
49extern int fr_auth_lock;
50extern u_32_t fr_checkauth __P((ip_t *, fr_info_t *));
51extern void fr_authexpire __P((void));
52extern void fr_authunload __P((void));
53extern mb_t *fr_authpkts[];
54extern int fr_newauth __P((mb_t *, fr_info_t *, ip_t *));
7 *
8 */
9#ifndef __IP_AUTH_H__
10#define __IP_AUTH_H__
11
12#define FR_NUMAUTH 32
13
14typedef struct frauth {

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

47extern int fr_authsize;
48extern int fr_authused;
49extern int fr_auth_lock;
50extern u_32_t fr_checkauth __P((ip_t *, fr_info_t *));
51extern void fr_authexpire __P((void));
52extern void fr_authunload __P((void));
53extern mb_t *fr_authpkts[];
54extern int fr_newauth __P((mb_t *, fr_info_t *, ip_t *));
55#if defined(__NetBSD__) || defined(__OpenBSD__)
55#if defined(__NetBSD__) || defined(__OpenBSD__) || \
56 (__FreeBSD_version >= 300003)
56extern int fr_auth_ioctl __P((caddr_t, int, u_long, frentry_t *, frentry_t **));
57#else
58extern int fr_auth_ioctl __P((caddr_t, int, int, frentry_t *, frentry_t **));
59#endif
60#endif /* __IP_AUTH_H__ */
57extern int fr_auth_ioctl __P((caddr_t, int, u_long, frentry_t *, frentry_t **));
58#else
59extern int fr_auth_ioctl __P((caddr_t, int, int, frentry_t *, frentry_t **));
60#endif
61#endif /* __IP_AUTH_H__ */