Deleted Added
full compact
ah_var.h (139823) ah_var.h (195699)
1/* $FreeBSD: head/sys/netipsec/ah_var.h 139823 2005-01-07 01:45:51Z imp $ */
1/* $FreeBSD: head/sys/netipsec/ah_var.h 195699 2009-07-14 22:48:30Z 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.

--- 56 unchanged lines hidden (view full) ---

66 u_int32_t ahs_toobig; /* Packet got larger than IP_MAXPACKET */
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
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.

--- 56 unchanged lines hidden (view full) ---

66 u_int32_t ahs_toobig; /* Packet got larger than IP_MAXPACKET */
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
74extern int ah_enable;
75extern int ah_cleartos;
76extern struct ahstat ahstat;
74VNET_DECLARE(int, ah_enable);
75#define V_ah_enable VNET_GET(ah_enable)
76VNET_DECLARE(int, ah_cleartos);
77#define V_ah_cleartos VNET_GET(ah_cleartos)
78VNET_DECLARE(struct ahstat, ahstat);
79#define V_ahstat VNET_GET(ahstat)
77#endif /* _KERNEL */
78#endif /*_NETIPSEC_AH_VAR_H_*/
80#endif /* _KERNEL */
81#endif /*_NETIPSEC_AH_VAR_H_*/