/* * Copyright 2003-2004, Waldemar Kornewald * Distributed under the terms of the MIT License. */ #ifndef __K_PPP_MRU_HANDLER__H #define __K_PPP_MRU_HANDLER__H #include class _KPPPMRUHandler : public KPPPOptionHandler { public: _KPPPMRUHandler(KPPPInterface& interface); virtual status_t AddToRequest(KPPPConfigurePacket& request); virtual status_t ParseNak(const KPPPConfigurePacket& nak); virtual status_t ParseReject(const KPPPConfigurePacket& reject); virtual status_t ParseAck(const KPPPConfigurePacket& ack); virtual status_t ParseRequest(const KPPPConfigurePacket& request, int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject); virtual status_t SendingAck(const KPPPConfigurePacket& ack); virtual void Reset(); private: uint16 fLocalMRU; }; #endif