ah_var.h (195699) | ah_var.h (195727) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ah_var.h 195699 2009-07-14 22:48:30Z rwatson $ */ | 1/* $FreeBSD: head/sys/netipsec/ah_var.h 195727 2009-07-16 21:13:04Z rwatson $ */ |
2/* $OpenBSD: ip_ah.h,v 1.29 2002/06/09 16:26:10 itojun Exp $ */ 3/*- 4 * The authors of this code are John Ioannidis (ji@tla.org), 5 * Angelos D. Keromytis (kermit@csd.uch.gr) and 6 * Niels Provos (provos@physnet.uni-hamburg.de). 7 * 8 * The original version of this code was written by John Ioannidis 9 * for BSD/OS in Athens, Greece, in November 1995. --- 57 unchanged lines hidden (view full) --- 67 u_int32_t ahs_pdrops; /* Packet blocked due to policy */ 68 u_int32_t ahs_crypto; /* Crypto processing failure */ 69 u_int32_t ahs_tunnel; /* Tunnel sanity check failure */ 70 u_int32_t ahs_hist[AH_ALG_MAX]; /* Per-algorithm op count */ 71}; 72 73#ifdef _KERNEL 74VNET_DECLARE(int, ah_enable); | 2/* $OpenBSD: ip_ah.h,v 1.29 2002/06/09 16:26:10 itojun Exp $ */ 3/*- 4 * The authors of this code are John Ioannidis (ji@tla.org), 5 * Angelos D. Keromytis (kermit@csd.uch.gr) and 6 * Niels Provos (provos@physnet.uni-hamburg.de). 7 * 8 * The original version of this code was written by John Ioannidis 9 * for BSD/OS in Athens, Greece, in November 1995. --- 57 unchanged lines hidden (view full) --- 67 u_int32_t ahs_pdrops; /* Packet blocked due to policy */ 68 u_int32_t ahs_crypto; /* Crypto processing failure */ 69 u_int32_t ahs_tunnel; /* Tunnel sanity check failure */ 70 u_int32_t ahs_hist[AH_ALG_MAX]; /* Per-algorithm op count */ 71}; 72 73#ifdef _KERNEL 74VNET_DECLARE(int, ah_enable); |
75#define V_ah_enable VNET_GET(ah_enable) | 75#define V_ah_enable VNET(ah_enable) |
76VNET_DECLARE(int, ah_cleartos); | 76VNET_DECLARE(int, ah_cleartos); |
77#define V_ah_cleartos VNET_GET(ah_cleartos) | 77#define V_ah_cleartos VNET(ah_cleartos) |
78VNET_DECLARE(struct ahstat, ahstat); | 78VNET_DECLARE(struct ahstat, ahstat); |
79#define V_ahstat VNET_GET(ahstat) | 79#define V_ahstat VNET(ahstat) |
80#endif /* _KERNEL */ 81#endif /*_NETIPSEC_AH_VAR_H_*/ | 80#endif /* _KERNEL */ 81#endif /*_NETIPSEC_AH_VAR_H_*/ |