test-policy.c (84208) | test-policy.c (92917) |
---|---|
1/* $KAME: test-policy.c,v 1.14 2000/12/27 11:38:11 sakane 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: test-policy.c,v 1.14 2000/12/27 11:38:11 sakane 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/test-policy.c 84208 2001-09-30 21:43:45Z dillon $"); | 33__FBSDID("$FreeBSD: head/lib/libipsec/test-policy.c 92917 2002-03-21 23:54:04Z obrien $"); |
34 35#include <sys/types.h> 36#include <sys/param.h> 37#include <sys/socket.h> 38 39#include <netinet/in.h> 40#include <net/pfkeyv2.h> 41#include <netkey/key_debug.h> --- 39 unchanged lines hidden (view full) --- 81{ 0, "out ipsec 82 ah/transport/::1-::2 esp/tunnel/::3-::4/use ah/transport/::5-::6/require 83 ah/transport/::1-::2 esp/tunnel/::3-::4/use ah/transport/::5-::6/require 84 ah/transport/::1-::2 esp/tunnel/::3-::4/use ah/transport/::5-::6/require 85 " }, 86{ 0, "out ipsec esp/transport/fec0::10-fec0::11/use" }, 87}; 88 | 34 35#include <sys/types.h> 36#include <sys/param.h> 37#include <sys/socket.h> 38 39#include <netinet/in.h> 40#include <net/pfkeyv2.h> 41#include <netkey/key_debug.h> --- 39 unchanged lines hidden (view full) --- 81{ 0, "out ipsec 82 ah/transport/::1-::2 esp/tunnel/::3-::4/use ah/transport/::5-::6/require 83 ah/transport/::1-::2 esp/tunnel/::3-::4/use ah/transport/::5-::6/require 84 ah/transport/::1-::2 esp/tunnel/::3-::4/use ah/transport/::5-::6/require 85 " }, 86{ 0, "out ipsec esp/transport/fec0::10-fec0::11/use" }, 87}; 88 |
89int test1 __P((void)); 90int test1sub1 __P((struct req_t *)); 91int test1sub2 __P((char *, int)); 92int test2 __P((void)); 93int test2sub __P((int)); | 89int test1(void); 90int test1sub1(struct req_t *); 91int test1sub2(char *, int); 92int test2(void); 93int test2sub(int); |
94 95int 96main(ac, av) 97 int ac; 98 char **av; 99{ 100 test1(); 101 test2(); --- 235 unchanged lines hidden --- | 94 95int 96main(ac, av) 97 int ac; 98 char **av; 99{ 100 test1(); 101 test2(); --- 235 unchanged lines hidden --- |