1139826Simp/*-
255009Sshin * Copyright (C) 1999 WIDE Project.
355009Sshin * All rights reserved.
455009Sshin *
555009Sshin * Redistribution and use in source and binary forms, with or without
655009Sshin * modification, are permitted provided that the following conditions
755009Sshin * are met:
855009Sshin * 1. Redistributions of source code must retain the above copyright
955009Sshin *    notice, this list of conditions and the following disclaimer.
1055009Sshin * 2. Redistributions in binary form must reproduce the above copyright
1155009Sshin *    notice, this list of conditions and the following disclaimer in the
1255009Sshin *    documentation and/or other materials provided with the distribution.
1355009Sshin * 3. Neither the name of the project nor the names of its contributors
1455009Sshin *    may be used to endorse or promote products derived from this software
1555009Sshin *    without specific prior written permission.
1655009Sshin *
1755009Sshin * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
1855009Sshin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1955009Sshin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2055009Sshin * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
2155009Sshin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2255009Sshin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2355009Sshin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2455009Sshin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2555009Sshin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2655009Sshin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2755009Sshin * SUCH DAMAGE.
2855009Sshin *
29174510Sobrien *	$KAME: ip_ecn.h,v 1.5 2000/03/27 04:58:38 sumikawa Exp $
30174510Sobrien * $FreeBSD$
3155009Sshin */
32174510Sobrien
3355009Sshin/*
3455009Sshin * ECN consideration on tunnel ingress/egress operation.
3555009Sshin * http://www.aciri.org/floyd/papers/draft-ipsec-ecn-00.txt
3655009Sshin */
3755009Sshin
3855205Speter#ifdef _KERNEL
39121684Sumeextern void ip6_ecn_ingress(int, u_int32_t *, const u_int32_t *);
40121684Sumeextern int ip6_ecn_egress(int, const u_int32_t *, u_int32_t *);
4155009Sshin#endif
42