ipsec.c (206111) | ipsec.c (207369) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ipsec.c 206111 2010-04-02 18:15:23Z eri $ */ | 1/* $FreeBSD: head/sys/netipsec/ipsec.c 207369 2010-04-29 11:52:42Z bz $ */ |
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 --- 87 unchanged lines hidden (view full) --- 97 98#include <opencrypto/cryptodev.h> 99 100#ifdef IPSEC_DEBUG 101VNET_DEFINE(int, ipsec_debug) = 1; 102#else 103VNET_DEFINE(int, ipsec_debug) = 0; 104#endif | 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 --- 87 unchanged lines hidden (view full) --- 97 98#include <opencrypto/cryptodev.h> 99 100#ifdef IPSEC_DEBUG 101VNET_DEFINE(int, ipsec_debug) = 1; 102#else 103VNET_DEFINE(int, ipsec_debug) = 0; 104#endif |
105 |
|
105/* NB: name changed so netstat doesn't use it. */ 106VNET_DEFINE(struct ipsecstat, ipsec4stat); 107VNET_DEFINE(int, ip4_ah_offsetmask) = 0; /* maybe IP_DF? */ 108/* DF bit on encap. 0: clear 1: set 2: copy */ 109VNET_DEFINE(int, ip4_ipsec_dfbit) = 0; 110VNET_DEFINE(int, ip4_esp_trans_deflev) = IPSEC_LEVEL_USE; 111VNET_DEFINE(int, ip4_esp_net_deflev) = IPSEC_LEVEL_USE; 112VNET_DEFINE(int, ip4_ah_trans_deflev) = IPSEC_LEVEL_USE; --- 1631 unchanged lines hidden --- | 106/* NB: name changed so netstat doesn't use it. */ 107VNET_DEFINE(struct ipsecstat, ipsec4stat); 108VNET_DEFINE(int, ip4_ah_offsetmask) = 0; /* maybe IP_DF? */ 109/* DF bit on encap. 0: clear 1: set 2: copy */ 110VNET_DEFINE(int, ip4_ipsec_dfbit) = 0; 111VNET_DEFINE(int, ip4_esp_trans_deflev) = IPSEC_LEVEL_USE; 112VNET_DEFINE(int, ip4_esp_net_deflev) = IPSEC_LEVEL_USE; 113VNET_DEFINE(int, ip4_ah_trans_deflev) = IPSEC_LEVEL_USE; --- 1631 unchanged lines hidden --- |