| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* libnetworking/lib/syslog.c: Fix spelling mistake.
* libnetworking/sys/uio.h: Partial update from FreeBSD.
* libnetworking/kern/kern_subr.c: Reflect changes above.
|
|
|
|
| |
* libblock/include/rtems/ide_part_table.h: Add C++ guards.
|
|
|
|
|
| |
* libnetworking/net/if.h: Avoid use of struct mbuf to avoid unintended
dependencies added by the RTEMS specific tap interface.
|
|
|
|
|
|
|
| |
PR 790/rtems
* sapi/src/extensioncreate.c, sapi/src/extensionident.c: Correct use of
name. This was missed when the other ident services in rtems/src
where changed.
|
|
|
|
|
|
| |
* libnetworking/net/if.h: Partial update from FreeBSD.
* libnetworking/netinet/if_ether.h: Remove BYTE_PACK.
* libnetworking/netinet/ip_var.h: Remove BYTE_PACK.
|
|
|
|
| |
* librpc/include/rpc/clnt.h: Partial update from FreeBSD.
|
|
|
|
|
|
| |
* libnetworking/lib/ftpfs.c, librpc/include/rpc/svc.h,
librpc/src/rpc/get_myaddress.c, librpc/src/rpc/pmap_getmaps.c,
librpc/src/rpc/pmap_getport.c: Remove warnings.
|
|
|
|
|
|
| |
* librpc/include/rpc/clnt.h, librpc/include/rpc/svc.h,
src/rpc/pmap_rmt.c: Use void* instead of caddr_t.
Cosmetics from FreeBSD.
|
|
|
|
|
|
| |
* librpc/include/rpc/auth_des.h: Remove (Unused, unsupported).
* librpc/include/rpc/rpc.h, librpc/Makefile.am: Reflect removing
auth_des.h.
|
|
|
|
|
| |
* include/rpc/rpc_com.h, include/rpc/rpc_msg.h,
src/rpc/svc_simple.c: Minor fixes.
|
| |
|
|
|
|
|
| |
* librpc/include/rpc/clnt.h, librpc/include/rpc/clnt_soc.h,
src/rpc/clnt_perror.c: More updates from FreeBSD.
|
|
|
|
| |
* librpc/include/rpc/svc.h: Partial update from FreeBSD.
|
|
|
|
| |
* librpc/include/rpc/clnt.h: Partial update from FreeBSD.
|
|
|
|
|
|
| |
* librpc/include/rpc/clnt_soc.h, librpc/include/rpc/svc_soc.h:
New (Partial update from FreeBSD).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
| |
* librpc/include/rpc/des_crypt.h: Remove (Unused, unsupported).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
| |
* librpc/include/rpc/des.h: Remove (Unused, unsupported).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* librpc/src/rpc/auth_des.c,
librpc/src/rpc/auth_time.c,
librpc/src/rpc/authdes_prot.c,
librpc/src/rpc/clnt_unix.c,
librpc/src/rpc/crypt_client.c,
librpc/src/rpc/des_crypt.c,
librpc/src/rpc/des_soft.c,
librpc/src/rpc/getpublickey.c,
librpc/src/rpc/key_call.c,
librpc/src/rpc/key_prot_xdr.c,
librpc/src/rpc/svc_auth_des.c,
librpc/src/rpc/svc_unix.c: Remove (Unused, obsolete).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
| |
* librpc/src/rpc/PSD.doc/rpc.prog.ms,
librpc/src/rpc/PSD.doc/rpcgen.ms,
librpc/src/rpc/PSD.doc/nfs.rfc.ms,
librpc/src/rpc/PSD.doc/xdr.rfc.ms,
librpc/src/rpc/PSD.doc/rpc.rfc.ms,
librpc/src/rpc/PSD.doc/xdr.nts.ms:
Remove (Unused, obsolete).
* librpc/Makefile.am: Reflect changes above.
|
| |
|
|
|
|
|
| |
* libnetworking/arpa/telnet.h: Remove (Unused, Non-POSIX/SUSV3).
* libnetworking/Makefile.am: Reflect removing arpa/telnet.h.
|
|
|
|
|
| |
* libnetworking/arpa/nameser.h: Update from FreeBSD.
* libnetworking/libc/ns_parse.c: Reflect changes above.
|
|
|
|
|
|
| |
* libnetworking/netinet/ip.h: Remove BYTE_PACK.
Add __packed. Partial update from FreeBSD.
* libnetworking/netinet/ip_divert.c: Cosmetics from FreeBSD.
|
| |
|
|
|
|
|
| |
* Makefile.am: Remove ada.
* configure.ac: Remove ada.
|
|
|
|
|
| |
* libnetworking/netinet/ip_icmp.c: Partial update from FreeBSD.
* libnetworking/sys/mbuf.h: Partial update from FreeBSD.
|
|
|
|
|
| |
* libnetworking/netinet/ip_icmp.h: Update from FreeBSD.
Abandon BYTE_PACK.
|
|
|
|
| |
* libnetworking/netdb.h: Update from FreeBSD.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
PR 749/networking
* libnetworking/rtems/rtems_showroute.c: Avoid NULL dereference.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 793/networking
* libnetworking/netinet/ip_icmp.c: Malicious ICMP packet causes panic.
Just ignore it.
|
|
|
|
|
| |
* libmisc/capture/capture-cli.c: Fix the output of ctload when
there exists a large number of tasks.
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Added a common irq.h
* include/rtems/irq.h: New file.
|
|
|
|
|
| |
* Makefile.am, preinstall.am: Added a common irq.h
* include/rtems/irq.h: New file.
|
|
|
|
|
| |
* libnetworking/netinet/tcp_usrreq.c: Cosmetics from FreeBSD.
* libnetworking/netinet/tcp_subr.c: Partical update from FreeBSD.
|
|
|
|
| |
* configure.ac: Let --enable-deprecated default to "no".
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* libnetworking/netinet/if_ether.c: Partial update from FreeBSD.
|
|
|
|
|
| |
* libnetworking/netinet/tcp_var.h: Partial update from FreeBSD.
* libnetworking/netinet/tcp_input.c: Reflect changes to tcp_var.h.
|
|
|
|
|
| |
* libnetworking/netinet/tcp.h: Partial update from FreeBSD.
Remove BYTE_PACK.
|
|
|
|
|
| |
* libnetworking/netinet/ip_var.h: Partial update from FreeBSD.
Remove some useless BYTE_PACKs.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* libnetworking/net/rtsock.c: Abandon AF_NS.
* libnetworking/sys/socket.h: Abandon AF_NS, PF_NS.
|
|
|
|
| |
* httpd/socket.c: socklen_t.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* libnetworking/lib/rtems_bsdnet_ntp.c: socklen_t.
* libnetworking/libc/rcmd.c: socklen_t.
* libnetworking/libc/res_send.c: socklen_t.
|
|
|
|
|
| |
* libnetworking/net/if.h: Remove IFI_* (obsolete, unused).
* libnetworking/net/if_var.h: Remove if_ipending (obsolete, unused).
|