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

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

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

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

67 u_int32_t esps_toobig; /* Packet got larger than IP_MAXPACKET */
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
75extern int esp_enable;
76extern struct espstat espstat;
75VNET_DECLARE(int, esp_enable);
76#define V_esp_enable VNET_GET(esp_enable)
77VNET_DECLARE(struct espstat, espstat);
78#define V_espstat VNET_GET(espstat)
77#endif /* _KERNEL */
78#endif /*_NETIPSEC_ESP_VAR_H_*/
79#endif /* _KERNEL */
80#endif /*_NETIPSEC_ESP_VAR_H_*/