xref: /netbsd/usr.sbin/inetd/ipsec.h (revision 2172e2da)
1*2172e2daSrillig /*	$NetBSD: ipsec.h,v 1.3 2021/08/30 17:32:23 rillig Exp $	*/
24b061adfSitojun 
34b061adfSitojun /*
44b061adfSitojun  * Copyright (C) 1999 WIDE Project.
54b061adfSitojun  * All rights reserved.
64b061adfSitojun  *
74b061adfSitojun  * Redistribution and use in source and binary forms, with or without
84b061adfSitojun  * modification, are permitted provided that the following conditions
94b061adfSitojun  * are met:
104b061adfSitojun  * 1. Redistributions of source code must retain the above copyright
114b061adfSitojun  *    notice, this list of conditions and the following disclaimer.
124b061adfSitojun  * 2. Redistributions in binary form must reproduce the above copyright
134b061adfSitojun  *    notice, this list of conditions and the following disclaimer in the
144b061adfSitojun  *    documentation and/or other materials provided with the distribution.
154b061adfSitojun  * 3. Neither the name of the project nor the names of its contributors
164b061adfSitojun  *    may be used to endorse or promote products derived from this software
174b061adfSitojun  *    without specific prior written permission.
184b061adfSitojun  *
194b061adfSitojun  * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
204b061adfSitojun  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
214b061adfSitojun  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
224b061adfSitojun  * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
234b061adfSitojun  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
244b061adfSitojun  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
254b061adfSitojun  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
264b061adfSitojun  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
274b061adfSitojun  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
284b061adfSitojun  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
294b061adfSitojun  * SUCH DAMAGE.
304b061adfSitojun  */
314b061adfSitojun 
32d6aaec91Ssevan extern int ipsecsetup(int, int, const char *);
33d6aaec91Ssevan extern int ipsecsetup_test(const char *);
34d6aaec91Ssevan extern int ipsecsetup0(int, int, const char *, int);
35