Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/netinet Pull up revision 1.5 (requested by darrenr):



details:   https://anonhg.NetBSD.org/src/rev/98026ac5dc60
branches:  netbsd-1-4
changeset: 469952:98026ac5dc60
user:      he <he%NetBSD.org@localhost>
date:      Mon Dec 20 21:08:01 1999 +0000

description:
Pull up revision 1.5 (requested by darrenr):
  Update IPF to version 3.3.5.

diffstat:

 sys/netinet/ip_auth.h |  31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diffs (66 lines):

diff -r 1efcad8830b4 -r 98026ac5dc60 sys/netinet/ip_auth.h
--- a/sys/netinet/ip_auth.h     Mon Dec 20 21:07:57 1999 +0000
+++ b/sys/netinet/ip_auth.h     Mon Dec 20 21:08:01 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_auth.h,v 1.4 1998/11/22 15:17:19 mrg Exp $  */
+/*     $NetBSD: ip_auth.h,v 1.4.4.1 1999/12/20 21:08:01 he Exp $       */
 
 /*
  * Copyright (C) 1997-1998 by Darren Reed & Guido Van Rooij.
@@ -7,7 +7,7 @@
  * provided that this notice is preserved and due credit is given
  * to the original author and the contributors.
  *
- * Id: ip_auth.h,v 2.0.2.10.2.1 1998/11/22 01:50:20 darrenr Exp 
+ * Id: ip_auth.h,v 2.1 1999/08/04 17:29:54 darrenr Exp
  *
  */
 
@@ -16,18 +16,6 @@
 
 #define FR_NUMAUTH      32
 
-typedef struct  fr_authstat {
-       U_QUAD_T        fas_hits;
-       U_QUAD_T        fas_miss;
-       u_long          fas_nospace;
-       u_long          fas_added;
-       u_long          fas_sendfail;
-       u_long          fas_sendok;
-       u_long          fas_queok;
-       u_long          fas_quefail;
-       u_long          fas_expire;
-} fr_authstat_t;
-
 typedef struct  frauth {
        int     fra_age;
        int     fra_index;
@@ -44,6 +32,19 @@
        u_long  fae_age;
 } frauthent_t;
 
+typedef struct  fr_authstat {
+       U_QUAD_T        fas_hits;
+       U_QUAD_T        fas_miss;
+       u_long          fas_nospace;
+       u_long          fas_added;
+       u_long          fas_sendfail;
+       u_long          fas_sendok;
+       u_long          fas_queok;
+       u_long          fas_quefail;
+       u_long          fas_expire;
+       frauthent_t     *fas_faelist;
+} fr_authstat_t;
+
 
 extern frentry_t       *ipauth;
 extern struct fr_authstat      fr_authstats;
@@ -52,7 +53,7 @@
 extern int     fr_authend;
 extern int     fr_authsize;
 extern int     fr_authused;
-extern int     fr_checkauth __P((ip_t *, fr_info_t *));
+extern u_32_t  fr_checkauth __P((ip_t *, fr_info_t *));
 extern void    fr_authexpire __P((void));
 extern void    fr_authunload __P((void));
 extern mb_t    *fr_authpkts[];



Home | Main Index | Thread Index | Old Index