Forgot to test if it builds. :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4520 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -135,12 +135,12 @@ class PPPStateMachine {
|
|||||||
void InitializeRestartCount();
|
void InitializeRestartCount();
|
||||||
void ZeroRestartCount();
|
void ZeroRestartCount();
|
||||||
bool SendConfigureRequest();
|
bool SendConfigureRequest();
|
||||||
void SendConfigureAck(struct mbuf *packet);
|
bool SendConfigureAck(struct mbuf *packet);
|
||||||
void SendConfigureNak(struct mbuf *packet);
|
bool SendConfigureNak(struct mbuf *packet);
|
||||||
void SendTerminateRequest();
|
bool SendTerminateRequest();
|
||||||
void SendTerminateAck(struct mbuf *request = NULL);
|
bool SendTerminateAck(struct mbuf *request = NULL);
|
||||||
void SendCodeReject(struct mbuf *packet, uint16 protocol, uint8 code);
|
bool SendCodeReject(struct mbuf *packet, uint16 protocol, uint8 code);
|
||||||
void SendEchoReply(struct mbuf *request);
|
bool SendEchoReply(struct mbuf *request);
|
||||||
|
|
||||||
void BringHandlersUp();
|
void BringHandlersUp();
|
||||||
uint32 BringPhaseUp();
|
uint32 BringPhaseUp();
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ PPPStateMachine::SendEchoRequest()
|
|||||||
request->length = htons(packet->m_len);
|
request->length = htons(packet->m_len);
|
||||||
memcpy(request->data, &fMagicNumber, sizeof(fMagicNumber));
|
memcpy(request->data, &fMagicNumber, sizeof(fMagicNumber));
|
||||||
|
|
||||||
return LCP.Send(packet) == B_OK;
|
return LCP().Send(packet) == B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -156,7 +156,7 @@ PPPStateMachine::SendDiscardRequest()
|
|||||||
request->length = htons(packet->m_len);
|
request->length = htons(packet->m_len);
|
||||||
memcpy(request->data, &fMagicNumber, sizeof(fMagicNumber));
|
memcpy(request->data, &fMagicNumber, sizeof(fMagicNumber));
|
||||||
|
|
||||||
return LCP.Send(packet) == B_OK;
|
return LCP().Send(packet) == B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user