Deleted Added
full compact
fsm.c (38814) fsm.c (43313)
1/*
2 * PPP Finite State Machine for LCP/IPCP
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 * PPP Finite State Machine for LCP/IPCP
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: fsm.c,v 1.36 1998/08/01 01:02:41 brian Exp $
20 * $Id: fsm.c,v 1.37 1998/09/04 18:25:59 brian Exp $
21 *
22 * TODO:
23 */
24
21 *
22 * TODO:
23 */
24
25#include <sys/types.h>
25#include <sys/param.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 <string.h>
32#include <termios.h>
33

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

44#include "slcompress.h"
45#include "ipcp.h"
46#include "filter.h"
47#include "descriptor.h"
48#include "lcp.h"
49#include "ccp.h"
50#include "link.h"
51#include "mp.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 <string.h>
32#include <termios.h>
33

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

44#include "slcompress.h"
45#include "ipcp.h"
46#include "filter.h"
47#include "descriptor.h"
48#include "lcp.h"
49#include "ccp.h"
50#include "link.h"
51#include "mp.h"
52#ifndef NORADIUS
53#include "radius.h"
54#endif
52#include "bundle.h"
53#include "async.h"
54#include "physical.h"
55#include "lcpproto.h"
56
57static void FsmSendConfigReq(struct fsm *);
58static void FsmSendTerminateReq(struct fsm *);
59static void FsmInitRestartCounter(struct fsm *);

--- 956 unchanged lines hidden ---
55#include "bundle.h"
56#include "async.h"
57#include "physical.h"
58#include "lcpproto.h"
59
60static void FsmSendConfigReq(struct fsm *);
61static void FsmSendTerminateReq(struct fsm *);
62static void FsmInitRestartCounter(struct fsm *);

--- 956 unchanged lines hidden ---