defs.h (6f8e9f0a8a6fa4e9dd0ad9ada1caecef634c90a2) | defs.h (972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f) |
---|---|
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 * $Id: defs.h,v 1.35 1998/08/07 18:42:48 brian Exp $ | 18 * $Id: defs.h,v 1.36 1998/08/25 17:48:42 brian Exp $ |
19 * 20 * TODO: 21 */ 22 23/* Check the following definitions for your machine environment */ 24#ifdef __FreeBSD__ 25# define MODEM_LIST "/dev/cuaa1, /dev/cuaa0" /* name of tty device */ 26#else --- 12 unchanged lines hidden (view full) --- 39#define MODEM_SPEED B38400 /* tty speed */ 40#define SERVER_PORT 3000 /* Base server port no. */ 41#define MODEM_CTSRTS 1 /* Default (true): use CTS/RTS signals */ 42#define RECONNECT_TIMEOUT 3 /* Default timer for carrier loss */ 43#define DIAL_TIMEOUT 30 /* Default and Max random time to redial */ 44#define DIAL_NEXT_TIMEOUT 3 /* Default Hold time to next number redial */ 45#define SCRIPT_LEN 512 /* Size of login scripts */ 46#define LINE_LEN SCRIPT_LEN /* Size of login scripts */ | 19 * 20 * TODO: 21 */ 22 23/* Check the following definitions for your machine environment */ 24#ifdef __FreeBSD__ 25# define MODEM_LIST "/dev/cuaa1, /dev/cuaa0" /* name of tty device */ 26#else --- 12 unchanged lines hidden (view full) --- 39#define MODEM_SPEED B38400 /* tty speed */ 40#define SERVER_PORT 3000 /* Base server port no. */ 41#define MODEM_CTSRTS 1 /* Default (true): use CTS/RTS signals */ 42#define RECONNECT_TIMEOUT 3 /* Default timer for carrier loss */ 43#define DIAL_TIMEOUT 30 /* Default and Max random time to redial */ 44#define DIAL_NEXT_TIMEOUT 3 /* Default Hold time to next number redial */ 45#define SCRIPT_LEN 512 /* Size of login scripts */ 46#define LINE_LEN SCRIPT_LEN /* Size of login scripts */ |
47#define AUTHLEN 50 /* Size of authname/authkey */ 48#define CHAPDIGESTLEN 100 /* Maximum chap digest */ 49#define CHAPCHALLENGELEN 48 /* Maximum chap challenge */ |
|
47#define MAXARGS 40 /* How many args per config line */ 48#define NCP_IDLE_TIMEOUT 180 /* Drop all links */ 49#define CHOKED_TIMEOUT 120 /* Delete queued packets w/ blocked tun */ 50 51#define LINK_MINWEIGHT 20 52#define MIN_LQRPERIOD 2 /* Minimum LQR frequency */ 53#define DEF_LQRPERIOD 30 /* Default LQR frequency */ 54#define MIN_FSMRETRY 3 /* Minimum FSM retry frequency */ --- 37 unchanged lines hidden --- | 50#define MAXARGS 40 /* How many args per config line */ 51#define NCP_IDLE_TIMEOUT 180 /* Drop all links */ 52#define CHOKED_TIMEOUT 120 /* Delete queued packets w/ blocked tun */ 53 54#define LINK_MINWEIGHT 20 55#define MIN_LQRPERIOD 2 /* Minimum LQR frequency */ 56#define DEF_LQRPERIOD 30 /* Default LQR frequency */ 57#define MIN_FSMRETRY 3 /* Minimum FSM retry frequency */ --- 37 unchanged lines hidden --- |