Go to the source code of this file.
Functions | |
void | NutDumpLcpOption (FILE *stream, NETBUF *nb) |
void | NutDumpLcp (FILE *stream, NETBUF *nb) |
void | NutDumpPapOption (FILE *stream, NETBUF *nb) |
void | NutDumpPap (FILE *stream, NETBUF *nb) |
void | NutDumpIpcpOption (FILE *stream, NETBUF *nb) |
void | NutDumpIpcp (FILE *stream, NETBUF *nb) |
void | NutDumpPpp (FILE *stream, NETBUF *nb) |
void | NutTracePPP (FILE *stream, uint8_t flags) |
Control PPP tracing. | |
Variables | |
FILE * | __ppp_trs |
PPP trace output stream. | |
uint_fast8_t | __ppp_trf |
PPP trace flags. |
void NutDumpLcpOption | ( | FILE * | stream, | |
NETBUF * | nb | |||
) |
Definition at line 89 of file pppdebug.c.
References fprintf(), fputs(), LCP_ACCOMPRESSION, LCP_ASYNCMAP, LCP_AUTHTYPE, LCP_MAGICNUMBER, LCP_MRU, LCP_PCOMPRESSION, ntohl, ntohs, XCPOPT::ul, XCPOPT::us, XCPOPT::xcpo_, XCPOPT::xcpo_len, and XCPOPT::xcpo_type.
Referenced by NutDumpLcp().
void NutDumpLcp | ( | FILE * | stream, | |
NETBUF * | nb | |||
) |
Definition at line 134 of file pppdebug.c.
References fprintf(), fputs(), fputs_P, LCP_DRQ, LCP_ERP, LCP_ERQ, LCP_PROTREJ, ntohs, NutDumpLcpOption(), XCPHDR::xch_code, XCPHDR::xch_id, XCPHDR::xch_len, XCP_CODEREJ, XCP_CONFACK, XCP_CONFNAK, XCP_CONFREJ, XCP_CONFREQ, XCP_TERMACK, and XCP_TERMREQ.
Referenced by NutDumpPpp().
void NutDumpPapOption | ( | FILE * | stream, | |
NETBUF * | nb | |||
) |
Definition at line 204 of file pppdebug.c.
References fprintf(), fputc(), and fputs().
Referenced by NutDumpPap().
void NutDumpPap | ( | FILE * | stream, | |
NETBUF * | nb | |||
) |
Definition at line 233 of file pppdebug.c.
References fprintf(), fputs(), fputs_P, ntohs, NutDumpPapOption(), XCPHDR::xch_code, XCPHDR::xch_id, XCPHDR::xch_len, XCP_CONFACK, XCP_CONFNAK, and XCP_CONFREQ.
Referenced by NutDumpPpp().
void NutDumpIpcpOption | ( | FILE * | stream, | |
NETBUF * | nb | |||
) |
Definition at line 270 of file pppdebug.c.
References fprintf(), fputs(), inet_ntoa(), IPCP_ADDR, IPCP_COMPRESSTYPE, IPCP_MS_DNS1, IPCP_MS_DNS2, XCPOPT::ul, XCPOPT::xcpo_, XCPOPT::xcpo_len, and XCPOPT::xcpo_type.
Referenced by NutDumpIpcp().
void NutDumpIpcp | ( | FILE * | stream, | |
NETBUF * | nb | |||
) |
Definition at line 309 of file pppdebug.c.
References fprintf(), fputs(), fputs_P, ntohs, NutDumpIpcpOption(), XCPHDR::xch_code, XCPHDR::xch_id, XCPHDR::xch_len, XCP_CODEREJ, XCP_CONFACK, XCP_CONFNAK, XCP_CONFREJ, XCP_CONFREQ, XCP_TERMACK, and XCP_TERMREQ.
Referenced by NutDumpPpp().
void NutDumpPpp | ( | FILE * | stream, | |
NETBUF * | nb | |||
) |
Definition at line 365 of file pppdebug.c.
References PPPHDR::address, AHDLC_ALLSTATIONS, fprintf(), fputs(), ntohs, NutDumpIpcp(), NutDumpLcp(), NutDumpPap(), PPP_IP, PPP_IPCP, PPP_LCP, PPP_PAP, and PPPHDR::prot_type.
Referenced by NutPppInput(), and NutPppOutput().
Control PPP tracing.
stream | Pointer to a previously opened stream or null to disable trace output. | |
flags | Flags to enable specific traces. |
Definition at line 429 of file pppdebug.c.
References __ppp_trf, and __ppp_trs.
Referenced by main().
PPP trace output stream.
Definition at line 71 of file pppdebug.c.
Referenced by IpcpClose(), IpcpLowerDown(), IpcpLowerUp(), IpcpOpen(), LcpClose(), LcpLowerDown(), LcpLowerUp(), LcpOpen(), NutPppInput(), NutPppOutput(), and NutTracePPP().
PPP trace flags.
Definition at line 72 of file pppdebug.c.
Referenced by IpcpClose(), IpcpLowerDown(), IpcpLowerUp(), IpcpOpen(), LcpClose(), LcpLowerDown(), LcpLowerUp(), LcpOpen(), NutPppInput(), NutPppOutput(), and NutTracePPP().