Searched refs:MRU (Results 1 - 9 of 9) sorted by relevance

/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A D_KPPPMRUHandler.cpp19 uint16 MRU; member in struct:mru_item
26 : KPPPOptionHandler("MRU Handler", kMRUType, interface, NULL)
35 if (!Interface().Device() || Interface().MRU() == 1500)
38 // add MRU request
42 item.MRU = htons(fLocalMRU);
54 uint16 MRU = ntohs(item->MRU);
55 if (MRU < fLocalMRU)
56 fLocalMRU = MRU;
75 uint16 MRU local
112 uint16 MRU = 1500; local
[all...]
H A DKPPPStateMachine.cpp405 Interface().SetMRU(interface.MRU());
407 } else if (Interface().MRU() > interface.MRU())
408 Interface().SetMRU(interface.MRU());
409 // MRU should always be the smallest value of all children
421 uint32 MRU = 0; local
422 // the new MRU
434 // set MRU to the smallest value of all children
435 if (MRU == 0)
436 MRU
[all...]
H A DKPPPConfigurePacket.cpp171 \param MRU The interface's maximum receive unit (MRU).
174 \return The net_buffer structure or \c NULL on error (e.g.: too big for given MRU).
177 KPPPConfigurePacket::ToNetBuffer(uint32 MRU) argument
203 if (MRU - length < item->length) {
H A DKPPPInterface.cpp154 // MRU
158 ERROR("KPPPInterface: Could not add MRU handler!\n");
372 //! Sets interface MRU.
374 KPPPInterface::SetMRU(uint32 MRU) argument
376 TRACE("KPPPInterface: SetMRU(%ld)\n", MRU);
378 if (Device() && MRU > Device()->MTU() - 2)
385 fMRU = MRU;
491 info->MRU = MRU();
743 info->MRU
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DKPPPConfigurePacket.h54 net_buffer *ToNetBuffer(uint32 MRU);
H A DKPPPInterface.h113 bool SetMRU(uint32 MRU);
114 //! This is the smallest MRU that we and the peer have.
115 uint32 MRU() const function in class:KPPPInterface
120 //! This is the MRU including protocol overhead.
H A DPPPControl.h224 uint32 MRU, interfaceMTU; member in struct:ppp_interface_info
/haiku/src/add-ons/kernel/network/ppp/ipcp/
H A DProtocol.cpp824 RCRBadEvent(nak.ToNetBuffer(Interface().MRU()), NULL);
827 RCRBadEvent(NULL, reject.ToNetBuffer(Interface().MRU()));
1394 return Send(request.ToNetBuffer(Interface().MRU())) == B_OK;
/haiku/src/bin/network/pppconfig/
H A Dpppconfig.cpp699 // MRU and interfaceMTU
700 printf("MRU: %" B_PRIu32 "\n", info.info.MRU);

Completed in 58 milliseconds