xref: /freebsd/sys/netgraph/ng_gif_demux.h (revision c398230b64aea809cb7c5cea8db580af7097920c)
194408d94SBrooks Davis /*
294408d94SBrooks Davis  * ng_gif_demux.h
3c398230bSWarner Losh  */
4c398230bSWarner Losh 
5c398230bSWarner Losh /*-
694408d94SBrooks Davis  * Copyright 2001 The Aerospace Corporation.  All rights reserved.
794408d94SBrooks Davis  *
894408d94SBrooks Davis  * Redistribution and use in source and binary forms, with or without
994408d94SBrooks Davis  * modification, are permitted provided that the following conditions
1094408d94SBrooks Davis  * are met:
11cf776d81SBrooks Davis  *
1294408d94SBrooks Davis  * 1. Redistributions of source code must retain the above copyright
13cf776d81SBrooks Davis  *    notice, this list of conditions, and the following disclaimer.
1494408d94SBrooks Davis  * 2. Redistributions in binary form must reproduce the above copyright
15cf776d81SBrooks Davis  *    notice, this list of conditions, and the following disclaimer in the
1694408d94SBrooks Davis  *    documentation and/or other materials provided with the distribution.
17cf776d81SBrooks Davis  * 3. The name of The Aerospace Corporation may not be used to endorse or
18cf776d81SBrooks Davis  *    promote products derived from this software.
1994408d94SBrooks Davis  *
2094408d94SBrooks Davis  * THIS SOFTWARE IS PROVIDED BY THE AEROSPACE CORPORATION ``AS IS'' AND
2194408d94SBrooks Davis  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2294408d94SBrooks Davis  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2394408d94SBrooks Davis  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AEROSPACE CORPORATION BE LIABLE
2494408d94SBrooks Davis  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2594408d94SBrooks Davis  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2694408d94SBrooks Davis  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2794408d94SBrooks Davis  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2894408d94SBrooks Davis  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2994408d94SBrooks Davis  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3094408d94SBrooks Davis  * SUCH DAMAGE.
3194408d94SBrooks Davis  *
3294408d94SBrooks Davis  * $FreeBSD$
3394408d94SBrooks Davis  */
3494408d94SBrooks Davis 
3594408d94SBrooks Davis #ifndef _NETGRAPH_NG_GIF_DEMUX_H_
3694408d94SBrooks Davis #define _NETGRAPH_NG_GIF_DEMUX_H_
3794408d94SBrooks Davis 
3894408d94SBrooks Davis /* Node type name and magic cookie */
3994408d94SBrooks Davis #define NG_GIF_DEMUX_NODE_TYPE		"gif_demux"
4094408d94SBrooks Davis #define NGM_GIF_DEMUX_COOKIE		995567329
4194408d94SBrooks Davis 
4294408d94SBrooks Davis /* Hook names */
4394408d94SBrooks Davis #define NG_GIF_DEMUX_HOOK_GIF		"gif"
4494408d94SBrooks Davis #define NG_GIF_DEMUX_HOOK_INET		"inet"
4594408d94SBrooks Davis #define NG_GIF_DEMUX_HOOK_INET6		"inet6"
4694408d94SBrooks Davis #define NG_GIF_DEMUX_HOOK_ATALK		"atalk"
4794408d94SBrooks Davis #define NG_GIF_DEMUX_HOOK_IPX		"ipx"
4894408d94SBrooks Davis #define NG_GIF_DEMUX_HOOK_ATM		"atm"
4994408d94SBrooks Davis #define NG_GIF_DEMUX_HOOK_NATM		"natm"
5094408d94SBrooks Davis 
5194408d94SBrooks Davis #endif /* _NETGRAPH_NG_GIF_DEMUX_H_ */
52