Deleted Added
full compact
bundle.h (61534) bundle.h (62778)
1/*-
2 * Copyright (c) 1998 Brian Somers <brian@Awfulhak.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1998 Brian Somers <brian@Awfulhak.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/usr.sbin/ppp/bundle.h 61534 2000-06-11 02:30:51Z brian $
26 * $FreeBSD: head/usr.sbin/ppp/bundle.h 62778 2000-07-07 14:22:08Z brian $
27 */
28
29#define PHASE_DEAD 0 /* Link is dead */
30#define PHASE_ESTABLISH 1 /* Establishing link */
31#define PHASE_AUTHENTICATE 2 /* Being authenticated */
32#define PHASE_NETWORK 3 /* We're alive ! */
33#define PHASE_TERMINATE 4 /* Terminating link */
34
35/* cfg.opt bit settings */
27 */
28
29#define PHASE_DEAD 0 /* Link is dead */
30#define PHASE_ESTABLISH 1 /* Establishing link */
31#define PHASE_AUTHENTICATE 2 /* Being authenticated */
32#define PHASE_NETWORK 3 /* We're alive ! */
33#define PHASE_TERMINATE 4 /* Terminating link */
34
35/* cfg.opt bit settings */
36#define OPT_IDCHECK 0x0001
37#define OPT_IFACEALIAS 0x0002
38#define OPT_KEEPSESSION 0x0004
39#define OPT_LOOPBACK 0x0008
40#define OPT_PASSWDAUTH 0x0010
41#define OPT_PROXY 0x0020
42#define OPT_PROXYALL 0x0040
43#define OPT_SROUTES 0x0080
44#define OPT_THROUGHPUT 0x0100
45#define OPT_UTMP 0x0200
36#define OPT_FILTERDECAP 0x0001
37#define OPT_IDCHECK 0x0002
38#define OPT_IFACEALIAS 0x0004
39#define OPT_KEEPSESSION 0x0008
40#define OPT_LOOPBACK 0x0010
41#define OPT_PASSWDAUTH 0x0020
42#define OPT_PROXY 0x0040
43#define OPT_PROXYALL 0x0080
44#define OPT_SROUTES 0x0100
45#define OPT_THROUGHPUT 0x0200
46#define OPT_UTMP 0x0400
46
47#define MAX_ENDDISC_CLASS 5
48
49#define Enabled(b, o) ((b)->cfg.opt & (o))
50
51/* AutoAdjust() values */
52#define AUTO_UP 1
53#define AUTO_DOWN 2

--- 141 unchanged lines hidden ---
47
48#define MAX_ENDDISC_CLASS 5
49
50#define Enabled(b, o) ((b)->cfg.opt & (o))
51
52/* AutoAdjust() values */
53#define AUTO_UP 1
54#define AUTO_DOWN 2

--- 141 unchanged lines hidden ---