Deleted Added
full compact
esp_var.h (195699) esp_var.h (195727)
1/* $FreeBSD: head/sys/netipsec/esp_var.h 195699 2009-07-14 22:48:30Z rwatson $ */
1/* $FreeBSD: head/sys/netipsec/esp_var.h 195727 2009-07-16 21:13:04Z rwatson $ */
2/* $OpenBSD: ip_esp.h,v 1.37 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.

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

68 u_int32_t esps_pdrops; /* Packet blocked due to policy */
69 u_int32_t esps_crypto; /* Crypto processing failure */
70 u_int32_t esps_tunnel; /* Tunnel sanity check failure */
71 u_int32_t esps_hist[ESP_ALG_MAX]; /* Per-algorithm op count */
72};
73
74#ifdef _KERNEL
75VNET_DECLARE(int, esp_enable);
2/* $OpenBSD: ip_esp.h,v 1.37 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.

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

68 u_int32_t esps_pdrops; /* Packet blocked due to policy */
69 u_int32_t esps_crypto; /* Crypto processing failure */
70 u_int32_t esps_tunnel; /* Tunnel sanity check failure */
71 u_int32_t esps_hist[ESP_ALG_MAX]; /* Per-algorithm op count */
72};
73
74#ifdef _KERNEL
75VNET_DECLARE(int, esp_enable);
76#define V_esp_enable VNET_GET(esp_enable)
76#define V_esp_enable VNET(esp_enable)
77VNET_DECLARE(struct espstat, espstat);
77VNET_DECLARE(struct espstat, espstat);
78#define V_espstat VNET_GET(espstat)
78#define V_espstat VNET(espstat)
79#endif /* _KERNEL */
80#endif /*_NETIPSEC_ESP_VAR_H_*/
79#endif /* _KERNEL */
80#endif /*_NETIPSEC_ESP_VAR_H_*/