Home
last modified time | relevance | path

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
35 if (!Interface().Device() || Interface().MRU() == 1500) in AddToRequest()
42 item.MRU = htons(fLocalMRU); in AddToRequest()
54 uint16 MRU = ntohs(item->MRU); in ParseNak() local
55 if (MRU < fLocalMRU) in ParseNak()
56 fLocalMRU = MRU; in ParseNak()
75 uint16 MRU = 1500; in ParseAck() local
79 MRU = ntohs(item->MRU); in ParseAck()
81 if (MRU < Interface().MRU()) in ParseAck()
82 fLocalMRU = MRU; in ParseAck()
[all …]
H A DKPPPStateMachine.cpp405 Interface().SetMRU(interface.MRU()); in UpEvent()
407 } else if (Interface().MRU() > interface.MRU()) in UpEvent()
408 Interface().SetMRU(interface.MRU()); in UpEvent()
421 uint32 MRU = 0; in DownEvent() local
435 if (MRU == 0) in DownEvent()
436 MRU = child->MRU(); in DownEvent()
437 else if (MRU > child->MRU()) in DownEvent()
438 MRU = child->MRU(); in DownEvent()
444 if (MRU == 0) in DownEvent()
447 Interface().SetMRU(MRU); in DownEvent()
[all …]
H A DKPPPConfigurePacket.cpp177 KPPPConfigurePacket::ToNetBuffer(uint32 MRU) in ToNetBuffer() argument
203 if (MRU - length < item->length) { in ToNetBuffer()
H A DKPPPInterface.cpp374 KPPPInterface::SetMRU(uint32 MRU) in SetMRU() argument
376 TRACE("KPPPInterface: SetMRU(%ld)\n", MRU); in SetMRU()
378 if (Device() && MRU > Device()->MTU() - 2) in SetMRU()
385 fMRU = MRU; in SetMRU()
491 info->MRU = MRU(); in Control()
743 info->MRU = MRU(); in Control()
1640 if (length > MRU()) { in Send()
/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);
115 uint32 MRU() const in MRU() function
H A DPPPControl.h224 uint32 MRU, interfaceMTU; member
/haiku/src/add-ons/kernel/network/ppp/ipcp/
H A DProtocol.cpp824 RCRBadEvent(nak.ToNetBuffer(Interface().MRU()), NULL); in RCREvent()
827 RCRBadEvent(NULL, reject.ToNetBuffer(Interface().MRU())); in RCREvent()
1394 return Send(request.ToNetBuffer(Interface().MRU())) == B_OK; in SendConfigureRequest()
/haiku/src/bin/network/pppconfig/
H A Dpppconfig.cpp700 printf("MRU: %" B_PRIu32 "\n", info.info.MRU); in show_details()