KPPPDevice
: KPPPDevice("Modem", 0, interface, settings),
&& KPPPDevice::InitCheck() == B_OK ? B_OK : B_ERROR;
class ModemDevice : public KPPPDevice {
if (KPPPDevice::InitCheck() != B_OK)
return KPPPDevice::InitCheck() == B_OK ? B_OK : B_ERROR;
: KPPPDevice("PPPoE", PPPoE_HEADER_SIZE + ETHER_HDR_LEN, interface, settings),
class PPPoEDevice : public KPPPDevice {
KPPPDevice::UpStarted()
KPPPDevice::DownStarted()
KPPPDevice::UpFailedEvent()
KPPPDevice::UpEvent()
KPPPDevice::DownEvent()
KPPPDevice::KPPPDevice(const char *name, uint32 overhead, KPPPInterface& interface,
KPPPDevice::~KPPPDevice()
KPPPDevice::Control(uint32 op, void *data, size_t length)
KPPPDevice::IsAllowedToSend() const
KPPPDevice::Receive(net_buffer *packet, uint16 protocolNumber)
KPPPInterface::SetDevice(KPPPDevice *device)
class KPPPDevice : public KPPPLayer {
KPPPDevice(const char *name, uint32 overhead, KPPPInterface& interface,
virtual ~KPPPDevice();
bool SetDevice(KPPPDevice *device);
KPPPDevice *Device() const
KPPPDevice *fDevice;
class KPPPDevice;