summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libnetworking/netinet (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill2-10/+27
2000-04-13Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill1-0/+2
adds .cvsignore.
2000-02-03Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+43
that contains the automake files for libnetworking plus a couple of minor fixes. [Now only one unused/unsupported Makefile.in remains (./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).] To apply: patch -p1 < rtems-rc-20000118-7.diff /bin/sh rtems-rc-20000118-7.rm /bin/sh rtems-rc-20000118-7.add ./bootstrap Notes: * I have tested this one by building all BSPs for m68k, powerpc, sh and unix with toolchains built since last weekend. * I did not touch libnetworking's directory layout.
1999-10-25Patch from Eric Norum <eric@cls.usask.ca> to address the following problemJoel Sherrill1-1/+1
report from Philip A. Prindeville <philipp@zembu.com>: I was working on a device driver for a certain ethernet chipset that occassionally wraps in its buffer, and causes a resulting mbuf chain with only a few dozen bytes in the first mbuf of the chain. I wouldn't have thought this would be a problem, until I ran some stress tests that flooded the ethernet receiver with packets and started to get panics here: 250 251 if (m->m_pkthdr.len < sizeof(struct ip)) 252 goto tooshort; 253 254 #ifdef DIAGNOSTIC 255 if (m->m_len < sizeof(struct ip)) 256 panic("ipintr mbuf too short"); 257 #endif 258 259 if (m->m_len < sizeof (struct ip) && 260 (m = m_pullup(m, sizeof (struct ip))) == 0) { 261 ipstat.ips_toosmall++; 262 return; 263 } 264 ip = mtod(m, struct ip *); and the panic was at line 256. But if I #undef'd DIAGNOSTICS, then the m_pullup() at line 260 does the right thing and the packet ends up being processed just fine. So I started wondering, (a) why was the test checking for something that apparently wasn't a fatal condition but rather one that is subsequently recovered from a couple of lines later and (b) why panic as a diagnostic "aid" from a recoverable condition rather than just (say) log a message to the console? All of this seems overly severe for no reason that is readily apparent to me.
1999-02-04Added PowerPC specific header checksum code.Joel Sherrill1-34/+5
1999-02-04Modified to include comments on how to get TCPDEBUG turned on andJoel Sherrill1-1/+1
printing messages.
1999-02-02Added debug #define and commented it out.Joel Sherrill1-0/+1
1999-02-02Added PowerPC specific in_cksum file.Joel Sherrill1-0/+4
1999-02-02New file. Based on the i386 version.Joel Sherrill1-0/+202
1999-01-26Switched from printf() to puts().Joel Sherrill1-1/+1
1999-01-04Patch from D. V. Henkel-Wallace <gumby@zembu.com> to use puts and have ↵Joel Sherrill1-1/+3
prototype.
1999-01-04Patch from D. V. Henkel-Wallace <gumby@zembu.com> to fix braces nesting problem.Joel Sherrill1-1/+2
1998-09-21Patch from Eric Norum and David Fiddes to put ColdFire support inJoel Sherrill1-8/+9
the inet checksum routine.
1998-09-11Patch from "David J. Fiddes" <D.J@fiddes.surfaid.org>:Joel Sherrill1-126/+37
I've fixed a few minor probs with the optimised version that Eric put together for me the other day and sent the fixes back to him. Provided he doesn't have a problem with it we've got a pretty solid in_cksum for the ColdFire as well as straight m68k. I've enclosed my updated in_cksum_m68k.c At the moment my own bottlenecks are elsewhere...as my driver is pulling 16bit data chunks through a libchip-esq access routine from the chip which for a polled I/O device is never going to be quick.
1998-09-10Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to make this compileJoel Sherrill1-1/+1
for the ColdFire.
1998-08-21Added i386 specific version of in_cksum.c and restructured the mainJoel Sherrill3-151/+515
file to switch out to CPU specific implementations.
1998-08-21Another missing piece. Thanks Eric.Joel Sherrill1-0/+3
1998-08-21All warnings removed.Joel Sherrill3-4/+4
1998-08-20Fixed many warnings.Joel Sherrill4-5/+9
1998-08-19Base filesJoel Sherrill43-0/+20297