xref: /freebsd/sys/netgraph/ng_gif_demux.h (revision 3c6b084e9675f9c4f3e9765b9d4b48ff0493d0d1)
1 /*
2  * ng_gif_demux.h
3  *
4  * Copyright 2001 The Aerospace Corporation.  All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions
8  * are met:
9  *
10  * 1. Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions, and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions, and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  * 3. The name of The Aerospace Corporation may not be used to endorse or
16  *    promote products derived from this software.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE AEROSPACE CORPORATION ``AS IS'' AND
19  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AEROSPACE CORPORATION BE LIABLE
22  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28  * SUCH DAMAGE.
29  *
30  * $FreeBSD$
31  */
32 
33 #ifndef _NETGRAPH_NG_GIF_DEMUX_H_
34 #define _NETGRAPH_NG_GIF_DEMUX_H_
35 
36 /* Node type name and magic cookie */
37 #define NG_GIF_DEMUX_NODE_TYPE		"gif_demux"
38 #define NGM_GIF_DEMUX_COOKIE		995567329
39 
40 /* Hook names */
41 #define NG_GIF_DEMUX_HOOK_GIF		"gif"
42 #define NG_GIF_DEMUX_HOOK_INET		"inet"
43 #define NG_GIF_DEMUX_HOOK_INET6		"inet6"
44 #define NG_GIF_DEMUX_HOOK_ATALK		"atalk"
45 #define NG_GIF_DEMUX_HOOK_IPX		"ipx"
46 #define NG_GIF_DEMUX_HOOK_ATM		"atm"
47 #define NG_GIF_DEMUX_HOOK_NATM		"natm"
48 
49 #endif /* _NETGRAPH_NG_GIF_DEMUX_H_ */
50