version 1.1.1.1, 2013/07/22 08:44:29
|
version 1.1.1.2, 2021/03/17 00:39:23
|
Line 34
|
Line 34
|
#ifdef _WANT_DEVICE_CMDS |
#ifdef _WANT_DEVICE_CMDS |
#ifdef PHYSTYPE_MODEM |
#ifdef PHYSTYPE_MODEM |
{ "modem ...", "Modem specific stuff", |
{ "modem ...", "Modem specific stuff", |
CMD_SUBMENU, AdmitDev, 2, (void *) ModemSetCmds }, | CMD_SUBMENU, AdmitDev, 2, ModemSetCmds }, |
#endif |
#endif |
#ifdef PHYSTYPE_NG_SOCKET |
#ifdef PHYSTYPE_NG_SOCKET |
{ "ng ...", "Netgraph specific stuff", |
{ "ng ...", "Netgraph specific stuff", |
CMD_SUBMENU, AdmitDev, 2, (void *) NgSetCmds }, | CMD_SUBMENU, AdmitDev, 2, NgSetCmds }, |
#endif |
#endif |
#ifdef PHYSTYPE_TCP |
#ifdef PHYSTYPE_TCP |
{ "tcp ...", "TCP specific stuff", |
{ "tcp ...", "TCP specific stuff", |
CMD_SUBMENU, AdmitDev, 2, (void *) TcpSetCmds }, | CMD_SUBMENU, AdmitDev, 2, TcpSetCmds }, |
#endif |
#endif |
#ifdef PHYSTYPE_UDP |
#ifdef PHYSTYPE_UDP |
{ "udp ...", "UDP specific stuff", |
{ "udp ...", "UDP specific stuff", |
CMD_SUBMENU, AdmitDev, 2, (void *) UdpSetCmds }, | CMD_SUBMENU, AdmitDev, 2, UdpSetCmds }, |
#endif |
#endif |
#ifdef PHYSTYPE_PPTP |
#ifdef PHYSTYPE_PPTP |
{ "pptp ...", "PPTP specific stuff", |
{ "pptp ...", "PPTP specific stuff", |
CMD_SUBMENU, AdmitDev, 2, (void *) PptpSetCmds }, | CMD_SUBMENU, AdmitDev, 2, PptpSetCmds }, |
#endif |
#endif |
#ifdef PHYSTYPE_L2TP |
#ifdef PHYSTYPE_L2TP |
{ "l2tp ...", "L2TP specific stuff", |
{ "l2tp ...", "L2TP specific stuff", |
CMD_SUBMENU, AdmitDev, 2, (void *) L2tpSetCmds }, | CMD_SUBMENU, AdmitDev, 2, L2tpSetCmds }, |
#endif |
#endif |
#ifdef PHYSTYPE_PPPOE |
#ifdef PHYSTYPE_PPPOE |
{ "pppoe ...", "PPPoE specific stuff", |
{ "pppoe ...", "PPPoE specific stuff", |
CMD_SUBMENU, AdmitDev, 2, (void *) PppoeSetCmds }, | CMD_SUBMENU, AdmitDev, 2, PppoeSetCmds }, |
#endif |
#endif |
#endif |
#endif |
|
|
#ifdef _WANT_DEVICE_TYPES |
#ifdef _WANT_DEVICE_TYPES |
#ifdef PHYSTYPE_MODEM |
#ifdef PHYSTYPE_MODEM |
(const PhysType) &gModemPhysType, | &gModemPhysType, |
#endif |
#endif |
#ifdef PHYSTYPE_NG_SOCKET |
#ifdef PHYSTYPE_NG_SOCKET |
(const PhysType) &gNgPhysType, | &gNgPhysType, |
#endif |
#endif |
#ifdef PHYSTYPE_TCP |
#ifdef PHYSTYPE_TCP |
(const PhysType) &gTcpPhysType, | &gTcpPhysType, |
#endif |
#endif |
#ifdef PHYSTYPE_UDP |
#ifdef PHYSTYPE_UDP |
(const PhysType) &gUdpPhysType, | &gUdpPhysType, |
#endif |
#endif |
#ifdef PHYSTYPE_PPTP |
#ifdef PHYSTYPE_PPTP |
(const PhysType) &gPptpPhysType, | &gPptpPhysType, |
#endif |
#endif |
#ifdef PHYSTYPE_L2TP |
#ifdef PHYSTYPE_L2TP |
(const PhysType) &gL2tpPhysType, | &gL2tpPhysType, |
#endif |
#endif |
#ifdef PHYSTYPE_PPPOE |
#ifdef PHYSTYPE_PPPOE |
(const PhysType) &gPppoePhysType, | &gPppoePhysType, |
#endif |
#endif |
#endif |
#endif |
|
|