Annotation of embedaddon/mpd/src/devices.h, revision 1.1
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",
! 37: CMD_SUBMENU, AdmitDev, 2, (void *) ModemSetCmds },
! 38: #endif
! 39: #ifdef PHYSTYPE_NG_SOCKET
! 40: { "ng ...", "Netgraph specific stuff",
! 41: CMD_SUBMENU, AdmitDev, 2, (void *) NgSetCmds },
! 42: #endif
! 43: #ifdef PHYSTYPE_TCP
! 44: { "tcp ...", "TCP specific stuff",
! 45: CMD_SUBMENU, AdmitDev, 2, (void *) TcpSetCmds },
! 46: #endif
! 47: #ifdef PHYSTYPE_UDP
! 48: { "udp ...", "UDP specific stuff",
! 49: CMD_SUBMENU, AdmitDev, 2, (void *) UdpSetCmds },
! 50: #endif
! 51: #ifdef PHYSTYPE_PPTP
! 52: { "pptp ...", "PPTP specific stuff",
! 53: CMD_SUBMENU, AdmitDev, 2, (void *) PptpSetCmds },
! 54: #endif
! 55: #ifdef PHYSTYPE_L2TP
! 56: { "l2tp ...", "L2TP specific stuff",
! 57: CMD_SUBMENU, AdmitDev, 2, (void *) L2tpSetCmds },
! 58: #endif
! 59: #ifdef PHYSTYPE_PPPOE
! 60: { "pppoe ...", "PPPoE specific stuff",
! 61: CMD_SUBMENU, AdmitDev, 2, (void *) PppoeSetCmds },
! 62: #endif
! 63: #endif
! 64:
! 65: #ifdef _WANT_DEVICE_TYPES
! 66: #ifdef PHYSTYPE_MODEM
! 67: (const PhysType) &gModemPhysType,
! 68: #endif
! 69: #ifdef PHYSTYPE_NG_SOCKET
! 70: (const PhysType) &gNgPhysType,
! 71: #endif
! 72: #ifdef PHYSTYPE_TCP
! 73: (const PhysType) &gTcpPhysType,
! 74: #endif
! 75: #ifdef PHYSTYPE_UDP
! 76: (const PhysType) &gUdpPhysType,
! 77: #endif
! 78: #ifdef PHYSTYPE_PPTP
! 79: (const PhysType) &gPptpPhysType,
! 80: #endif
! 81: #ifdef PHYSTYPE_L2TP
! 82: (const PhysType) &gL2tpPhysType,
! 83: #endif
! 84: #ifdef PHYSTYPE_PPPOE
! 85: (const PhysType) &gPppoePhysType,
! 86: #endif
! 87: #endif
! 88:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>