Deleted Added
full compact
lcp.h (78189) lcp.h (78410)
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.h 78189 2001-06-13 21:52:19Z brian $
28 * $FreeBSD: head/usr.sbin/ppp/lcp.h 78410 2001-06-18 14:59:36Z brian $
29 */
30
31/* callback::opmask values */
32#define CALLBACK_AUTH (0)
33#define CALLBACK_DIALSTRING (1) /* Don't do this */
34#define CALLBACK_LOCATION (2) /* Don't do this */
35#define CALLBACK_E164 (3)
36#define CALLBACK_NAME (4) /* Don't do this */

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

77
78 u_short auth_iwait; /* I must authenticate to the peer */
79 u_short auth_ineed; /* I require that the peer authenticates */
80
81 int LcpFailedMagic; /* Number of `magic is same' errors */
82
83 struct {
84 u_short mru; /* Preferred MRU value */
29 */
30
31/* callback::opmask values */
32#define CALLBACK_AUTH (0)
33#define CALLBACK_DIALSTRING (1) /* Don't do this */
34#define CALLBACK_LOCATION (2) /* Don't do this */
35#define CALLBACK_E164 (3)
36#define CALLBACK_NAME (4) /* Don't do this */

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

77
78 u_short auth_iwait; /* I must authenticate to the peer */
79 u_short auth_ineed; /* I require that the peer authenticates */
80
81 int LcpFailedMagic; /* Number of `magic is same' errors */
82
83 struct {
84 u_short mru; /* Preferred MRU value */
85 u_short max_mru; /* Preferred MRU value */
86 u_short mtu; /* Preferred MTU */
87 u_short max_mtu; /* Preferred MTU */
85 u_int32_t accmap; /* Initial ACCMAP value */
86 int openmode; /* when to start CFG REQs */
87 u_int32_t lqrperiod; /* LQR frequency (seconds) */
88 struct fsm_retry fsm; /* How often/frequently to resend requests */
89 unsigned acfcomp : 2; /* Address & Control Field Compression neg */
90 unsigned chap05 : 2; /* Challenge Handshake Authentication proto */
91#ifdef HAVE_DES
92 unsigned chap80nt : 2; /* Microsoft (NT) CHAP */

--- 60 unchanged lines hidden ---
88 u_int32_t accmap; /* Initial ACCMAP value */
89 int openmode; /* when to start CFG REQs */
90 u_int32_t lqrperiod; /* LQR frequency (seconds) */
91 struct fsm_retry fsm; /* How often/frequently to resend requests */
92 unsigned acfcomp : 2; /* Address & Control Field Compression neg */
93 unsigned chap05 : 2; /* Challenge Handshake Authentication proto */
94#ifdef HAVE_DES
95 unsigned chap80nt : 2; /* Microsoft (NT) CHAP */

--- 60 unchanged lines hidden ---