Commit Graph

473 Commits

Author SHA1 Message Date
Joel Sherrill
90d2585a07 2006-09-14 Joel Sherrill <joel@OARcorp.com>
* libnetworking/net/route.c, librpc/src/rpc/auth_none.c,
	librpc/src/rpc/auth_unix.c, librpc/src/rpc/authunix_prot.c,
	librpc/src/rpc/rpc_callmsg.c, librpc/src/rpc/rpc_prot.c,
	librpc/src/rpc/rtems_portmapper.c: Removed warnings.
2006-09-14 19:09:06 +00:00
Joel Sherrill
5c1023a034 2006-09-13 Joel Sherrill <joel@OARcorp.com>
* libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding
	prototype of malloc.
2006-09-13 16:54:54 +00:00
Joel Sherrill
ea7fd1ec58 2006-09-11 Jerry Needell <jerry.needell@unh.edu>
* libnetworking/netinet/in_cksum.c: Joel should have used int32_t not
	uint32_t when removing warnings.
2006-09-11 17:34:10 +00:00
Joel Sherrill
d2efdeb170 2006-09-01 Joel Sherrill <joel@OARcorp.com>
* libnetworking/net/if_loop.c: Remove warning.
2006-09-01 21:21:43 +00:00
Joel Sherrill
cf04e8aca9 *** empty log message *** 2006-09-01 19:10:01 +00:00
Joel Sherrill
300c914c64 *** empty log message *** 2006-09-01 18:15:01 +00:00
Joel Sherrill
b3ee778ea9 2006-09-01 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/malloc.c, libnetworking/rtems/rtems_glue.c,
	libnetworking/sys/mbuf.h: Remove warnings -- use uintptr_t or
	properly sized integers.
2006-09-01 15:37:47 +00:00
Joel Sherrill
a009d94459 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* 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.
2006-08-31 01:10:02 +00:00
Joel Sherrill
ae5a79c349 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* 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.
2006-08-30 17:20:33 +00:00
Joel Sherrill
352332193c 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* 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.
2006-08-30 13:53:02 +00:00
Joel Sherrill
48b1e29a7d 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* 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.
2006-08-30 13:18:40 +00:00
Till Straumann
d5423d834a * libnetworking/net/if_ethersubr.c: (ether_ioctl)
Return error for unknown/unsupported ioctl command.
	(Change merged from freeBSD).
2006-08-22 02:11:32 +00:00
Joel Sherrill
5f88544369 2006-08-15 Joel Sherrill <joel@OARcorp.com>
* 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.
2006-08-15 11:08:14 +00:00
Till Straumann
8f6c409e41 * libnetworking/rtems/rtems_mii_ioctl_kern.c:
fixed wrong calculation of 1000baseTx autonegotiation
	result.
2006-08-10 22:04:07 +00:00
Till Straumann
a912777cf5 * libnetworking/rtems/rtems_mii_ioctl_kern.c:
read ANER and include partner's autoneg
	capability when determining active link parameters.
2006-08-09 00:01:55 +00:00
Till Straumann
47854a0d16 PR 1110/networking
* 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.
2006-07-13 01:27:30 +00:00
Thomas Doerfler
c9b005a9d2 applied patches for PR1117/1118/1119/1120 2006-07-09 10:05:27 +00:00
Ralf Corsepius
1de34b8fc3 2006-06-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_var.h: #include <sys/queue.h>.
	Cosmetics from FreeBSD.
2006-06-24 02:57:36 +00:00
Eric Norum
491d8825c9 Update icps_allecho counter. 2006-05-31 14:52:05 +00:00
Eric Norum
261e743d66 Add flag to inhibit ICMP replies. 2006-05-30 15:12:54 +00:00
Eric Norum
be31de713f Provide customisable mbuf allocation.
Patch from Steven Johnson <sjohnson@sakuraindustries.com>
2006-05-25 17:36:31 +00:00
Joel Sherrill
f18ebd2ee6 2006-04-13 Joel Sherrill <joel@OARcorp.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.
2006-04-13 13:03:29 +00:00
Joel Sherrill
0637bb3b01 2006-04-12 Lars Munch <lars@segv.dk>
PR 949/networking
	* libnetworking/sys/socket.h: Make MSG_DONTWAIT public as in GNU/Linux.
2006-04-12 20:59:21 +00:00
Ralf Corsepius
2eb7d07e17 Regenerate. 2006-01-14 06:20:35 +00:00
Ralf Corsepius
4e971660a1 Remove all-local. 2006-01-12 09:57:43 +00:00
Joel Sherrill
790a300444 2006-01-08 Joel Sherrill <joel@OARcorp.com>
* libnetworking/rtems/rtems_mii_ioctl.h: Fix formatting.
2006-01-08 18:12:29 +00:00
Till Straumann
12dd862cbd removed a few spaces... 2005-11-14 23:43:11 +00:00
Ralf Corsepius
6e469da982 Reflect mii.h and if_media.h having moved. 2005-11-14 05:48:12 +00:00
Ralf Corsepius
a98449013d 2005-11-13 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/net/if_media.h, libnetworking/dev/mii/mii.h:
	New (Moved from c/src/libchip).
2005-11-14 05:28:11 +00:00
Joel Sherrill
7554bb3a75 2005-11-08 Joel Sherrill <joel@OARcorp.com>
* 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.
2005-11-08 14:24:28 +00:00
Ralf Corsepius
199e748875 Eliminate obsolete types. 2005-11-06 09:22:09 +00:00
Till Straumann
e131ac0754 2005-11-02 straumanatslacdotstanford.edu
* 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.
2005-11-03 03:09:45 +00:00
Joel Sherrill
24cf3e5eb9 2005-11-02 Fredic Praca <freebsd-fr.org>
PR 842/networking
	* libnetworking/libc/gethostbydns.c: Avoid use of dprintf(). Rename
	dprintf to debugprintf().
2005-11-02 22:24:12 +00:00
Ralf Corsepius
b14d857949 2005-11-02 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/net/zlib.c: Remove.
	* libnetworking/net/zlib.h: Remove.
	* libnetworking/Makefile.am: Reflect changes above.
2005-11-02 07:50:12 +00:00
Ralf Corsepius
8281e06c0d Update from FreeBSD. 2005-10-27 15:09:30 +00:00
Ralf Corsepius
0819f4c3bc Remove. 2005-10-27 09:40:33 +00:00
Ralf Corsepius
393f75ffe8 2005-10-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/Makefile.am: Don't install loop.h.
2005-10-27 09:37:13 +00:00
Ralf Corsepius
e262e237ca New. 2005-10-27 08:48:28 +00:00
Eric Norum
ea59f45339 Don't sign-extend address components. 2005-10-25 20:38:57 +00:00
Ralf Corsepius
14091f5c32 2005-09-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/sys/mount.h: Cosmetical update from FreeBSD.
	Remove non-implemented interfaces (vfs, nfs, fsstat, etc.).
2005-09-19 06:11:41 +00:00
Ralf Corsepius
4e6948474c Cosmetics 2005-09-16 14:20:51 +00:00
Ralf Corsepius
b11d8d3882 Update from FreeBSD 2005-09-16 06:28:20 +00:00
Ralf Corsepius
bc100edfc2 Remove superfluous includes. 2005-09-16 06:17:00 +00:00
Ralf Corsepius
d74c13b7f4 Partial update from FreeBSD. 2005-09-16 06:11:06 +00:00
Ralf Corsepius
039e1f309e Partial update from FreeBSD. 2005-09-16 04:00:05 +00:00
Ralf Corsepius
a605cecde3 2005-08-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/nfs/bootp_subr.c: Don't include
	nfs/nfs.h, nfs/krpc.h.
2005-08-06 03:28:49 +00:00
Ralf Corsepius
c79a45b76a Regenerate. 2005-08-05 10:33:22 +00:00
Ralf Corsepius
66e365f258 2005-08-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Add libnetworking/memory.h
	* libnetworking/Makefile.am: Remove memory.h
2005-08-05 10:32:53 +00:00
Ralf Corsepius
f8e6dba705 Partial update from FreeBSD. 2005-08-01 06:29:08 +00:00
Ralf Corsepius
707a733a1b 2005-07-06 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/lib/syslog.c: Fix spelling mistake.
	* libnetworking/sys/uio.h: Partial update from FreeBSD.
	* libnetworking/kern/kern_subr.c: Reflect changes above.
2005-07-06 09:57:10 +00:00