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