1204917Sdes/* 257429Smarkm * ng_rfc1490.h 392555Sdes */ 457429Smarkm 557429Smarkm/*- 657429Smarkm * Copyright (c) 1996-1999 Whistle Communications, Inc. 757429Smarkm * All rights reserved. 857429Smarkm * 957429Smarkm * Subject to the following obligations and disclaimer of warranty, use and 1057429Smarkm * redistribution of this software, in source or object code forms, with or 1157429Smarkm * without modifications are expressly permitted by Whistle Communications; 1257429Smarkm * provided, however, that: 1357429Smarkm * 1. Any and all reproductions of the source or object code must include the 1457429Smarkm * copyright notice above and the following disclaimer of warranties; and 1557429Smarkm * 2. No rights are granted, in any manner or form, to use Whistle 1657429Smarkm * Communications, Inc. trademarks, including the mark "WHISTLE 1757429Smarkm * COMMUNICATIONS" on advertising, endorsements, or otherwise except as 1857429Smarkm * such appears in the above copyright notice or in the software. 1957429Smarkm * 2057429Smarkm * THIS SOFTWARE IS BEING PROVIDED BY WHISTLE COMMUNICATIONS "AS IS", AND 2157429Smarkm * TO THE MAXIMUM EXTENT PERMITTED BY LAW, WHISTLE COMMUNICATIONS MAKES NO 2257429Smarkm * REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SOFTWARE, 2357429Smarkm * INCLUDING WITHOUT LIMITATION, ANY AND ALL IMPLIED WARRANTIES OF 2457429Smarkm * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 2557429Smarkm * WHISTLE COMMUNICATIONS DOES NOT WARRANT, GUARANTEE, OR MAKE ANY 2657429Smarkm * REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS OF THE USE OF THIS 2757429Smarkm * SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY OR OTHERWISE. 28162852Sdes * IN NO EVENT SHALL WHISTLE COMMUNICATIONS BE LIABLE FOR ANY DAMAGES 29162852Sdes * RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING 30162852Sdes * WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 31162852Sdes * PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR 32162852Sdes * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY 33162852Sdes * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34162852Sdes * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35181111Sdes * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY 3676259Sgreen * OF SUCH DAMAGE. 3776259Sgreen * 3857429Smarkm * Author: Archie Cobbs <archie@freebsd.org> 3957429Smarkm * $Whistle: ng_rfc1490.h,v 1.7 1999/01/20 00:54:15 archie Exp $ 4057429Smarkm */ 4160573Skris 4276259Sgreen#ifndef _NETGRAPH_NG_RFC1490_H_ 4357429Smarkm#define _NETGRAPH_NG_RFC1490_H_ 4492555Sdes 4592555Sdes/* Node type name */ 4692555Sdes#define NG_RFC1490_NODE_TYPE "rfc1490" 4792555Sdes#define NGM_RFC1490_COOKIE 1086947474 4892555Sdes 4992555Sdes/* Hook names */ 5092555Sdes#define NG_RFC1490_HOOK_DOWNSTREAM "downstream" 5192555Sdes#define NG_RFC1490_HOOK_INET "inet" 5292555Sdes#define NG_RFC1490_HOOK_PPP "ppp" 53137015Sdes#define NG_RFC1490_HOOK_ETHERNET "ethernet" 54137015Sdes 5592555Sdes/* Netgraph commands */ 5692555Sdesenum { 57137015Sdes NGM_RFC1490_SET_ENCAP, /* sets encapsulation method */ 58137015Sdes NGM_RFC1490_GET_ENCAP, /* gets current encapsulation method */ 59137015Sdes}; 60137015Sdes 61137015Sdes#endif /* _NETGRAPH_NG_RFC1490_H_ */ 6292555Sdes