Deleted Added
full compact
ah_var.h (195727) ah_var.h (207369)
1/* $FreeBSD: head/sys/netipsec/ah_var.h 195727 2009-07-16 21:13:04Z rwatson $ */
1/* $FreeBSD: head/sys/netipsec/ah_var.h 207369 2010-04-29 11:52:42Z bz $ */
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(ah_enable)
76VNET_DECLARE(int, ah_cleartos);
75VNET_DECLARE(int, ah_cleartos);
77#define V_ah_cleartos VNET(ah_cleartos)
78VNET_DECLARE(struct ahstat, ahstat);
76VNET_DECLARE(struct ahstat, ahstat);
77
78#define V_ah_enable VNET(ah_enable)
79#define V_ah_cleartos VNET(ah_cleartos)
79#define V_ahstat VNET(ahstat)
80#endif /* _KERNEL */
81#endif /*_NETIPSEC_AH_VAR_H_*/
80#define V_ahstat VNET(ahstat)
81#endif /* _KERNEL */
82#endif /*_NETIPSEC_AH_VAR_H_*/