This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: in_cksum stats not handle by FreeBSD TPC/IP stack ?


Gary Thomas wrote:
On Fri, 2004-04-23 at 07:19, sebastien Couret wrote:

Hi guys,
I came across a link problem while using the Network statistics option (CYGDBG_NET_TIMING_STATS) with FreeBSD stack.
In fact "struct net_stats stats_in_cksum" is never instantiated by the FreeBSD stacks as shown :
[snip]
This was just some debug/profile information I added when first doing
the OpenBSD stack (now some 5 years ago).  It's not normally turned on
and leaving it in place at least leaves the indication of how to make
it work in future should someone else want to fine-tune the network
system.  I prefer to leave it in as-is.  If someone wants to bother
with adding the functions to the FreeBSD stack to make it work, feel
free.

I think the CDL option shouldn't be presented to the user in that case. Although is this the only problem with this code? If so can we just comment out just the line for show_net_stats?


Otherwise the CDL option should be marked "active_if CYGPKG_NET_OPENBSD_STACK"

Sebastian, do you know if it works otherwise? Or are you planning to fix it?

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]