Ralf Corsepius
d74c13b7f4
Partial update from FreeBSD.
2005-09-16 06:11:06 +00:00
Ralf Corsepius
fd65489a88
Remove BYTE_PACK.
2005-05-27 15:21:48 +00:00
Ralf Corsepius
a8d7bab3a9
2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* librpc/include/rpc/clnt.h: Partial update from FreeBSD.
2005-05-27 15:05:37 +00:00
Ralf Corsepius
23bf086596
Cosmetics from FreeBSD.
2005-05-24 04:25:19 +00:00
Ralf Corsepius
7adcf0377f
Remove BYTE_PACK.
...
Add __packed.
Partial update from FreeBSD.
2005-05-24 04:24:59 +00:00
Eric Norum
2a94c85420
Add "ICMP panic avoided" diagnostic counter.
2005-05-24 00:36:35 +00:00
Ralf Corsepius
a736847cb3
Partial update from FreeBSD.
2005-05-21 16:31:28 +00:00
Ralf Corsepius
3641cf08d0
2005-05-21 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip_icmp.h: Update from FreeBSD.
Abandon BYTE_PACK.
2005-05-21 13:44:25 +00:00
Joel Sherrill
4e8c729f7f
2005-05-20 Eric Norum <norume@aps.anl.gov>
...
PR 793/networking
* libnetworking/netinet/ip_icmp.c: Malicious ICMP packet causes panic.
Just ignore it.
2005-05-20 18:56:42 +00:00
Ralf Corsepius
f583bb2c07
2005-05-14 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/tcp_usrreq.c: Cosmetics from FreeBSD.
* libnetworking/netinet/tcp_subr.c: Partical update from FreeBSD.
2005-05-14 07:08:17 +00:00
Ralf Corsepius
08baecaba2
2005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/if_ether.c: Partial update from FreeBSD.
2005-05-12 08:28:04 +00:00
Ralf Corsepius
3eb8b6e82e
2005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/tcp_var.h: Partial update from FreeBSD.
* libnetworking/netinet/tcp_input.c: Reflect changes to tcp_var.h.
2005-05-12 06:28:04 +00:00
Ralf Corsepius
64c67f6b53
2005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/tcp.h: Partial update from FreeBSD.
Remove BYTE_PACK.
2005-05-12 06:20:10 +00:00
Ralf Corsepius
e714a91e2b
2005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libnetworking/netinet/ip_var.h: Partial update from FreeBSD.
Remove some useless BYTE_PACKs.
2005-05-12 04:27:01 +00:00
Ralf Corsepius
954e959146
Define BYTE_PACK.
2005-05-12 03:42:44 +00:00
Ralf Corsepius
9e7678d2af
Partial update from FreeBSD.
2005-05-09 13:12:45 +00:00
Ralf Corsepius
4f792aec92
Sync in_port_t with arpa/inet.h.
2005-05-08 09:17:58 +00:00
Ralf Corsepius
5fce938e11
Partial update from FreeBSD.
...
Remove BYTE_PACK.
2005-05-08 07:30:05 +00:00
Ralf Corsepius
55861c3343
Add BYTE_PACK.
2005-05-08 07:29:35 +00:00
Ralf Corsepius
cf29bcb979
Cosmetics from FreeBSD.
2005-05-08 06:40:09 +00:00
Ralf Corsepius
e1d54b8446
Cosmetics from FreeBSD.
2005-05-08 06:15:51 +00:00
Joel Sherrill
3274c87676
2005-04-28 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/kern/kern_sysctl.c, libnetworking/libc/inet_ntop.c,
libnetworking/net/if_ppp.c, libnetworking/net/pppcompress.c,
libnetworking/net/slcompress.c, libnetworking/netinet/ip_output.c,
libnetworking/netinet/udp_usrreq.c, libnetworking/nfs/bootp_subr.c,
libnetworking/rtems/rtems_select.c,
libnetworking/rtems/rtems_showifstat.c,
libnetworking/rtems/rtems_showroute.c,
libnetworking/rtems/rtems_syscall.c: Fixed type mismatch and
uninitialized variable warnings.
2005-04-28 21:49:50 +00:00
Ralf Corsepius
e953e2df06
Partial updates from FreeBSD.
2005-04-15 06:29:42 +00:00
Ralf Corsepius
ef1f80ea30
Partial updates from FreeBSD.
2005-04-14 15:09:06 +00:00
Joel Sherrill
e9105d48b8
2005-03-14 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
...
* libnetworking/netinet/in_cksum_m68k.h: Change back to lcsum[12]_lbl
to temporary labels.
2005-03-14 21:45:33 +00:00
Joel Sherrill
c995cd6689
2005-03-10 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/netinet/in_cksum_m68k.h: Change back to lcsum[12]_lbl
since my fix did not fix all issues.
2005-03-10 21:46:12 +00:00
Joel Sherrill
c025abde80
2005-03-05 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/netinet/in_cksum_m68k.h: Change lcsum[12]_lbl to
temporary inline assembly labels to remove compilation error.
2005-03-05 23:53:37 +00:00
Ralf Corsepius
4c92297a3e
Misc. part. updates from FreeBSD.
2005-02-04 16:35:05 +00:00
Greg Menke
5194a28430
PR 730
...
* cpu_asm.S: Collected PR 601 changes for commit to cvshead
for rtems-4.7
2004-12-06 20:29:51 +00:00
Ralf Corsepius
751c51343c
2004-12-03 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libnetworking/net/if_ethersubr.c,
libnetworking/net/radix.h,
libnetworking/netinet/if_ether.h,
libnetworking/netinet/igmp_var.h,
libnetworking/netinet/in_var.h,
libnetworking/netinet/tcp_timer.h,
libnetworking/netinet/udp_usrreq.c,
libnetworking/rtems/rtems_glue.c:
Misc. updates from FreeBSD and bugfixes tripped by GCC-4.0.0.
2004-12-03 05:07:56 +00:00
Joel Sherrill
78219ad15b
2004-12-02 Joel Sherrill <joel@OARcorp.com>
...
* libnetworking/kern/kern_sysctl.c, libnetworking/netinet/ip_mroute.c,
libnetworking/sys/socketvar.h: Remove warnings.
2004-12-02 20:24:30 +00:00
Ralf Corsepius
dac1edba93
2004-12-02 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libnetworking/net/radix.c, libnetworking/net/radix.h,
libnetworking/net/route.h, libnetworking/netinet/if_ether.h,
libnetworking/netinet/in_var.h, libnetworking/netinet/tcp_timer.h,
libnetworking/netinet/udp_usrreq.c, libnetworking/netinet/udp_var.h,
libnetworking/sys/callout.h, libnetworking/sys/socketvar.h,
libnetworking/sys/sysctl.h: Cosmetics from FreeBSD.
2004-12-02 18:42:53 +00:00
Ralf Corsepius
50c0d1ff00
2004-04-30 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libnetworking/netinet/in.c: Partial update from FreeBSD.
2004-04-30 12:44:07 +00:00
Ralf Corsepius
d589e75279
2004-04-26 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libnetworking/netinet/igmp_var.h: Cosmetic updates from FreeBSD.
* libnetworking/sys/sysctl.h: Update from FreeBSD.
* libnetworking/sys/socketvar.h: Update from FreeBSD.
2004-04-26 11:46:52 +00:00
Ralf Corsepius
79e69da631
2004-04-22 Ralf Corsepius <ralf_corsepius@rtems.org>
...
* libnetworking/kern/uipc_socket.c: Partial update from FreeBSD
(Remove adv-clause from copyright notice).
* libnetworking/netinet/igmp_var.h: Partial update from FreeBSD.
2004-04-22 03:27:13 +00:00
Ralf Corsepius
dc28f16d8e
Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.
2004-04-20 12:28:19 +00:00
Ralf Corsepius
3239698d1f
Remove stray white spaces.
2004-04-15 13:26:21 +00:00
Ralf Corsepius
2609e83f77
Unused.
2004-03-08 16:26:41 +00:00
Ralf Corsepius
8dbe311c96
2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES.
Add PREINSTALL_FILES to CLEANFILES.
* netinet/in_cksum.c: #include netinet/in_cksum_<cpu>.h.
2004-01-14 05:23:13 +00:00
Ralf Corsepius
ae60724872
2004-01-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
PR/549 networking
* netinet/in_cksum_powerpc.h: New (copy of in_cksum_powerpc.c).
* netinet/in_cksum_powerpc.c: Remove.
* netinet/in_cksum_i386.h: New (copy of in_cksum_i386.c).
* netinet/in_cksum_i386.c: Remove.
* netinet/in_cksum_arm.h: New (copy of in_cksum_arm.c).
* netinet/in_cksum_arm.c: Remove.
* netinet/in_cksum_m68k.c: New (copy of in_cksum_m68k.c).
* netinet/in_cksum_m68k.c: Remove.
* netinet/Makefile.am: Reflect changes above.
2004-01-14 00:10:20 +00:00
Jennifer Averett
4e0576c023
2003-09-15 Jennifer Averett <jennifer@OARcorp.com>
...
PR 481/networking
* net/ethernet.h, net/if_arp.h, netinet/if_ether.h: Network structs
should be packed
2003-09-15 14:28:11 +00:00
Chris Johns
ef6d9efbeb
PR406 - Added INET_ADDRSTRLEN per the SUSv3 standard.
2003-05-15 09:27:03 +00:00
Ralf Corsepius
ec0a3462b0
Merger from rtems-4-6-branch.
2003-03-11 11:47:17 +00:00
Ralf Corsepius
d6c3d56acd
2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* 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.
2003-01-15 10:51:32 +00:00
Joel Sherrill
36799d4063
2002-11-26 Chris Johns <cjohns@cybertec.com.au>
...
* 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.
2003-01-03 18:09:57 +00:00
Ralf Corsepius
dd695d81b6
2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* 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-12 12:15:00 +00:00
Ralf Corsepius
a3dfa39b35
2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* 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-12-11 15:34:58 +00:00
Ralf Corsepius
9eadce0a5a
2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* 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-11-18 02:21:19 +00:00
Joel Sherrill
0647cc743f
2002-10-31 Joel Sherrill <joel@OARcorp.com>
...
* libc/rcmd.c, netinet/in_cksum_arm.c: Removed warnings.
2002-10-31 20:10:40 +00:00
Joel Sherrill
a63efae255
2002-10-07 Eric Norum <eric.norum@usask.ca>
...
* netinet/tcp_var.h: Corrected typo in ARM alignment patch which
broke all other ports.
2002-10-07 17:11:27 +00:00