Home
last modified time | relevance | path

Searched refs:optionHandler (Results 1 – 5 of 5) sorted by relevance

/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPLCP.cpp59 KPPPLCP::AddOptionHandler(KPPPOptionHandler *optionHandler) in AddOptionHandler() argument
61 if (!optionHandler || &optionHandler->Interface() != &Interface()) in AddOptionHandler()
65 || OptionHandlerFor(optionHandler->Type())) in AddOptionHandler()
70 return fOptionHandlers.AddItem(optionHandler); in AddOptionHandler()
79 KPPPLCP::RemoveOptionHandler(KPPPOptionHandler *optionHandler) in RemoveOptionHandler() argument
85 return fOptionHandlers.RemoveItem(optionHandler); in RemoveOptionHandler()
94 KPPPOptionHandler *optionHandler = fOptionHandlers.ItemAt(index); in OptionHandlerAt() local
96 if (optionHandler == fOptionHandlers.GetDefaultItem()) in OptionHandlerAt()
99 return optionHandler; in OptionHandlerAt()
H A DKPPPStateMachine.cpp1077 KPPPOptionHandler *optionHandler; in RCAEvent() local
1079 optionHandler = LCP().OptionHandlerAt(index); in RCAEvent()
1080 if (optionHandler->ParseAck(ack) != B_OK) { in RCAEvent()
1152 KPPPOptionHandler *optionHandler; in RCNEvent() local
1154 optionHandler = LCP().OptionHandlerAt(index); in RCNEvent()
1157 if (optionHandler->ParseNak(nak_reject) != B_OK) { in RCNEvent()
1163 if (optionHandler->ParseReject(nak_reject) != B_OK) { in RCNEvent()
1507 KPPPOptionHandler *optionHandler; in RCREvent() local
1509 optionHandler = LCP().OptionHandlerFor(request.ItemAt(index)->type); in RCREvent()
1511 if (!optionHandler || !optionHandler->IsEnabled()) { in RCREvent()
[all …]
H A DKPPPProtocol.cpp45 const char *type, KPPPOptionHandler *optionHandler) in KPPPProtocol() argument
54 fOptionHandler(optionHandler), in KPPPProtocol()
H A DKPPPInterface.cpp670 KPPPOptionHandler *optionHandler = LCP().OptionHandlerAt(controlInfo->index); in Control() local
671 if (!optionHandler) { in Control()
676 return optionHandler->Control(controlInfo->op, controlInfo->data, in Control()
898 KPPPOptionHandler *optionHandler = LCP().OptionHandlerAt(control->index); in Control() local
899 if (!optionHandler) in Control()
902 return optionHandler->Control(control->op, control->data, in Control()
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/
H A DKPPPProtocol.h23 const char *type = NULL, KPPPOptionHandler *optionHandler = NULL);