003 File Manager
Current Path:
/usr/src/sys/contrib/ipfilter/netinet
usr
/
src
/
sys
/
contrib
/
ipfilter
/
netinet
/
📁
..
📄
IPFILTER.LICENCE
(1.41 KB)
📄
fil.c
(317.13 KB)
📄
ip_auth.c
(36.11 KB)
📄
ip_auth.h
(2.4 KB)
📄
ip_compat.h
(30.71 KB)
📄
ip_dns_pxy.c
(8.11 KB)
📄
ip_dstlist.c
(43.85 KB)
📄
ip_dstlist.h
(1.43 KB)
📄
ip_fil.h
(54.87 KB)
📄
ip_fil_freebsd.c
(31.55 KB)
📄
ip_frag.c
(43.2 KB)
📄
ip_frag.h
(3.5 KB)
📄
ip_ftp_pxy.c
(50.12 KB)
📄
ip_htable.c
(43.72 KB)
📄
ip_htable.h
(2.04 KB)
📄
ip_ipsec_pxy.c
(10.34 KB)
📄
ip_irc_pxy.c
(8.19 KB)
📄
ip_log.c
(25.82 KB)
📄
ip_lookup.c
(30.94 KB)
📄
ip_lookup.h
(4.61 KB)
📄
ip_nat.c
(248.84 KB)
📄
ip_nat.h
(23.04 KB)
📄
ip_nat6.c
(116.43 KB)
📄
ip_netbios_pxy.c
(3.22 KB)
📄
ip_pool.c
(46.01 KB)
📄
ip_pool.h
(1.34 KB)
📄
ip_pptp_pxy.c
(13.77 KB)
📄
ip_proxy.c
(44.36 KB)
📄
ip_proxy.h
(11.53 KB)
📄
ip_raudio_pxy.c
(7.65 KB)
📄
ip_rcmd_pxy.c
(7.04 KB)
📄
ip_rpcb_pxy.c
(39.93 KB)
📄
ip_rules.c
(6.29 KB)
📄
ip_rules.h
(470 B)
📄
ip_scan.c
(11.06 KB)
📄
ip_scan.h
(2.56 KB)
📄
ip_state.c
(161.15 KB)
📄
ip_state.h
(9.55 KB)
📄
ip_sync.c
(43.47 KB)
📄
ip_sync.h
(3.46 KB)
📄
ip_tftp_pxy.c
(10.57 KB)
📄
ipf_rb.h
(10.37 KB)
📄
ipl.h
(360 B)
📄
mlfk_ipl.c
(15.57 KB)
📄
radix_ipf.c
(41.94 KB)
📄
radix_ipf.h
(2.63 KB)
Editing: ip_auth.h
/* $FreeBSD$ */ /* * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. * * $FreeBSD$ * Id: ip_auth.h,v 2.16.2.2 2006/03/16 06:45:49 darrenr Exp $ * */ #ifndef __IP_AUTH_H__ #define __IP_AUTH_H__ #define FR_NUMAUTH 32 typedef struct frauth { int fra_age; int fra_len; int fra_index; u_32_t fra_pass; fr_info_t fra_info; char *fra_buf; u_32_t fra_flx; #ifdef MENTAT queue_t *fra_q; mb_t *fra_m; #endif } frauth_t; typedef struct frauthent { struct frentry fae_fr; struct frauthent *fae_next; struct frauthent **fae_pnext; u_long fae_age; int fae_ref; } frauthent_t; typedef struct ipf_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; } ipf_authstat_t; typedef struct ipf_auth_softc_s { ipfrwlock_t ipf_authlk; ipfmutex_t ipf_auth_mx; int ipf_auth_size; int ipf_auth_used; int ipf_auth_replies; int ipf_auth_defaultage; int ipf_auth_lock; ipf_authstat_t ipf_auth_stats; frauth_t *ipf_auth; mb_t **ipf_auth_pkts; int ipf_auth_start; int ipf_auth_end; int ipf_auth_next; frauthent_t *ipf_auth_entries; frentry_t *ipf_auth_ip; frentry_t *ipf_auth_rules; } ipf_auth_softc_t; extern frentry_t *ipf_auth_check __P((fr_info_t *, u_32_t *)); extern void ipf_auth_expire __P((ipf_main_softc_t *)); extern int ipf_auth_ioctl __P((ipf_main_softc_t *, caddr_t, ioctlcmd_t, int, int, void *)); extern int ipf_auth_init __P((void)); extern int ipf_auth_main_load __P((void)); extern int ipf_auth_main_unload __P((void)); extern void ipf_auth_soft_destroy __P((ipf_main_softc_t *, void *)); extern void *ipf_auth_soft_create __P((ipf_main_softc_t *)); extern int ipf_auth_new __P((mb_t *, fr_info_t *)); extern int ipf_auth_precmd __P((ipf_main_softc_t *, ioctlcmd_t, frentry_t *, frentry_t **)); extern void ipf_auth_unload __P((ipf_main_softc_t *)); extern int ipf_auth_waiting __P((ipf_main_softc_t *)); extern void ipf_auth_setlock __P((void *, int)); extern int ipf_auth_soft_init __P((ipf_main_softc_t *, void *)); extern int ipf_auth_soft_fini __P((ipf_main_softc_t *, void *)); extern u_32_t ipf_auth_pre_scanlist __P((ipf_main_softc_t *, fr_info_t *, u_32_t)); extern frentry_t **ipf_auth_rulehead __P((ipf_main_softc_t *)); #endif /* __IP_AUTH_H__ */
Upload File
Create Folder