Deleted Added
full compact
lqr.c (8857) lqr.c (13389)
1/*
2 * PPP Line Quality Monitoring (LQM) Module
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 Line Quality Monitoring (LQM) Module
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: lqr.c,v 1.3 1995/04/17 04:21:35 amurai Exp $
20 * $Id: lqr.c,v 1.4 1995/05/30 03:50:44 rgrimes Exp $
21 *
22 * o LQR based on RFC1333
23 *
24 * TODO:
25 * o LQM policy
26 * o Allow user to configure LQM method and interval.
27 */
28#include "fsm.h"
29#include "lcpproto.h"
30#include "lqr.h"
31#include "hdlc.h"
32#include "lcp.h"
33#include "vars.h"
21 *
22 * o LQR based on RFC1333
23 *
24 * TODO:
25 * o LQM policy
26 * o Allow user to configure LQM method and interval.
27 */
28#include "fsm.h"
29#include "lcpproto.h"
30#include "lqr.h"
31#include "hdlc.h"
32#include "lcp.h"
33#include "vars.h"
34#include "main.h"
34
35struct pppTimer LqrTimer;
36
37static u_long lastpeerin = (u_long)-1;
38
39static int lqmmethod;
40static int echoseq;
41static int gotseq;

--- 218 unchanged lines hidden ---
35
36struct pppTimer LqrTimer;
37
38static u_long lastpeerin = (u_long)-1;
39
40static int lqmmethod;
41static int echoseq;
42static int gotseq;

--- 218 unchanged lines hidden ---