Deleted Added
full compact
lcp.c (80655) lcp.c (81634)
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/usr.sbin/ppp/lcp.c 80655 2001-07-30 17:04:39Z brian $
28 * $FreeBSD: head/usr.sbin/ppp/lcp.c 81634 2001-08-14 16:05:52Z brian $
29 */
30
31#include <sys/param.h>
32#include <netinet/in.h>
33#include <netinet/in_systm.h>
34#include <netinet/ip.h>
29 */
30
31#include <sys/param.h>
32#include <netinet/in.h>
33#include <netinet/in_systm.h>
34#include <netinet/ip.h>
35#include <sys/socket.h>
35#include <sys/un.h>
36
37#include <signal.h>
38#include <stdio.h>
39#include <stdlib.h>
40#include <string.h>
41#include <termios.h>
42#include <unistd.h>

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

57#include "hdlc.h"
58#include "lcp.h"
59#include "ccp.h"
60#include "async.h"
61#include "link.h"
62#include "physical.h"
63#include "prompt.h"
64#include "slcompress.h"
36#include <sys/un.h>
37
38#include <signal.h>
39#include <stdio.h>
40#include <stdlib.h>
41#include <string.h>
42#include <termios.h>
43#include <unistd.h>

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

58#include "hdlc.h"
59#include "lcp.h"
60#include "ccp.h"
61#include "async.h"
62#include "link.h"
63#include "physical.h"
64#include "prompt.h"
65#include "slcompress.h"
66#include "ncpaddr.h"
67#include "ip.h"
65#include "ipcp.h"
66#include "filter.h"
67#include "mp.h"
68#include "chat.h"
69#include "auth.h"
70#include "chap.h"
71#include "cbcp.h"
72#include "datalink.h"
73#ifndef NORADIUS
74#include "radius.h"
75#endif
68#include "ipcp.h"
69#include "filter.h"
70#include "mp.h"
71#include "chat.h"
72#include "auth.h"
73#include "chap.h"
74#include "cbcp.h"
75#include "datalink.h"
76#ifndef NORADIUS
77#include "radius.h"
78#endif
79#include "ipv6cp.h"
80#include "ncp.h"
76#include "bundle.h"
77
78/* for received LQRs */
79struct lqrreq {
80 u_char type;
81 u_char length;
82 u_short proto; /* Quality protocol */
83 u_int32_t period; /* Reporting interval */

--- 1219 unchanged lines hidden ---
81#include "bundle.h"
82
83/* for received LQRs */
84struct lqrreq {
85 u_char type;
86 u_char length;
87 u_short proto; /* Quality protocol */
88 u_int32_t period; /* Reporting interval */

--- 1219 unchanged lines hidden ---