Deleted Added
full compact
defs.h (66898) defs.h (67910)
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
18 * $FreeBSD: head/usr.sbin/ppp/defs.h 66898 2000-10-09 21:18:23Z brian $
18 * $FreeBSD: head/usr.sbin/ppp/defs.h 67910 2000-10-30 00:15:04Z brian $
19 *
20 * TODO:
21 */
22
23/* Check the following definitions for your machine environment */
24#ifdef __FreeBSD__
25# define MODEM_LIST "/dev/cuaa1\0/dev/cuaa0" /* name of tty device */
26#else

--- 17 unchanged lines hidden (view full) ---

44#define DIAL_TIMEOUT 30 /* Default and Max random time to redial */
45#define DIAL_NEXT_TIMEOUT 3 /* Default Hold time to next number redial */
46#define SCRIPT_LEN 512 /* Size of login/dial/hangup scripts */
47#define LINE_LEN SCRIPT_LEN /* Size of lines */
48#define DEVICE_LEN SCRIPT_LEN /* Size of individual devices */
49#define AUTHLEN 100 /* Size of authname/authkey */
50#define CHAPDIGESTLEN 100 /* Maximum chap digest */
51#define CHAPCHALLENGELEN 48 /* Maximum chap challenge */
19 *
20 * TODO:
21 */
22
23/* Check the following definitions for your machine environment */
24#ifdef __FreeBSD__
25# define MODEM_LIST "/dev/cuaa1\0/dev/cuaa0" /* name of tty device */
26#else

--- 17 unchanged lines hidden (view full) ---

44#define DIAL_TIMEOUT 30 /* Default and Max random time to redial */
45#define DIAL_NEXT_TIMEOUT 3 /* Default Hold time to next number redial */
46#define SCRIPT_LEN 512 /* Size of login/dial/hangup scripts */
47#define LINE_LEN SCRIPT_LEN /* Size of lines */
48#define DEVICE_LEN SCRIPT_LEN /* Size of individual devices */
49#define AUTHLEN 100 /* Size of authname/authkey */
50#define CHAPDIGESTLEN 100 /* Maximum chap digest */
51#define CHAPCHALLENGELEN 48 /* Maximum chap challenge */
52#define CHAPAUTHRESPONSELEN 48 /* Maximum chap authresponse (chap81) */
52#define MAXARGS 40 /* How many args per config line */
53#define NCP_IDLE_TIMEOUT 180 /* Drop all links */
54#define CHOKED_TIMEOUT 120 /* Delete queued packets w/ blocked tun */
55
56#define MIN_LQRPERIOD 2 /* Minimum LQR frequency */
57#define DEF_LQRPERIOD 30 /* Default LQR frequency */
58#define MIN_FSMRETRY 3 /* Minimum FSM retry frequency */
59#define DEF_FSMRETRY 3 /* FSM retry frequency */

--- 66 unchanged lines hidden ---
53#define MAXARGS 40 /* How many args per config line */
54#define NCP_IDLE_TIMEOUT 180 /* Drop all links */
55#define CHOKED_TIMEOUT 120 /* Delete queued packets w/ blocked tun */
56
57#define MIN_LQRPERIOD 2 /* Minimum LQR frequency */
58#define DEF_LQRPERIOD 30 /* Default LQR frequency */
59#define MIN_FSMRETRY 3 /* Minimum FSM retry frequency */
60#define DEF_FSMRETRY 3 /* FSM retry frequency */

--- 66 unchanged lines hidden ---