xref: /dflybsd-src/sys/netgraph7/echo/ng_echo.h (revision 9278355d3eff69f7e3a317fe610614f8e960373d)
1*9278355dSNuno Antunes /*
2*9278355dSNuno Antunes  * ng_echo.h
3*9278355dSNuno Antunes  */
4*9278355dSNuno Antunes 
5*9278355dSNuno Antunes /*-
6*9278355dSNuno Antunes  * Copyright (c) 1996-1999 Whistle Communications, Inc.
7*9278355dSNuno Antunes  * All rights reserved.
8*9278355dSNuno Antunes  *
9*9278355dSNuno Antunes  * Subject to the following obligations and disclaimer of warranty, use and
10*9278355dSNuno Antunes  * redistribution of this software, in source or object code forms, with or
11*9278355dSNuno Antunes  * without modifications are expressly permitted by Whistle Communications;
12*9278355dSNuno Antunes  * provided, however, that:
13*9278355dSNuno Antunes  * 1. Any and all reproductions of the source or object code must include the
14*9278355dSNuno Antunes  *    copyright notice above and the following disclaimer of warranties; and
15*9278355dSNuno Antunes  * 2. No rights are granted, in any manner or form, to use Whistle
16*9278355dSNuno Antunes  *    Communications, Inc. trademarks, including the mark "WHISTLE
17*9278355dSNuno Antunes  *    COMMUNICATIONS" on advertising, endorsements, or otherwise except as
18*9278355dSNuno Antunes  *    such appears in the above copyright notice or in the software.
19*9278355dSNuno Antunes  *
20*9278355dSNuno Antunes  * THIS SOFTWARE IS BEING PROVIDED BY WHISTLE COMMUNICATIONS "AS IS", AND
21*9278355dSNuno Antunes  * TO THE MAXIMUM EXTENT PERMITTED BY LAW, WHISTLE COMMUNICATIONS MAKES NO
22*9278355dSNuno Antunes  * REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SOFTWARE,
23*9278355dSNuno Antunes  * INCLUDING WITHOUT LIMITATION, ANY AND ALL IMPLIED WARRANTIES OF
24*9278355dSNuno Antunes  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
25*9278355dSNuno Antunes  * WHISTLE COMMUNICATIONS DOES NOT WARRANT, GUARANTEE, OR MAKE ANY
26*9278355dSNuno Antunes  * REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS OF THE USE OF THIS
27*9278355dSNuno Antunes  * SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY OR OTHERWISE.
28*9278355dSNuno Antunes  * IN NO EVENT SHALL WHISTLE COMMUNICATIONS BE LIABLE FOR ANY DAMAGES
29*9278355dSNuno Antunes  * RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING
30*9278355dSNuno Antunes  * WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
31*9278355dSNuno Antunes  * PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR
32*9278355dSNuno Antunes  * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
33*9278355dSNuno Antunes  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34*9278355dSNuno Antunes  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35*9278355dSNuno Antunes  * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
36*9278355dSNuno Antunes  * OF SUCH DAMAGE.
37*9278355dSNuno Antunes  *
38*9278355dSNuno Antunes  * Author: Archie Cobbs <archie@freebsd.org>
39*9278355dSNuno Antunes  *
40*9278355dSNuno Antunes  * $FreeBSD: src/sys/netgraph/ng_echo.h,v 1.4 2005/01/07 01:45:39 imp Exp $
41*9278355dSNuno Antunes  * $DragonFly: src/sys/netgraph7/ng_echo.h,v 1.2 2008/06/26 23:05:35 dillon Exp $
42*9278355dSNuno Antunes  * $Whistle: ng_echo.h,v 1.3 1999/01/20 00:22:12 archie Exp $
43*9278355dSNuno Antunes  */
44*9278355dSNuno Antunes 
45*9278355dSNuno Antunes #ifndef _NETGRAPH_NG_ECHO_H_
46*9278355dSNuno Antunes #define _NETGRAPH_NG_ECHO_H_
47*9278355dSNuno Antunes 
48*9278355dSNuno Antunes /* Node type name and magic cookie */
49*9278355dSNuno Antunes #define NG_ECHO_NODE_TYPE	"echo"
50*9278355dSNuno Antunes #define NGM_ECHO_COOKIE		884298942
51*9278355dSNuno Antunes 
52*9278355dSNuno Antunes #endif /* _NETGRAPH_NG_ECHO_H_ */
53