44error_t pppSendConfigureAckNak(PppContext *context,
47error_t pppSendTerminateReq(PppContext *context,
50error_t pppSendTerminateAck(PppContext *context,
53error_t pppSendCodeRej(PppContext *context,
const PppPacket *packet,
56error_t pppSendProtocolRej(PppContext *context, uint8_t identifier,
57 uint16_t protocol,
const uint8_t *information,
size_t length);
59error_t pppSendEchoRep(PppContext *context,
60 const PppEchoPacket *echoReqPacket,
PppProtocol protocol);
62error_t pppAddOption(PppConfigurePacket *packet, uint8_t optionType,
63 const void *optionValue, uint8_t optionLen);
error_t
Error codes.
Definition error.h:43
PPP (Point-to-Point Protocol)
PppProtocol
Protocol field values.
Definition ppp.h:198
PppCode
Code field values.
Definition ppp.h:215