The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/netinet/ip_auth.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: ip_auth.h,v 1.11 2004/03/28 09:00:56 martti Exp $      */
    2 
    3 /*
    4  * Copyright (C) 1997-2001 by Darren Reed & Guido Van Rooij.
    5  *
    6  * See the IPFILTER.LICENCE file for details on licencing.
    7  *
    8  * Id: ip_auth.h,v 2.16 2003/07/25 12:29:56 darrenr Exp
    9  *
   10  */
   11 #ifndef _NETINET_IP_AUTH_H_
   12 #define _NETINET_IP_AUTH_H_
   13 
   14 #define FR_NUMAUTH      32
   15 
   16 typedef struct  frauth {
   17         int     fra_age;
   18         int     fra_len;
   19         int     fra_index;
   20         u_32_t  fra_pass;
   21         fr_info_t       fra_info;
   22         char    *fra_buf;
   23 #ifdef  MENTAT
   24         queue_t *fra_q;
   25 #endif
   26 } frauth_t;
   27 
   28 typedef struct  frauthent  {
   29         struct  frentry fae_fr;
   30         struct  frauthent       *fae_next;
   31         u_long  fae_age;
   32 } frauthent_t;
   33 
   34 typedef struct  fr_authstat {
   35         U_QUAD_T        fas_hits;
   36         U_QUAD_T        fas_miss;
   37         u_long          fas_nospace;
   38         u_long          fas_added;
   39         u_long          fas_sendfail;
   40         u_long          fas_sendok;
   41         u_long          fas_queok;
   42         u_long          fas_quefail;
   43         u_long          fas_expire;
   44         frauthent_t     *fas_faelist;
   45 } fr_authstat_t;
   46 
   47 
   48 extern  frentry_t       *ipauth;
   49 extern  struct fr_authstat      fr_authstats;
   50 extern  int     fr_defaultauthage;
   51 extern  int     fr_authstart;
   52 extern  int     fr_authend;
   53 extern  int     fr_authsize;
   54 extern  int     fr_authused;
   55 extern  int     fr_auth_lock;
   56 extern  frentry_t *fr_checkauth __P((fr_info_t *, u_32_t *));
   57 extern  void    fr_authexpire __P((void));
   58 extern  int     fr_authinit __P((void));
   59 extern  void    fr_authunload __P((void));
   60 extern  int     fr_authflush __P((void));
   61 extern  mb_t    **fr_authpkts;
   62 extern  int     fr_newauth __P((mb_t *, fr_info_t *));
   63 extern  int     fr_preauthcmd __P((ioctlcmd_t, frentry_t *, frentry_t **));
   64 extern  int     fr_auth_ioctl __P((caddr_t, ioctlcmd_t, int));
   65 
   66 #endif  /* __IP_AUTH_H__ */

Cache object: 3d11b03d68a659e47cf00e09dad628e5


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.