1 |
27 |
unneback |
//==========================================================================
|
2 |
|
|
//
|
3 |
|
|
// include/netinet6_in6_gif.h
|
4 |
|
|
//
|
5 |
|
|
//
|
6 |
|
|
//
|
7 |
|
|
//==========================================================================
|
8 |
|
|
//####BSDCOPYRIGHTBEGIN####
|
9 |
|
|
//
|
10 |
|
|
// -------------------------------------------
|
11 |
|
|
//
|
12 |
|
|
// Portions of this software may have been derived from OpenBSD or other sources,
|
13 |
|
|
// and are covered by the appropriate copyright disclaimers included herein.
|
14 |
|
|
//
|
15 |
|
|
// -------------------------------------------
|
16 |
|
|
//
|
17 |
|
|
//####BSDCOPYRIGHTEND####
|
18 |
|
|
//==========================================================================
|
19 |
|
|
//#####DESCRIPTIONBEGIN####
|
20 |
|
|
//
|
21 |
|
|
// Author(s): gthomas
|
22 |
|
|
// Contributors: gthomas
|
23 |
|
|
// Date: 2000-01-10
|
24 |
|
|
// Purpose:
|
25 |
|
|
// Description:
|
26 |
|
|
//
|
27 |
|
|
//
|
28 |
|
|
//####DESCRIPTIONEND####
|
29 |
|
|
//
|
30 |
|
|
//==========================================================================
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
/* $OpenBSD: in6_gif.h,v 1.1 1999/12/08 06:50:21 itojun Exp $ */
|
34 |
|
|
|
35 |
|
|
/*
|
36 |
|
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
37 |
|
|
* All rights reserved.
|
38 |
|
|
*
|
39 |
|
|
* Redistribution and use in source and binary forms, with or without
|
40 |
|
|
* modification, are permitted provided that the following conditions
|
41 |
|
|
* are met:
|
42 |
|
|
* 1. Redistributions of source code must retain the above copyright
|
43 |
|
|
* notice, this list of conditions and the following disclaimer.
|
44 |
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
45 |
|
|
* notice, this list of conditions and the following disclaimer in the
|
46 |
|
|
* documentation and/or other materials provided with the distribution.
|
47 |
|
|
* 3. Neither the name of the project nor the names of its contributors
|
48 |
|
|
* may be used to endorse or promote products derived from this software
|
49 |
|
|
* without specific prior written permission.
|
50 |
|
|
*
|
51 |
|
|
* THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
|
52 |
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
53 |
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
54 |
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
|
55 |
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
56 |
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
57 |
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
58 |
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
59 |
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
60 |
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
61 |
|
|
* SUCH DAMAGE.
|
62 |
|
|
*/
|
63 |
|
|
|
64 |
|
|
#ifndef _NETINET6_IN6_GIF_H_
|
65 |
|
|
#define _NETINET6_IN6_GIF_H_
|
66 |
|
|
|
67 |
|
|
#define GIF_HLIM 30
|
68 |
|
|
|
69 |
|
|
int in6_gif_input __P((struct mbuf **, int *, int));
|
70 |
|
|
int in6_gif_output __P((struct ifnet *, int, struct mbuf *, struct rtentry *));
|
71 |
|
|
|
72 |
|
|
#endif /*_NETINET6_IN6_GIF_H_*/
|