Deleted Added
full compact
ipsec.c (165222) ipsec.c (167755)
1/* $FreeBSD: head/sys/netipsec/ipsec.c 165222 2006-12-14 17:33:46Z bz $ */
1/* $FreeBSD: head/sys/netipsec/ipsec.c 167755 2007-03-21 03:42:51Z sam $ */
2/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

112int ip4_esp_randpad = -1;
113/*
114 * Crypto support requirements:
115 *
116 * 1 require hardware support
117 * -1 require software support
118 * 0 take anything
119 */
2/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

112int ip4_esp_randpad = -1;
113/*
114 * Crypto support requirements:
115 *
116 * 1 require hardware support
117 * -1 require software support
118 * 0 take anything
119 */
120int crypto_support = 0;
120int crypto_support = CRYPTOCAP_F_HARDWARE | CRYPTOCAP_F_SOFTWARE;
121
122SYSCTL_DECL(_net_inet_ipsec);
123
124/* net.inet.ipsec */
125SYSCTL_INT(_net_inet_ipsec, IPSECCTL_DEF_POLICY,
126 def_policy, CTLFLAG_RW, &ip4_def_policy.policy, 0, "");
127SYSCTL_INT(_net_inet_ipsec, IPSECCTL_DEF_ESP_TRANSLEV, esp_trans_deflev,
128 CTLFLAG_RW, &ip4_esp_trans_deflev, 0, "");

--- 1825 unchanged lines hidden ---
121
122SYSCTL_DECL(_net_inet_ipsec);
123
124/* net.inet.ipsec */
125SYSCTL_INT(_net_inet_ipsec, IPSECCTL_DEF_POLICY,
126 def_policy, CTLFLAG_RW, &ip4_def_policy.policy, 0, "");
127SYSCTL_INT(_net_inet_ipsec, IPSECCTL_DEF_ESP_TRANSLEV, esp_trans_deflev,
128 CTLFLAG_RW, &ip4_esp_trans_deflev, 0, "");

--- 1825 unchanged lines hidden ---