summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-01-152-8/+8
| | | | | | | * netinet/tcp_subr.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK, INP_LOCK, INP_UNLOCK macros. * netinet/udp_usrreq.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK, INP_LOCK, INP_UNLOCK macros.
* 2002-11-26 Chris Johns <cjohns@cybertec.com.au>Joel Sherrill2003-01-0311-5/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Added sys/linker_set.h * kern/Makefile.am: Added kern_mib.c and kern_sysctl.c. * kern/uipc_socket.c: OID changed from KERN_SOMAXCONN to KIPC_SOMAXCONN. * kern/uipc_socket2.c: OID changed from KERN_MAXSOCKBUF to KIPC_MAXSOCKBUF. * net/if_ethersubr.c: FreeBSD 2.2.2 does not have a _net_link node while 5.0 does. * net/if_ppp.c: Removed the TEXT_SET define as these macros are now implemented. * net/rtsock.c: Enable sysctl support plus fix the bug with the lastest FreeBSD sysctl header file. * netinet/icmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_icmp node while 5.0 does. * netinet/if_ether.c: FreeBSD 2.2.2 does not have a _net_link_ether node while 5.0 does. * netinet/igmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_igmp node while 5.0 does. * netinet/in_pcb.c: Fixed the arguments to the sysctl call. Add inp_gencnt and ipi_count. These are used when listing connections. * netinet/in_pcb.h: Added counters to aid the listing of connections. * netinet/in_var.h: Provide the _net_inet_ip and _net_inet_raw nodes. * netinet/ip_fw.c: Disable the firewall sysctl calls. * netinet/tcp_subr.c: Merge tcp_pcblist from the lastest FreeBSD source. * netinet/tcp_var.h: Add structures needed by net-snmp to list connections. * netinet/udp_usrreq.c: Merged udp_pcblist from the lastest FreeBSD source. * netinet/udp_var.h: Added the sysctl id UDPCTL_PCBLIST. Used by net-snmp. * rtems_glue.c: Call sysctl_register_all when initialising the network stack to register all the sysctl calls. These are in the special sections and required an updated linker script. * rtems/rtems_syscall.c: Add the sysctl call. * sys/kernel.h: Use the lastest FreeBSD method of handling sysctl structures. This now held in the sys/linker_set.h file. * sys/queue.h: This is from the lastest FreeBSD code with the circular code merged back in as it is not used in the lastest FreeBSD kernel. * sys/sysctl.h: The lastest sysctl. This was needed to use with the new linker set method. The FreeBSD 2.2.2 version has asm hacks. The lastest version of the FreeBSD does not have these hacks. It uses gcc attribute directives.
* 2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-121-40/+0
| | | | | | | | | | | | | * Makefile.am: Merge-in kern/Makefile.am, net/Makefile.am, netinet/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, rtems/Makefile.am. * kern/Makefile.am: Remove. * net/Makefile.am: Remove. * netinet/Makefile.am: Remove. * nfs/Makefile.am: Remove. * rtems/Makefile.am: Remove. * wrapup/Makefile.am: Reflect changes above. * configure.ac: Ditto.
* 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-111-4/+2
| | | | | | | | | | | * kern/Makefile.am: Remove C_O_FILES; Don't let all-local depend on $OBJS) * lib/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * net/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * rtems/Makefile.am: Ditto.
* 2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-11-181-13/+0
| | | | | | | | * Makefile.am: Merge-in HEADER-handling from net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am. * net/Makefile.am: Remove *_HEADERS. * netinet/Makefile.am: Remove *_HEADERS. * nfs/Makefile.am: Remove *_HEADERS.
* 2002-10-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-312-2/+2
| | | | * libc/rcmd.c, netinet/in_cksum_arm.c: Removed warnings.
* 2002-10-07 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-10-071-1/+1
| | | | | * netinet/tcp_var.h: Corrected typo in ARM alignment patch which broke all other ports.
* 2002-10-04 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-10-046-24/+56
| | | | | | * netinet/in_cksum.c, netinet/ip_icmp.h, netinet/ip_input.c, netinet/tcp_input.c, netinet/tcp_subr.c, netinet/tcp_var.h, sys/queue.h: Address alignment requirements for the ARM.
* 2002-09-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-09-162-555/+26
| | | | | | * netinet/Makefile.am, netinet/udp_usrreq.c: Back off some of the IP_FORWARD patch as it appears to not compile in the current tree.
* 2002-09-14 Vyacheslav V. Burdjanadze <wr@zelax.ru>Joel Sherrill2002-09-142-25/+555
| | | | | | | * kern/uipc_mbuf.c, sys/mbuf.h, netinet/udp_usrreq.c: Add optional UDP broadcast forwarding support. * netinet/Makefile.am: Defined FORWARD_PROTOCOL to enabled UDP broadcast forwarding.
* 2002-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-09-021-0/+2
| | | | | * netinet/in_cksum.c: #include <string.h> for puts in generic routines.
* 2002-08-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-08-071-0/+2
| | | | | | * netinet/in.h: Per PR263, added include of <machine/endian.h> to <netinet/in.h> so it includes prototypes of ntohl() family of routines.
* 2002-07-30 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-07-303-2/+558
| | | | | * netinet/in_cksum.c, netinet/in_cksum_arm.c: Added ARM in_cksum support.
* 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-221-1/+1
| | | | | | | | | | | * kern/Makefile.am: Use .$(OBJEXT) instead of .o. * lib/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * net/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * rtems/Makefile.am: Ditto. * wrapup/Makefile.am: Ditto.
* 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-07-221-3/+1
| | | | | | | | | | | | * kern/Makefile.am: Eliminate LIBNAME. * lib/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * net/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * rtems/Makefile.am: Ditto. * wrapup/Makefile.am: Use project_libdir instead of $(PROJECT_RELEASE)/lib.
* 2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>Joel Sherrill2002-07-174-22/+24
| | | | | * netinet/in.h, netinet/ip.h, netinet/ip_var.h, netinet/tcp.h: Modified to added packed attribute.o
* 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-06-171-4/+4
| | | | | | | | | | | | | | | | | * arpa/Makefile.am: Include $(top_srcdir)/../automake/*.am. * kern/Makefile.am: Include $(top_srcdir)/../automake/*.am. * Makefile.am: Include $(top_srcdir)/../automake/*.am. Use ../aclocal. * lib/Makefile.am: Include $(top_srcdir)/../automake/*.am. * libc/Makefile.am: Include $(top_srcdir)/../automake/*.am. * machine/Makefile.am: Include $(top_srcdir)/../automake/*.am. * net/Makefile.am: Include $(top_srcdir)/../automake/*.am. * netinet/Makefile.am: Include $(top_srcdir)/../automake/*.am. * nfs/Makefile.am: Include $(top_srcdir)/../automake/*.am. * rtems/Makefile.am: Include $(top_srcdir)/../automake/*.am. * sys/Makefile.am: Include $(top_srcdir)/../automake/*.am. * vm/Makefile.am: Include $(top_srcdir)/../automake/*.am. * wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* 2002-05-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-05-291-4/+4
| | | | | | | | | | | | | | | | | | Relocate c/src/libnetworking. * Makefile.am: Reflect moval. * machine/Makefile.am: Ditto. * net/Makefile.am: Ditto. * lib/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * vm/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * sys/Makefile.am: Ditto. * arpa/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * kern/Makefile.am: Ditto. * rtems/Makefile.am: Ditto. * configure.ac: Dittp. * wrapup/Makefile.am: Ditto. Remove references to networking apps.
* 2002-04-26 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-04-262-8/+16
| | | | | * netinet/in_cksum_i386.c: Add volatile so the more agressive optimization in gcc 3.1 does not reorder things.
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * arpa/Makefile.am: Remove AUTOMAKE_OPTIONS. * kern/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * lib/Makefile.am: Remove AUTOMAKE_OPTIONS. * libc/Makefile.am: Remove AUTOMAKE_OPTIONS. * machine/Makefile.am: Remove AUTOMAKE_OPTIONS. * net/Makefile.am: Remove AUTOMAKE_OPTIONS. * netinet/Makefile.am: Remove AUTOMAKE_OPTIONS. * nfs/Makefile.am: Remove AUTOMAKE_OPTIONS. * pppd/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtems/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtems_servers/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtems_telnetd/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtems_webserver/Makefile.am: Remove AUTOMAKE_OPTIONS. * sys/Makefile.am: Remove AUTOMAKE_OPTIONS. * vm/Makefile.am: Remove AUTOMAKE_OPTIONS. * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
* 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-271-1/+1
| | | | | | | | | | | | | | | * machine/Makefile.am: Use 'PREINSTALL_FILES ='. * net/Makefile.am: Use 'PREINSTALL_FILES ='. * netinet/Makefile.am: Use 'PREINSTALL_FILES ='. * vm/Makefile.am: Use 'PREINSTALL_FILES ='. * pppd/Makefile.am: Use 'PREINSTALL_FILES ='. * sys/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_servers/Makefile.am: Use 'PREINSTALL_FILES ='. * arpa/Makefile.am: Use 'PREINSTALL_FILES ='. * nfs/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_webserver/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_telnetd/Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-051-4/+4
| | | | | | | | | | | * Makefile.am, arpa/Makefile.am, machine/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, sys/Makefile.am, vm/Makefile.am: Apply include_*HEADERS instead of H_FILES. * include/Makefile.am: Remove. * Makefile.am: Add handling of *.h files. * configure.in: Remove include/Makefile.
* 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-051-5/+5
| | | | | | | * kern/Makefile.am, lib/Makefile.am, libc/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, pppd/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, wrapup/Makefile.am: Include compile.am
* 2000-08-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-011-1/+1
| | | | * netinet/tcp_input.c: Spelling corrections.
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-122-10/+27
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-131-0/+2
| | | | adds .cvsignore.
* Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-02-031-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.
* Patch from Eric Norum <eric@cls.usask.ca> to address the following problemJoel Sherrill1999-10-251-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.
* Added PowerPC specific header checksum code.Joel Sherrill1999-02-042-68/+10
|
* Modified to include comments on how to get TCPDEBUG turned on andJoel Sherrill1999-02-041-1/+1
| | | | printing messages.
* Added debug #define and commented it out.Joel Sherrill1999-02-021-0/+1
|
* Added PowerPC specific in_cksum file.Joel Sherrill1999-02-021-0/+4
|
* New file. Based on the i386 version.Joel Sherrill1999-02-022-0/+404
|
* Switched from printf() to puts().Joel Sherrill1999-01-261-1/+1
|
* Patch from D. V. Henkel-Wallace <gumby@zembu.com> to use puts and have ↵Joel Sherrill1999-01-042-2/+6
| | | | prototype.
* Patch from D. V. Henkel-Wallace <gumby@zembu.com> to fix braces nesting problem.Joel Sherrill1999-01-041-1/+2
|
* Patch from Eric Norum and David Fiddes to put ColdFire support inJoel Sherrill1998-09-212-16/+18
| | | | the inet checksum routine.
* Patch from "David J. Fiddes" <D.J@fiddes.surfaid.org>:Joel Sherrill1998-09-112-252/+74
| | | | | | | | | | | 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.
* Patch from David Fiddes <D.J.Fiddes@hw.ac.uk> to make this compileJoel Sherrill1998-09-102-2/+2
| | | | for the ColdFire.
* Added i386 specific version of in_cksum.c and restructured the mainJoel Sherrill1998-08-215-151/+1024
| | | | file to switch out to CPU specific implementations.
* Another missing piece. Thanks Eric.Joel Sherrill1998-08-211-0/+3
|
* All warnings removed.Joel Sherrill1998-08-213-4/+4
|
* Fixed many warnings.Joel Sherrill1998-08-204-5/+9
|
* Base filesJoel Sherrill1998-08-1943-0/+20297