netdebug.c File Reference

Go to the source code of this file.

Functions

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 NutTraceTcp (FILE *stream, u_char flags)
 Control TCP tracing.

Variables

TCPSOCKETtcpSocketList
UDPSOCKETudpSocketList
FILE__tcp_trs
 TCP trace output stream.
u_char __tcp_trf
 TCP trace flags.


Function Documentation

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

Definition at line 195 of file netdebug.c.

References __tcp_trf, and __tcp_trs.

Referenced by main().


Variable Documentation


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