ip6_ecn.h revision 55009
155009Sshin/*
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 *
2955009Sshin * $Id: ip_ecn.h,v 1.2 1999/08/19 12:57:44 itojun Exp $
3055009Sshin * $FreeBSD: head/sys/netinet6/ip6_ecn.h 55009 1999-12-22 19:13:38Z shin $
3155009Sshin */
3255009Sshin/*
3355009Sshin * ECN consideration on tunnel ingress/egress operation.
3455009Sshin * http://www.aciri.org/floyd/papers/draft-ipsec-ecn-00.txt
3555009Sshin */
3655009Sshin
3755009Sshin#if defined(KERNEL) || defined(_KERNEL)
3855009Sshinextern void ip6_ecn_ingress __P((int, u_int32_t *, u_int32_t *));
3955009Sshinextern void ip6_ecn_egress __P((int, u_int32_t *, u_int32_t *));
4055009Sshin#endif
4155009Sshin
4255009Sshin
4355009Sshin
44