lcp.h (85094) | lcp.h (93418) |
---|---|
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 85094 2001-10-18 08:47:56Z brian $ | 28 * $FreeBSD: head/usr.sbin/ppp/lcp.h 93418 2002-03-30 12:30:09Z 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 */ --- 50 unchanged lines hidden (view full) --- 87 u_short mtu; /* Preferred MTU */ 88 u_short max_mtu; /* Preferred MTU */ 89 u_int32_t accmap; /* Initial ACCMAP value */ 90 int openmode; /* when to start CFG REQs */ 91 u_int32_t lqrperiod; /* LQR frequency (seconds) */ 92 struct fsm_retry fsm; /* How often/frequently to resend requests */ 93 unsigned acfcomp : 2; /* Address & Control Field Compression neg */ 94 unsigned chap05 : 2; /* Challenge Handshake Authentication proto */ | 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 */ --- 50 unchanged lines hidden (view full) --- 87 u_short mtu; /* Preferred MTU */ 88 u_short max_mtu; /* Preferred MTU */ 89 u_int32_t accmap; /* Initial ACCMAP value */ 90 int openmode; /* when to start CFG REQs */ 91 u_int32_t lqrperiod; /* LQR frequency (seconds) */ 92 struct fsm_retry fsm; /* How often/frequently to resend requests */ 93 unsigned acfcomp : 2; /* Address & Control Field Compression neg */ 94 unsigned chap05 : 2; /* Challenge Handshake Authentication proto */ |
95#ifdef HAVE_DES | 95#ifndef NODES |
96 unsigned chap80nt : 2; /* Microsoft (NT) CHAP */ 97 unsigned chap80lm : 2; /* Microsoft (LANMan) CHAP */ 98 unsigned chap81 : 2; /* Microsoft CHAP v2 */ 99#endif 100 unsigned lqr : 2; /* Link Quality Report */ 101 unsigned pap : 2; /* Password Authentication protocol */ 102 unsigned protocomp : 2; /* Protocol field compression */ 103 char ident[DEF_MRU - 7]; /* SendIdentification() data */ --- 53 unchanged lines hidden --- | 96 unsigned chap80nt : 2; /* Microsoft (NT) CHAP */ 97 unsigned chap80lm : 2; /* Microsoft (LANMan) CHAP */ 98 unsigned chap81 : 2; /* Microsoft CHAP v2 */ 99#endif 100 unsigned lqr : 2; /* Link Quality Report */ 101 unsigned pap : 2; /* Password Authentication protocol */ 102 unsigned protocomp : 2; /* Protocol field compression */ 103 char ident[DEF_MRU - 7]; /* SendIdentification() data */ --- 53 unchanged lines hidden --- |