Annotation of embedaddon/mpd/src/devices.h, revision 1.1.1.2
1.1 misho 1:
2: /*
3: * devices.h
4: *
5: * Rewritten by Archie Cobbs <archie@freebsd.org>
6: * Copyright (c) 1998-1999 Whistle Communications, Inc. All rights reserved.
7: * See ``COPYRIGHT.whistle''
8: */
9:
10: #if !defined(_WANT_DEVICE_TYPES) && !defined(_WANT_DEVICE_CMDS)
11: #ifdef PHYSTYPE_MODEM
12: #include "modem.h"
13: #endif
14: #ifdef PHYSTYPE_NG_SOCKET
15: #include "ng.h"
16: #endif
17: #ifdef PHYSTYPE_TCP
18: #include "tcp.h"
19: #endif
20: #ifdef PHYSTYPE_UDP
21: #include "udp.h"
22: #endif
23: #ifdef PHYSTYPE_PPTP
24: #include "pptp.h"
25: #endif
26: #ifdef PHYSTYPE_L2TP
27: #include "l2tp.h"
28: #endif
29: #ifdef PHYSTYPE_PPPOE
30: #include "pppoe.h"
31: #endif
32: #endif
33:
34: #ifdef _WANT_DEVICE_CMDS
35: #ifdef PHYSTYPE_MODEM
36: { "modem ...", "Modem specific stuff",
1.1.1.2 ! misho 37: CMD_SUBMENU, AdmitDev, 2, ModemSetCmds },
1.1 misho 38: #endif
39: #ifdef PHYSTYPE_NG_SOCKET
40: { "ng ...", "Netgraph specific stuff",
1.1.1.2 ! misho 41: CMD_SUBMENU, AdmitDev, 2, NgSetCmds },
1.1 misho 42: #endif
43: #ifdef PHYSTYPE_TCP
44: { "tcp ...", "TCP specific stuff",
1.1.1.2 ! misho 45: CMD_SUBMENU, AdmitDev, 2, TcpSetCmds },
1.1 misho 46: #endif
47: #ifdef PHYSTYPE_UDP
48: { "udp ...", "UDP specific stuff",
1.1.1.2 ! misho 49: CMD_SUBMENU, AdmitDev, 2, UdpSetCmds },
1.1 misho 50: #endif
51: #ifdef PHYSTYPE_PPTP
52: { "pptp ...", "PPTP specific stuff",
1.1.1.2 ! misho 53: CMD_SUBMENU, AdmitDev, 2, PptpSetCmds },
1.1 misho 54: #endif
55: #ifdef PHYSTYPE_L2TP
56: { "l2tp ...", "L2TP specific stuff",
1.1.1.2 ! misho 57: CMD_SUBMENU, AdmitDev, 2, L2tpSetCmds },
1.1 misho 58: #endif
59: #ifdef PHYSTYPE_PPPOE
60: { "pppoe ...", "PPPoE specific stuff",
1.1.1.2 ! misho 61: CMD_SUBMENU, AdmitDev, 2, PppoeSetCmds },
1.1 misho 62: #endif
63: #endif
64:
65: #ifdef _WANT_DEVICE_TYPES
66: #ifdef PHYSTYPE_MODEM
1.1.1.2 ! misho 67: &gModemPhysType,
1.1 misho 68: #endif
69: #ifdef PHYSTYPE_NG_SOCKET
1.1.1.2 ! misho 70: &gNgPhysType,
1.1 misho 71: #endif
72: #ifdef PHYSTYPE_TCP
1.1.1.2 ! misho 73: &gTcpPhysType,
1.1 misho 74: #endif
75: #ifdef PHYSTYPE_UDP
1.1.1.2 ! misho 76: &gUdpPhysType,
1.1 misho 77: #endif
78: #ifdef PHYSTYPE_PPTP
1.1.1.2 ! misho 79: &gPptpPhysType,
1.1 misho 80: #endif
81: #ifdef PHYSTYPE_L2TP
1.1.1.2 ! misho 82: &gL2tpPhysType,
1.1 misho 83: #endif
84: #ifdef PHYSTYPE_PPPOE
1.1.1.2 ! misho 85: &gPppoePhysType,
1.1 misho 86: #endif
87: #endif
88:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>