| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR 476/networking
* machine/in_cksum.h: Fix in_cksum calculation on SPARC.
|
|
|
|
|
|
| |
PR 435/networking
* rtems/rtems_showifstat.c: rtems_showifstat misses printing
the netmask
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Remove (Merged into ../configure.ac).
* Makefile.am, libc/Makefile.am, lib/Makefile.am, wrapup/Makefile.am:
Reflect having merged configure.ac into ../configure.ac.
* kern/kern_mib.c: Use RTEMS_VERSION to setup osrelease.
|
|
|
|
| |
* rtems/rtems_syscall.c: Removed warnings.
|
| |
|
| |
|
|
|
|
|
|
| |
PR 388/networking
* kern/kern_sysctl.c: Revert previous patch and use strlcpy() now that
it is available. Also fixed some warnings.
|
|
|
|
| |
* kern/kern_sysctl.c: Converted from BSP strlcpy() to strncpy().
|
|
|
|
| |
* rtems/rtems_bsdnet_malloc_starvation.c: Fixed name of include file.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 374/networking
* Makefile.am, rtems/rtems_bsdnet.h, rtems/rtems_glue.c:
The patch sent as part of PR270 got applied to the wrong place.
The effect was that (1) startup was no faster than before and
(2) malloc starvation messages came way too quickly. The attached
patch fixes both these problems and also provides a mechanism for
applications to handle malloc starvation conditions as they see fit.
* rtems/rtems_bsdnet_malloc_starvation.c: New file.
|
|
|
|
|
|
|
|
|
| |
PR 356/bsps
* sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant.
Declare all linker-script defined addresses as
variables of unknown size and not as short objects
like 'int', 'void*' etc. Since only addresses are used and never those
variable's values, the type used in a declaration is not important.
|
| |
|
|
|
|
|
|
| |
PR 351/networking
* nfs/bootp_subr.c: Fix ridiculous leak in bootp and use
strdup_bootp_realloc() everywhere for sake of consistency.
|
|
|
|
|
|
|
|
|
|
| |
* rtems/rtems_glue.c: A small patch to the network daemon task
code. I just added code to check the return value of
the rtems_bsdnet_event_receive function. Only when
this function returns a SUCCESSFUL status, will the
event flags be checked. This is more of a code cleanup issue
than a bug. The patch will just ensure the ipintr() and
arpintr() functions are only called when a event is signaled.
|
|
|
|
| |
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
|
|
|
| |
* configure.ac: AC_PREREQ(2.57).
|
|
|
|
|
|
|
|
|
|
| |
PR 342/networking
* kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing
the m_len value of the mbuf. I looked into the source from another
BSD system and the mbuf length is not changed inside this function.
The m_copyback function is only being used in the net/rtsock.c file.
So I think this problem is only visable under certain routing table
conditions.
|
|
|
|
|
|
| |
PR 341/networking
* lib/ftpfs.c: Account for NULL at end of strings when malloc()'ing
memory.
|
|
|
|
|
|
| |
* Makefile.am: Add kern/kern_sysctl.c to Makefile.am so networking
tests build. This was subsequently reported as PR337 before I
committed the fix.
|
|
|
|
|
| |
* libc/getproto.c, libc/getprotoname.c: modification to call
getprotoent_static() if fopen() on /etc/protocols fails.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* sys/queue.h: Fix alignment problem on ARM.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* configure.ac: Fix package name.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Merge-in arpa/Makefile.am, machine/Makefile.am,
sys/Makefile.am, vm/Makefile.am.
Add . to SUBDIRS.
* arpa/Makefile.am: Remove.
* machine/Makefile.am: Remove.
* sys/Makefile.am: Remove.
* vm/Makefile.am: Remove.
* configure.ac: Reflect changes above.
|
|
|
|
| |
* sys/select.h: Add C++ to C external.
|
| |
|
|
|
|
|
| |
* kern/uipc_mbuf.c: Comment out m0 in m_copydata to suppress
warning.
|
|
|
|
| |
* ChangeLog: Corrected.
|
| |
|
|
|
|
|
| |
use bootp option 129 to get command line string
change inet_ntoa->inet_ntop
|
|
|
|
| |
* libc/rcmd.c, netinet/in_cksum_arm.c: Removed warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass to eliminate warnings.
* kern/uipc_mbuf.c: Conditional SYSINIT() usage on __rtems__.
Fix return statement without a value.
* lib/ftpfs.c: read and write filesystem routines return ssize_t.
* lib/syslog.c: Add include of <string.h> to eliminate warning.
* lib/tftpDriver.c: read and write filesystem routines return ssize_t.
* libc/gethostbydns.c: Prototype abort().
* libc/inet_ntoa.c: Prototype strcpy().
* libc/rcmd.c: Add include of <sys/select.h>
* net/if_loop.c: Turn token at end of endif to comment.
* net/rtsock.c, nfs/bootp_subr.c: Conditional SYSINIT() usage
on __rtems__.
* rtems/rtems_bootp.c: Add include of <rtems/rtems_bsdnet_internal.h>.
* rtems/rtems_bsdnet_internal.h: Added prototypes for memcpy() and
memset() since the BSD code tries to avoid using libc .h files
since it is used to being in the kernel.
* rtems/rtems_syscall.c: read and write filesystem routines
return ssize_t.
|
|
|
|
| |
* configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
|
|
|
|
| |
* Makefile.am: Remove bogus reference to CHANGELOG.
|
|
|
|
|
|
| |
* .cvsignore: Reformat.
Add autom4te*cache.
Remove autom4te.cache.
|
|
|
|
|
| |
* net/if_ethersubr.c: Add comments to #endif NETATALK to stop
gcc from complaining.
|
|
|
|
|
| |
* netinet/tcp_var.h: Corrected typo in ARM alignment patch which
broke all other ports.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* rtems/rtems_glue.c: Add IP aliasing ioctls SIOCAIFADDR and
SIOCDIFADDR.
|
|
|
|
|
| |
* kern/uipc_socket.c: Make sure that small non-zero delays work.
Suggested cleanup from Eric Norum.
|
|
|
|
|
| |
* rtems/mkrootfs.c: As part of PR283, remove redundant code that
creates /etc/passwd and /etc/group.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* kern/uipc_socket.c: Fix case on SO_RCVTIMEO and SO_SNDTIMEO where
conversion into ticks can result in a 0 ticks timeout which is
the same as requesting no timeout. Reported by Sergei Organov
<osv@javad.ru>.
|
|
|
|
|
|
|
| |
* 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.
|