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, u_char flags) |
Control PPP tracing. | |
Variables | |
FILE * | __ppp_trs |
PPP trace output stream. | |
u_char | __ppp_trf |
PPP trace flags. |
Definition at line 86 of file pppdebug.c.
References fprintf(), fputs(), LCP_ACCOMPRESSION, LCP_ASYNCMAP, LCP_AUTHTYPE, LCP_MAGICNUMBER, LCP_MRU, LCP_PCOMPRESSION, _NETBUF::nb_ap, _NETBUF::nb_dl, ntohl, ntohs, _NBDATA::sz, XCPOPT::ul, XCPOPT::us, _NBDATA::vp, XCPOPT::xcpo_, XCPOPT::xcpo_len, and XCPOPT::xcpo_type.
Referenced by NutDumpLcp().
Definition at line 131 of file pppdebug.c.
References fprintf(), fputs(), fputs_P, LCP_DRQ, LCP_ERP, LCP_ERQ, LCP_PROTREJ, _NETBUF::nb_ap, _NETBUF::nb_dl, _NETBUF::nb_nw, ntohs, NutDumpLcpOption(), _NBDATA::sz, _NBDATA::vp, 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().
Definition at line 201 of file pppdebug.c.
References fprintf(), fputc(), fputs(), _NETBUF::nb_ap, _NETBUF::nb_dl, _NBDATA::sz, and _NBDATA::vp.
Referenced by NutDumpPap().
Definition at line 230 of file pppdebug.c.
References fprintf(), fputs(), fputs_P, _NETBUF::nb_dl, _NETBUF::nb_nw, ntohs, NutDumpPapOption(), _NBDATA::sz, _NBDATA::vp, xcphdr::xch_code, xcphdr::xch_id, xcphdr::xch_len, XCP_CONFACK, XCP_CONFNAK, and XCP_CONFREQ.
Referenced by NutDumpPpp().
Definition at line 267 of file pppdebug.c.
References fprintf(), fputs(), inet_ntoa(), IPCP_ADDR, IPCP_COMPRESSTYPE, IPCP_MS_DNS1, IPCP_MS_DNS2, _NETBUF::nb_ap, _NETBUF::nb_dl, _NBDATA::sz, XCPOPT::ul, _NBDATA::vp, XCPOPT::xcpo_, XCPOPT::xcpo_len, and XCPOPT::xcpo_type.
Referenced by NutDumpIpcp().
Definition at line 306 of file pppdebug.c.
References fprintf(), fputs(), fputs_P, _NETBUF::nb_dl, _NETBUF::nb_nw, ntohs, NutDumpIpcpOption(), _NBDATA::sz, _NBDATA::vp, 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().
Definition at line 362 of file pppdebug.c.
References ppp_header::address, AHDLC_ALLSTATIONS, fprintf(), fputs(), _NETBUF::nb_ap, _NETBUF::nb_dl, _NETBUF::nb_nw, _NETBUF::nb_tp, ntohs, NutDumpIpcp(), NutDumpLcp(), NutDumpPap(), PPP_IP, PPP_IPCP, PPP_LCP, PPP_PAP, ppp_header::prot_type, _NBDATA::sz, and _NBDATA::vp.
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 426 of file pppdebug.c.
References __ppp_trf, and __ppp_trs.
Referenced by main().
PPP trace output stream.
Definition at line 68 of file pppdebug.c.
Referenced by IpcpClose(), IpcpLowerDown(), IpcpLowerUp(), IpcpOpen(), LcpClose(), LcpLowerDown(), LcpLowerUp(), LcpOpen(), NutPppInput(), NutPppOutput(), and NutTracePPP().
PPP trace flags.
Definition at line 69 of file pppdebug.c.
Referenced by IpcpClose(), IpcpLowerDown(), IpcpLowerUp(), IpcpOpen(), LcpClose(), LcpLowerDown(), LcpLowerUp(), LcpOpen(), NutPppInput(), NutPppOutput(), and NutTracePPP().