This function is provided mainly for debugging and development tuning, since it may be useful to monitor lwIP resource usage over various test scenarios when tuning an eCos lwIP configuration.
The function is a NOP unless the lwIP statistics gathering support is
configured. The main configuration
CYGDBG_LWIP_STATS controls the
availability of the statistics feature, with sub-options then being
available to control specific sub-section statistics gathering.
outfn is the “printf-style”
varargs routine used to output the human-readable information. For
example, a simple usage would be to pass
diag_printf function so that the statistics
are output on the same diagnostic channel as any other test/debug