Deleted Added
full compact
defs.h (26516) defs.h (26589)
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.14 1997/05/10 03:39:52 brian Exp $
18 * $Id: defs.h,v 1.15 1997/06/09 03:27:18 brian Exp $
19 *
20 * TODO:
21 */
22
23#ifndef _DEFS_H_
24#define _DEFS_H_
25
26#include <machine/endian.h>

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

48
49#define MODEM_CTSRTS TRUE /* Default (true): use CTS/RTS signals */
50#define RECONNECT_TIMER 3 /* Default timer for carrier loss */
51#define RECONNECT_TRIES 0 /* Default retries on carrier loss */
52#define REDIAL_PERIOD 30 /* Default Hold time to redial */
53#define NEXT_REDIAL_PERIOD 3 /* Default Hold time to next number redial */
54
55#define CONFFILE "ppp.conf"
19 *
20 * TODO:
21 */
22
23#ifndef _DEFS_H_
24#define _DEFS_H_
25
26#include <machine/endian.h>

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

48
49#define MODEM_CTSRTS TRUE /* Default (true): use CTS/RTS signals */
50#define RECONNECT_TIMER 3 /* Default timer for carrier loss */
51#define RECONNECT_TRIES 0 /* Default retries on carrier loss */
52#define REDIAL_PERIOD 30 /* Default Hold time to redial */
53#define NEXT_REDIAL_PERIOD 3 /* Default Hold time to next number redial */
54
55#define CONFFILE "ppp.conf"
56#define LINKFILE "ppp.linkup"
57#define ETHERFILE "ppp.etherup"
56#define LINKUPFILE "ppp.linkup"
57#define LINKDOWNFILE "ppp.linkdown"
58#define SECRETFILE "ppp.secret"
59
60/*
61 * Definition of working mode
62 */
63#define MODE_INTER 1 /* Interactive mode */
64#define MODE_AUTO 2 /* Auto calling mode */
65#define MODE_DIRECT 4 /* Direct connection mode */

--- 36 unchanged lines hidden ---
58#define SECRETFILE "ppp.secret"
59
60/*
61 * Definition of working mode
62 */
63#define MODE_INTER 1 /* Interactive mode */
64#define MODE_AUTO 2 /* Auto calling mode */
65#define MODE_DIRECT 4 /* Direct connection mode */

--- 36 unchanged lines hidden ---