Deleted Added
full compact
main.c (37191) main.c (37192)
1/*
2 * User Process PPP
3 *
4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
5 *
6 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
7 *
8 * Redistribution and use in source and binary forms are permitted
9 * provided that the above copyright notice and this paragraph are
10 * duplicated in all such forms and that any documentation,
11 * advertising materials, and other materials related to such
12 * distribution and use acknowledge that the software was developed
13 * by the Internet Initiative Japan, Inc. The name of the
14 * IIJ may not be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 *
1/*
2 * User Process PPP
3 *
4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
5 *
6 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
7 *
8 * Redistribution and use in source and binary forms are permitted
9 * provided that the above copyright notice and this paragraph are
10 * duplicated in all such forms and that any documentation,
11 * advertising materials, and other materials related to such
12 * distribution and use acknowledge that the software was developed
13 * by the Internet Initiative Japan, Inc. The name of the
14 * IIJ may not be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 *
20 * $Id: main.c,v 1.137 1998/06/27 12:03:37 brian Exp $
20 * $Id: main.c,v 1.138 1998/06/27 14:17:28 brian Exp $
21 *
22 * TODO:
23 */
24
25#include <sys/types.h>
21 *
22 * TODO:
23 */
24
25#include <sys/types.h>
26#include <sys/socket.h>
27#include <netinet/in.h>
28#include <netinet/in_systm.h>
29#include <netinet/ip.h>
30#include <sys/un.h>
31
32#include <errno.h>
33#include <fcntl.h>
34#include <paths.h>

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

54#include "throughput.h"
55#include "slcompress.h"
56#include "ipcp.h"
57#include "filter.h"
58#include "descriptor.h"
59#include "link.h"
60#include "mp.h"
61#include "bundle.h"
26#include <netinet/in.h>
27#include <netinet/in_systm.h>
28#include <netinet/ip.h>
29#include <sys/un.h>
30
31#include <errno.h>
32#include <fcntl.h>
33#include <paths.h>

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

53#include "throughput.h"
54#include "slcompress.h"
55#include "ipcp.h"
56#include "filter.h"
57#include "descriptor.h"
58#include "link.h"
59#include "mp.h"
60#include "bundle.h"
62#include "loadalias.h"
63#include "auth.h"
64#include "systems.h"
61#include "auth.h"
62#include "systems.h"
65#include "ip.h"
66#include "sig.h"
67#include "main.h"
63#include "sig.h"
64#include "main.h"
68#include "tun.h"
69#include "server.h"
70#include "prompt.h"
71#include "chat.h"
72#include "chap.h"
73#include "datalink.h"
74
75#ifndef O_NONBLOCK
76#ifdef O_NDELAY

--- 477 unchanged lines hidden ---
65#include "server.h"
66#include "prompt.h"
67#include "chat.h"
68#include "chap.h"
69#include "datalink.h"
70
71#ifndef O_NONBLOCK
72#ifdef O_NDELAY

--- 477 unchanged lines hidden ---