source: rtems/cpukit/pppd/ccp.h @ d0950ad

4.104.114.84.9
Last change on this file since d0950ad was d0950ad, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 30, 1999 at 10:12:50 PM

Added port of ppp-2.3.5 from Tomasz Domin <dot@…> of ComArch? SA.
Tomasz only tested this on the mpc823.

The official site for the original source for this PPP implementation is:

ftp://cs.anu.edu.au/pub/software/ppp

NOTE: As of 11/30/1999, the current version of this source is 2.3.10.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1/*
2 * ccp.h - Definitions for PPP Compression Control Protocol.
3 *
4 * Copyright (c) 1994 The Australian National University.
5 * All rights reserved.
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation is hereby granted, provided that the above copyright
9 * notice appears in all copies.  This software is provided without any
10 * warranty, express or implied. The Australian National University
11 * makes no representations about the suitability of this software for
12 * any purpose.
13 *
14 * IN NO EVENT SHALL THE AUSTRALIAN NATIONAL UNIVERSITY BE LIABLE TO ANY
15 * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
16 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
17 * THE AUSTRALIAN NATIONAL UNIVERSITY HAVE BEEN ADVISED OF THE POSSIBILITY
18 * OF SUCH DAMAGE.
19 *
20 * THE AUSTRALIAN NATIONAL UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES,
21 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
22 * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
23 * ON AN "AS IS" BASIS, AND THE AUSTRALIAN NATIONAL UNIVERSITY HAS NO
24 * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
25 * OR MODIFICATIONS.
26 *
27 * $Id$
28 */
29
30typedef struct ccp_options {
31    u_int bsd_compress: 1;      /* do BSD Compress? */
32    u_int deflate: 1;           /* do Deflate? */
33    u_int predictor_1: 1;       /* do Predictor-1? */
34    u_int predictor_2: 1;       /* do Predictor-2? */
35    u_int deflate_correct: 1;   /* use correct code for deflate? */
36    u_int deflate_draft: 1;     /* use draft RFC code for deflate? */
37    u_short bsd_bits;           /* # bits/code for BSD Compress */
38    u_short deflate_size;       /* lg(window size) for Deflate */
39    short method;               /* code for chosen compression method */
40} ccp_options;
41
42extern fsm ccp_fsm[];
43extern ccp_options ccp_wantoptions[];
44extern ccp_options ccp_gotoptions[];
45extern ccp_options ccp_allowoptions[];
46extern ccp_options ccp_hisoptions[];
47
48extern struct protent ccp_protent;
Note: See TracBrowser for help on using the repository browser.