Deleted Added
full compact
pap.c (78189) pap.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/pap.c 78189 2001-06-13 21:52:19Z brian $
28 * $FreeBSD: head/usr.sbin/ppp/pap.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 <stdlib.h>
38#include <string.h> /* strlen/memcpy */
39#include <termios.h>
40
41#include "layer.h"
42#include "mbuf.h"

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

53#include "async.h"
54#include "throughput.h"
55#include "ccp.h"
56#include "link.h"
57#include "descriptor.h"
58#include "physical.h"
59#include "iplist.h"
60#include "slcompress.h"
36#include <sys/un.h>
37
38#include <stdlib.h>
39#include <string.h> /* strlen/memcpy */
40#include <termios.h>
41
42#include "layer.h"
43#include "mbuf.h"

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

54#include "async.h"
55#include "throughput.h"
56#include "ccp.h"
57#include "link.h"
58#include "descriptor.h"
59#include "physical.h"
60#include "iplist.h"
61#include "slcompress.h"
62#include "ncpaddr.h"
63#include "ip.h"
61#include "ipcp.h"
62#include "filter.h"
63#include "mp.h"
64#ifndef NORADIUS
65#include "radius.h"
66#endif
64#include "ipcp.h"
65#include "filter.h"
66#include "mp.h"
67#ifndef NORADIUS
68#include "radius.h"
69#endif
70#include "ipv6cp.h"
71#include "ncp.h"
67#include "bundle.h"
68#include "chat.h"
69#include "chap.h"
70#include "cbcp.h"
71#include "datalink.h"
72
73static const char * const papcodes[] = {
74 "???", "REQUEST", "SUCCESS", "FAILURE"

--- 217 unchanged lines hidden ---
72#include "bundle.h"
73#include "chat.h"
74#include "chap.h"
75#include "cbcp.h"
76#include "datalink.h"
77
78static const char * const papcodes[] = {
79 "???", "REQUEST", "SUCCESS", "FAILURE"

--- 217 unchanged lines hidden ---