Deleted Added
full compact
xform_esp.c (197674) xform_esp.c (207369)
1/* $FreeBSD: head/sys/netipsec/xform_esp.c 197674 2009-10-01 15:33:53Z vanhu $ */
1/* $FreeBSD: head/sys/netipsec/xform_esp.c 207369 2010-04-29 11:52:42Z bz $ */
2/* $OpenBSD: ip_esp.c,v 1.69 2001/06/26 06:18:59 angelos 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.

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

80VNET_DEFINE(struct espstat, espstat);
81
82SYSCTL_DECL(_net_inet_esp);
83SYSCTL_VNET_INT(_net_inet_esp, OID_AUTO,
84 esp_enable, CTLFLAG_RW, &VNET_NAME(esp_enable), 0, "");
85SYSCTL_VNET_STRUCT(_net_inet_esp, IPSECCTL_STATS,
86 stats, CTLFLAG_RD, &VNET_NAME(espstat), espstat, "");
87
2/* $OpenBSD: ip_esp.c,v 1.69 2001/06/26 06:18:59 angelos 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.

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

80VNET_DEFINE(struct espstat, espstat);
81
82SYSCTL_DECL(_net_inet_esp);
83SYSCTL_VNET_INT(_net_inet_esp, OID_AUTO,
84 esp_enable, CTLFLAG_RW, &VNET_NAME(esp_enable), 0, "");
85SYSCTL_VNET_STRUCT(_net_inet_esp, IPSECCTL_STATS,
86 stats, CTLFLAG_RD, &VNET_NAME(espstat), espstat, "");
87
88/* max iv length over all algorithms */
89static VNET_DEFINE(int, esp_max_ivlen) = 0;
88static VNET_DEFINE(int, esp_max_ivlen); /* max iv length over all algorithms */
90#define V_esp_max_ivlen VNET(esp_max_ivlen)
91
92static int esp_input_cb(struct cryptop *op);
93static int esp_output_cb(struct cryptop *crp);
94
95/*
96 * NB: this is public for use by the PF_KEY support.
97 * NB: if you add support here; be sure to add code to esp_attach below!

--- 913 unchanged lines hidden ---
89#define V_esp_max_ivlen VNET(esp_max_ivlen)
90
91static int esp_input_cb(struct cryptop *op);
92static int esp_output_cb(struct cryptop *crp);
93
94/*
95 * NB: this is public for use by the PF_KEY support.
96 * NB: if you add support here; be sure to add code to esp_attach below!

--- 913 unchanged lines hidden ---