/*
* pppio.h - ioctl and other misc. definitions for STREAMS modules.
*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 1994 The Australian National University.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation is hereby granted, provided that the above copyright
* notice appears in all copies. This software is provided without any
* warranty, express or implied. The Australian National University
* makes no representations about the suitability of this software for
* any purpose.
*
* IN NO EVENT SHALL THE AUSTRALIAN NATIONAL UNIVERSITY BE LIABLE TO ANY
* PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
* THE AUSTRALIAN NATIONAL UNIVERSITY HAVE BEEN ADVISED OF THE POSSIBILITY
* OF SUCH DAMAGE.
*
* THE AUSTRALIAN NATIONAL UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
* ON AN "AS IS" BASIS, AND THE AUSTRALIAN NATIONAL UNIVERSITY HAS NO
* OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
* OR MODIFICATIONS.
*
* $Id: pppio.h,v 1.8 1996/08/28 06:36:51 paulus Exp $
*/
#ifndef __PPPIO_H
#define __PPPIO_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/* Values for PPPIO_MUX FLAGS */
/*
* Values for PPPIO_CFLAGS. Data sent in is u_int32_t val[2], where
* result is newflags = val[0] | (oldflags & ~val[1]). Returned data
* is a single u_int32_t, containing the current flags.
*/
/*
* Values for PPPIO_XFCS/PPPIO_RFCS. (Note that we don't support
* simultaneous use of 16 bit and 32 bit CRCs.)
*/
/*
* Values for 8-bit-clean flags.
*/
/*
* Values for the first byte of M_CTL messages passed between
* PPP modules.
*/
/*
* Values for the u_int32_t argument to PPPIO_DEBUG.
*/
/*
* Values for the u_int32_t return from PPPIO_GTYPE. Only lastmod
* should respond. Current modules return PPPTYP_AHDLC (async
* module), PPPTYP_HC (compression module) and PPPTYP_MUX (PPP
* interface driver).
*/
#ifdef SOL2
/* Officially allocated module numbers */
#else
#endif
#ifdef __cplusplus
}
#endif
#endif /* __PPPIO_H */