ipsec_strerror.c (84208) | ipsec_strerror.c (171135) |
---|---|
1/* $KAME: ipsec_strerror.c,v 1.7 2000/07/30 00:45:12 itojun Exp $ */ 2 3/* 4 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 16 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> | 1/* $KAME: ipsec_strerror.c,v 1.7 2000/07/30 00:45:12 itojun Exp $ */ 2 3/* 4 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 16 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/lib/libipsec/ipsec_strerror.c 84208 2001-09-30 21:43:45Z dillon $"); | 33__FBSDID("$FreeBSD: head/lib/libipsec/ipsec_strerror.c 171135 2007-07-01 12:08:08Z gnn $"); |
34 35#include <sys/types.h> 36#include <sys/param.h> 37 38#include <string.h> | 34 35#include <sys/types.h> 36#include <sys/param.h> 37 38#include <string.h> |
39#include <netinet6/ipsec.h> | 39#include <netipsec/ipsec.h> |
40 41#include "ipsec_strerror.h" 42 43int __ipsec_errcode; 44 45static const char *ipsec_errlist[] = { 46"Success", /*EIPSEC_NO_ERROR*/ 47"Not supported", /*EIPSEC_NOT_SUPPORTED*/ --- 43 unchanged lines hidden --- | 40 41#include "ipsec_strerror.h" 42 43int __ipsec_errcode; 44 45static const char *ipsec_errlist[] = { 46"Success", /*EIPSEC_NO_ERROR*/ 47"Not supported", /*EIPSEC_NOT_SUPPORTED*/ --- 43 unchanged lines hidden --- |