summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-05-24Regenerate.Ralf Corsepius4-25/+4
2005-05-242005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+7
* libnetworking/netinet/ip.h: Remove BYTE_PACK. Add __packed. Partial update from FreeBSD. * libnetworking/netinet/ip_divert.c: Cosmetics from FreeBSD.
2005-05-24Cosmetics from FreeBSD.Ralf Corsepius1-10/+7
2005-05-24Remove BYTE_PACK.Ralf Corsepius1-9/+14
Add __packed. Partial update from FreeBSD.
2005-05-24Add "ICMP panic avoided" diagnostic counter.Eric Norum3-2/+12
2005-05-232005-05-23 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* Makefile.am: Remove ada. * configure.ac: Remove ada.
2005-05-23Remove ada.Ralf Corsepius2-16/+1
2005-05-23Remove.Ralf Corsepius8-3747/+0
2005-05-212005-05-21 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+2
* libnetworking/netinet/ip_icmp.c: Partial update from FreeBSD. * libnetworking/sys/mbuf.h: Partial update from FreeBSD.
2005-05-21Partial update from FreeBSD.Ralf Corsepius2-57/+45
2005-05-212005-05-21 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2-31/+47
* libnetworking/netinet/ip_icmp.h: Update from FreeBSD. Abandon BYTE_PACK.
2005-05-212005-05-21 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+4
* libnetworking/netdb.h: Update from FreeBSD.
2005-05-21Update from FreeBSD.Ralf Corsepius1-46/+56
2005-05-202005-05-20 Sergei Organov <osv@javad.ru>Joel Sherrill2-1/+7
PR networking/772. * libnetworking/rtems/rtems_select.c (socket_select): fixed bug setting SB_WAIT flag of so_rcv instead of so_snd when FWRITE.
2005-05-202005-05-20 Sergei Organov <osv@topconrd.ru>Joel Sherrill1-4/+12
PR 750/networking * libnetworking/pppd/sys-rtems.c: Avoid NULL dereference in wait_input().
2005-05-202005-05-20 Chris Johns <chrisj@rtems.org>Joel Sherrill3-2/+6
* rtems/score/cpu.h, rtems/score/m68k.h: Change declaration of _VBR.
2005-05-20Added PR775.Joel Sherrill1-0/+1
2005-05-202005-05-20 Sergei Organov <osv@topconrd.ru>Joel Sherrill2-1/+6
PR 749/networking * libnetworking/rtems/rtems_showroute.c: Avoid NULL dereference.
2005-05-202005-05-14 Sergei Organov <osv@topconrd.ru>Joel Sherrill18-90/+605
PR 746/rtems Optimize realloc(). The problem is that realloc() can neither grow nor shrink efficiently the current memory region without support from underlying heap/region modules. The patch introduces one new routine for each of heap and region modules, _Heap_Resize_block(), and rtems_region_resize_segment(), respectively, and uses the latter to optimize realloc(). The implementation of _Heap_Resize_block() lead to changing of the heap allocation strategy: now the heap manager, when splits larger free block into used and new free parts, makes the first part of the block used, not the last one as it was before. Due to this new strategy, _Heap_Resize_block() never needs to change the user pointer. Caveat: unlike previous heap implementation, first few bytes of the contents of the memory allocated from the heap are now almost never all zero. This can trigger bugs in client code that have not been visible before this patch. * libcsupport/src/malloc.c (realloc): try to resize segment in place using new rtems_region_resize_segment() routine before falling back to the malloc()/free() method. * score/src/heap.c: (_Heap_Initialize): change initial heap layout to reflect new allocation strategy of using of the lower part of a previously free block when splitting it for the purpose of allocation. (_Heap_Block_allocate): when split, make the lower part used, and leave the upper part free. Return type changed from Heap_Block* to uint32_t. * score/include/rtems/score/heap.h: (Heap_Statistics): added 'resizes' field. (Heap_Resize_status): new enum. (_Heap_Resize_block): new routine. (_Heap_Block_allocate): return type changed from Heap_Block* to uint32_t. * score/src/heapwalk.c: reflect new heap layout in checks. * score/src/heapsizeofuserarea.c: more assertions added. * score/src/heapresizeblock.c: new file. (_Heap_Resize_block): new routine. * score/src/heapfree.c: reverse the checks _Heap_Is_block_in() and _Heap_Is_prev_used() on entry to be in this order. * score/src/heapallocate.c, score/src/heapallocatealigned.c: ignore return value of _Heap_Block_allocate(). * score/Makefile.am (HEAP_C_FILES): added src/heapresizeblock.c. * rtems/include/rtems/rtems/region.h: (rtems_region_resize_segment): new interface routine. (_Region_Process_queue): new internal routine called from rtems_region_resize_segment() and rtems_region_return_segment(). * rtems/src/regionreturnsegment.c: move queue management code into the new internal routine _Region_Process_queue() and call it. * rtems/src/regionresizesegment.c: new file. (rtems_region_resize_segment): new interface routine. * rtems/src/regionprocessqueue.c: new file. (_Region_Process_queue): new internal routine containing queue management code factored out from 'regionreturnsegment.c'. * rtems/Makefile.am (REGION_C_FILES): Added src/regionresizesegment.c, and src/regionprocessqueue.c. * ada/rtems.adb, ada/rtems.ads: Added Region_Resize_Segment.
2005-05-202005-05-20 Eric Norum <norume@aps.anl.gov>Joel Sherrill2-3/+10
PR 793/networking * libnetworking/netinet/ip_icmp.c: Malicious ICMP packet causes panic. Just ignore it.
2005-05-182005-05-18 Chris Johns <chrisj@rtems.org>Chris Johns2-4/+13
* libmisc/capture/capture-cli.c: Fix the output of ctload when there exists a large number of tasks.
2005-05-172005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-1/+0
* Makefile.am, preinstall.am: Added a common irq.h * include/rtems/irq.h: New file.
2005-05-172005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett1-0/+6
* Makefile.am, preinstall.am: Added a common irq.h * include/rtems/irq.h: New file.
2005-05-172005-05-17 Jennifer Averett <jennifer.averett@oarcorp.com>Jennifer Averett3-0/+225
* Makefile.am, preinstall.am: Added a common irq.h * include/rtems/irq.h: New file.
2005-05-142005-05-14 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius3-50/+33
* libnetworking/netinet/tcp_usrreq.c: Cosmetics from FreeBSD. * libnetworking/netinet/tcp_subr.c: Partical update from FreeBSD.
2005-05-122005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+3
* configure.ac: Let --enable-deprecated default to "no".
2005-05-122005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+3
* libnetworking/net/if_arp.h: Remove BYTE_PACK. * libnetworking/net/if_llc.h: Update from FreeBSD, add __packed. * libnetworking/net/route.h: Partial update from FreeBSD.
2005-05-12Partial update from FreeBSD.Ralf Corsepius1-17/+14
2005-05-12Update from FreeBSD, add __packed.Ralf Corsepius1-42/+63
2005-05-12Remove BYTE_PACK.Ralf Corsepius1-9/+9
2005-05-122005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2-32/+45
* libnetworking/netinet/if_ether.c: Partial update from FreeBSD.
2005-05-122005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius3-76/+93
* libnetworking/netinet/tcp_var.h: Partial update from FreeBSD. * libnetworking/netinet/tcp_input.c: Reflect changes to tcp_var.h.
2005-05-122005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2-20/+33
* libnetworking/netinet/tcp.h: Partial update from FreeBSD. Remove BYTE_PACK.
2005-05-122005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2-28/+34
* libnetworking/netinet/ip_var.h: Partial update from FreeBSD. Remove some useless BYTE_PACKs.
2005-05-122005-05-12 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+7
PR 784/networking * libnetworking/net/if_arp.h, libnetworking/netinet/if_ether.h, libnetworking/netinet/ip_icmp.h, libnetworking/netinet/ip_var.h, libnetworking/netinet/tcp.h: Define BYTE_PACK.
2005-05-12Define BYTE_PACK.Ralf Corsepius5-1/+17
2005-05-112005-05-11 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* libnetworking/net/rtsock.c: Abandon AF_NS. * libnetworking/sys/socket.h: Abandon AF_NS, PF_NS.
2005-05-11Abandon AF_NS, PF_NS.Ralf Corsepius1-2/+2
2005-05-11Abandon AF_NS.Ralf Corsepius1-4/+0
2005-05-102005-05-10 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+1
* httpd/socket.c: socklen_t.
2005-05-10socklen_t.Ralf Corsepius1-2/+3
2005-05-102005-05-10 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* librpc/include/rpc/svc.h: Cosmetical update from FreeBSD. * librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/clnt_udp.c, librpc/src/rpc/pmap_rmt.c, librpc/src/rpc/rtime.c, librpc/src/rpc/svc_tcp.c, librpc/src/rpc/svc_udp.c: socklen_t. * ftpd/ftpd.c: socklen_t.
2005-05-10socklen_t.Ralf Corsepius8-11/+12
2005-05-10Cosmetical update from FreeBSD.Ralf Corsepius1-41/+42
2005-05-10Include preinstall.am.Ralf Corsepius1-20/+3
2005-05-10New.Ralf Corsepius1-0/+27
2005-05-102005-05-10 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+6
* libnetworking/lib/rtems_bsdnet_ntp.c: socklen_t. * libnetworking/libc/rcmd.c: socklen_t. * libnetworking/libc/res_send.c: socklen_t.
2005-05-10socklen_t.Ralf Corsepius3-3/+3
2005-05-102005-05-10 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* libnetworking/net/if.h: Remove IFI_* (obsolete, unused). * libnetworking/net/if_var.h: Remove if_ipending (obsolete, unused).
2005-05-10Remove if_ipending (obsolete, unused).Ralf Corsepius1-2/+1