netdebug.h File Reference

Go to the source code of this file.

Functions

void NutTraceTcp (FILE *stream, u_char flags)
 Control TCP tracing.
void NutTracePPP (FILE *stream, u_char flags)
 Control PPP tracing.
void NutDumpTcpHeader (FILE *stream, char *ds, TCPSOCKET *sock, NETBUF *nb)
void NutDumpSockState (FILE *stream, u_char state, char *lead, char *trail)
void NutDumpSocketList (FILE *stream)
void NutDumpLcpOption (FILE *stream, NETBUF *nb)
void NutDumpLcp (FILE *stream, NETBUF *nb)
void NutDumpPpp (FILE *stream, NETBUF *nb)

Variables

FILE__tcp_trs
 TCP trace output stream.
u_char __tcp_trf
 TCP trace flags.
FILE__ppp_trs
 PPP trace output stream.
u_char __ppp_trf
 PPP trace flags.


Function Documentation

void NutTraceTcp ( FILE stream,
u_char  flags 
)

Control TCP tracing.

Parameters:
stream Pointer to a previously opened stream or null to leave it unchanged.
flags Flags to enable specific traces.
Examples:
httpd/httpserv.c, and tcps/tcps.c.

Definition at line 187 of file netdebug.c.

Referenced by main().

void NutTracePPP ( FILE stream,
u_char  flags 
)

Control PPP tracing.

Parameters:
stream Pointer to a previously opened stream or null to disable trace output.
flags Flags to enable specific traces.
Examples:
httpd/httpserv.c, pppc/pppc.c, and tcps/tcps.c.

Definition at line 426 of file pppdebug.c.

Referenced by main().

void NutDumpTcpHeader ( FILE stream,
char *  ds,
TCPSOCKET sock,
NETBUF nb 
)

Definition at line 90 of file netdebug.c.

Referenced by NutTcpOutput(), NutTcpReject(), NutTcpSm(), and NutTcpStateRetranTimeout().

void NutDumpSockState ( FILE stream,
u_char  state,
char *  lead,
char *  trail 
)

Definition at line 111 of file netdebug.c.

Referenced by NutDumpSocketList().

void NutDumpSocketList ( FILE stream  ) 

Definition at line 158 of file netdebug.c.

void NutDumpLcpOption ( FILE stream,
NETBUF nb 
)

Definition at line 86 of file pppdebug.c.

Referenced by NutDumpLcp().

void NutDumpLcp ( FILE stream,
NETBUF nb 
)

Definition at line 131 of file pppdebug.c.

Referenced by NutDumpPpp().

void NutDumpPpp ( FILE stream,
NETBUF nb 
)

Definition at line 362 of file pppdebug.c.

Referenced by NutPppInput(), and NutPppOutput().


Variable Documentation

FILE* __tcp_trs

TCP trace output stream.

Definition at line 87 of file netdebug.c.

Referenced by NutArpCacheQuery(), NutArpCacheUpdate(), NutDhcpClient(), NutDhcpIfConfig(), NutTcpOutput(), NutTcpReject(), NutTcpSm(), NutTcpStateRetranTimeout(), and NutTraceTcp().

u_char __tcp_trf

TCP trace flags.

Definition at line 88 of file netdebug.c.

Referenced by NutArpCacheQuery(), NutArpCacheUpdate(), NutDhcpClient(), NutDhcpIfConfig(), NutTcpOutput(), NutTcpReject(), NutTcpSm(), NutTcpStateRetranTimeout(), and NutTraceTcp().

FILE* __ppp_trs

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().

u_char __ppp_trf

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().


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/