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