Home
last modified time | relevance | path

Searched refs:lcpExtension (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPLCP.cpp135 KPPPLCP::AddLCPExtension(KPPPLCPExtension *lcpExtension) in AddLCPExtension() argument
137 if (!lcpExtension || &lcpExtension->Interface() != &Interface()) in AddLCPExtension()
144 return fLCPExtensions.AddItem(lcpExtension); in AddLCPExtension()
153 KPPPLCP::RemoveLCPExtension(KPPPLCPExtension *lcpExtension) in RemoveLCPExtension() argument
159 return fLCPExtensions.RemoveItem(lcpExtension); in RemoveLCPExtension()
168 KPPPLCPExtension *lcpExtension = fLCPExtensions.ItemAt(index); in LCPExtensionAt() local
170 if (lcpExtension == fLCPExtensions.GetDefaultItem()) in LCPExtensionAt()
173 return lcpExtension; in LCPExtensionAt()
309 KPPPLCPExtension *lcpExtension = LCPExtensionFor(data.code, &index); in Receive() local
310 for (; lcpExtension; lcpExtension = LCPExtensionFor(data.code, &(++index))) { in Receive()
[all …]
H A DKPPPInterface.cpp687 KPPPLCPExtension *lcpExtension = LCP().LCPExtensionAt(controlInfo->index); in Control() local
688 if (!lcpExtension) in Control()
691 return lcpExtension->Control(controlInfo->op, controlInfo->data, in Control()
912 KPPPLCPExtension *lcpExtension = LCP().LCPExtensionAt(control->index); in Control() local
913 if (!lcpExtension) in Control()
916 return lcpExtension->Control(control->op, control->data, in Control()
H A DKPPPStateMachine.cpp1613 KPPPLCPExtension *lcpExtension; in RXJEvent() local
1615 lcpExtension = LCP().LCPExtensionAt(index); in RXJEvent()
1617 if (lcpExtension->Code() == rejectedCode) in RXJEvent()
1618 lcpExtension->SetEnabled(false); in RXJEvent()