| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
PR 1277/networking
* libnetworking/netinet/in_cksum_i386.h: Use q instead of r in
constraint for assembly language. This restricts the register choice
to the a-d registers.
|
|
|
|
|
|
|
|
| |
PR 1248/networking
* libnetworking/rtems/rtems_glue.c: Luke Stras <luke@spacequest.com>
reported that when no interfaces are successfully attached, the
default route is broken and may result in a jump to an illegal
address.
|
| |
|
|
|
|
|
|
|
| |
* libnetworking/sys/conf.h: Don't include machine/conf.h.
Update copyright notice.
* libnetworking/Makefile.am: Remove machine/conf.h.
* libnetworking/machine/conf.h: Remove.
|
|
|
|
|
| |
* libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
(Clash with termiostypes.h - PR 1229).
|
|
|
|
| |
* libnetworking/resolv.h: Typo fixes. Remove __P().
|
|
|
|
|
| |
* libnetworking/vm/vm_extern.h: Remove non-implemented/unused
functions.
|
|
|
|
|
| |
* libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
Remove isblank (supposed to be provided by libc).
|
|
|
|
|
|
|
| |
* libnetworking/rtems/rtems_mii_ioctl.c,
* libnetworking/rtems/rtems_mii_ioctl.h,
* libnetworking/rtems/rtems_mii_ioctl_kern.c:
Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libnetworking/netdb.h, libnetworking/libc/gethostbyht.c,
libnetworking/libc/gethostnamadr.c: This patch adds a functional
gethostbyname_r to RTEMS. We were having problems with multiple
threads calling gethostbyname, so we decided the best way to deal
with it was to do it properly, rather than kludge up our code to make
gethostbyname safe. We have found several slightly different
parameter lists for this function, it does not seem to be standard.
The one we used has the linux interface. In RTEMS there was an
existing gethostbyname_r inside a #ifdef _THREAD_SAFE which was NOT
Threadsafe, as this just called gethostbyname. So we have placed all
of the additional code inside the #ifdef _THREAD_SAFE.
|
|
|
|
|
| |
* libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding
prototype of malloc.
|
|
|
|
|
| |
* libnetworking/netinet/in_cksum.c: Joel should have used int32_t not
uint32_t when removing warnings.
|
|
|
|
| |
* libnetworking/net/if_loop.c: Remove warning.
|
| |
|
| |
|
|
|
|
|
|
| |
* libcsupport/src/malloc.c, libnetworking/rtems/rtems_glue.c,
libnetworking/sys/mbuf.h: Remove warnings -- use uintptr_t or
properly sized integers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ftpd/ftpd.c, libcsupport/include/sys/ioccom.h,
libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c,
libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h,
libnetworking/net/if.c, libnetworking/net/if_ethersubr.c,
libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h,
libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c,
libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c,
libnetworking/rtems/rtems_bsdnet_internal.h,
libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings
due to improper use of int which shows up on 16 bit targets. Added
ioctl_command_t since IOCTL command argument does not reliably fit
into 16 bits.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libcsupport/include/sys/ioccom.h, libnetworking/kern/uipc_socket2.c,
libnetworking/net/ethernet.h, libnetworking/net/if.h,
libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c,
libnetworking/net/if_pppvar.h, libnetworking/net/ppp_tty.c,
libnetworking/net/pppcompress.c, libnetworking/net/slcompress.c,
libnetworking/netinet/in.h, libnetworking/netinet/ip_icmp.c,
libnetworking/netinet/tcp.h, libnetworking/netinet/tcp_seq.h,
libnetworking/sys/protosw.h, libnetworking/sys/socketvar.h: Remove
warnings. Most of the warnings were 16/32 bit integer sizing issues.
Some constants had L appended, some had casts add, some types were
changed to reflect a bit width requirement.
|
|
|
|
|
|
|
|
| |
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c,
libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c,
libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c,
libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf
format warnings.
|
|
|
|
|
|
| |
* libcsupport/src/utsname.c, libnetworking/libc/res_debug.c,
libnetworking/net/if_media.h, libnetworking/rtems/rtems_mii_ioctl.c,
librpc/src/rpc/svc_simple.c: Remove printf format warnings.
|
|
|
|
|
| |
Return error for unknown/unsupported ioctl command.
(Change merged from freeBSD).
|
|
|
|
|
|
| |
* libnetworking/kern/kern_sysctl.c: Change int to int32_t.
* libnetworking/net/if_loop.c: Add cast to long.
These plus a patch to machine/param.h let the h8300 build multilib.
|
|
|
|
|
| |
fixed wrong calculation of 1000baseTx autonegotiation
result.
|
|
|
|
|
| |
read ANER and include partner's autoneg
capability when determining active link parameters.
|
|
|
|
|
|
|
| |
* libnetworking/machine/in_cksum.h: Replaced PPC and
i386 assembly algorithms (must not assume carry bit is preserved
across multiple asms). Added packet header as a 'm' input
operand for all CPU variants. Added carry bit to clobber list.
|
| |
|
|
|
|
|
| |
* libnetworking/net/if_var.h: #include <sys/queue.h>.
Cosmetics from FreeBSD.
|
| |
|
| |
|
|
|
|
| |
Patch from Steven Johnson <sjohnson@sakuraindustries.com>
|
|
|
|
|
|
|
|
| |
PR 949/networking
* libnetworking/sys/socket.h: GNU/Linux is wrong in making
MSG_DONTWAIT public. It is strictly BSD and not SUSV. See
http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html for clarification.
|
|
|
|
|
| |
PR 949/networking
* libnetworking/sys/socket.h: Make MSG_DONTWAIT public as in GNU/Linux.
|
| |
|
| |
|
|
|
|
| |
* libnetworking/rtems/rtems_mii_ioctl.h: Fix formatting.
|
| |
|
| |
|
|
|
|
|
| |
* libnetworking/net/if_media.h, libnetworking/dev/mii/mii.h:
New (Moved from c/src/libchip).
|
|
|
|
|
|
|
|
| |
* libnetworking/net/if.h: Add forward reference declaration to
struct mbuf so ifru_tap callback is properly typed.
* libnetworking/rtems/rtems_bsdnet.h: Add definition of _BSD_VISIBLE
which needs to be defined so various pieces of the .h files are
visible to device drives.
|
| |
|
|
|
|
|
|
|
|
|
| |
* libnetworking/Makefile.am,
libnetworking/preinstall.am: Added simple implementation of ethernet
media ioctl SIOCSIFMEDIA/SIOCGIFMEDIA for mii compliant phys.
* libnetworking/rtems/rtems_mii_ioctl.c,
libnetworking/rtems/rtems_mii_ioctl.h,
libnetworking/rtems/rtems_mii_ioctl_kern.c: New files.
|
|
|
|
|
|
| |
PR 842/networking
* libnetworking/libc/gethostbydns.c: Avoid use of dprintf(). Rename
dprintf to debugprintf().
|
|
|
|
|
|
| |
* libnetworking/net/zlib.c: Remove.
* libnetworking/net/zlib.h: Remove.
* libnetworking/Makefile.am: Reflect changes above.
|
| |
|
| |
|
|
|
|
| |
* libnetworking/Makefile.am: Don't install loop.h.
|
| |
|