Commit Graph

18 Commits

Author SHA1 Message Date
Ralf Corsepius
1cb54d1f38 #include <stdint.h> instead of <rtems/stdint.h>. 2008-12-11 00:47:56 +00:00
Ralf Corsepius
a807b75e38 Use stdbool.h. Remove local bool. 2008-08-20 14:59:51 +00:00
Ralf Corsepius
8a4f22e64e Convert to using C99 fixed-size types instead of BSD fixed-size types. 2007-09-16 04:13:48 +00:00
Ralf Corsepius
203ed7ff8c Include <rtems/stdint.h> instead of <stdint.h>. 2007-05-09 15:56:13 +00:00
Ralf Corsepius
5078ee3233 Eliminate __P(). 2007-03-27 10:22:16 +00:00
Chris Johns
b59eff1c13 Fix the bug in name change. The UNTIMEOUT macro did not use the ppp version. 2006-09-06 05:13:42 +00:00
Till Straumann
d8f86d925a * pppd/rtems.main.c, pppd/pppd.h: renamed 'untimeout'
to 'pppuntimeout' to avoid name clash with [future]
	bsdnet kernel routine.
2006-09-01 21:16:19 +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
Ralf Corsepius
bdf2c0e475 Misc. minor fixes. 2005-10-26 17:40:12 +00:00
Joel Sherrill
4ca43d72e1 2005-01-20 Joel Sherrill <joel@OARcorp.com>
PR 736/pppd
	* libnetworking/pppd/chat.c, libnetworking/pppd/demand.c,
	libnetworking/pppd/pppd.h, libnetworking/pppd/rtemsmain.c,
	libnetworking/pppd/sys-rtems.c, libnetworking/pppd/utils.c: ttyfd
	should not be static and should have a name more specific to pppd.
2005-01-20 17:00:38 +00:00
Joel Sherrill
48cdb95aa2 2003-04-10 Joel Sherrill <joel@OARcorp.com>
PR 371/pppd
	* pppd/auth.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/lcp.c,
	pppd/options.c, pppd/pppd.h, pppd/rtemsmain.c, pppd/rtemspppd.c:
	Change many symbols to static. There are still global symbols in
	rtemspppd.h which might need to be changed or converted into member
	of a structure which is dereferenced with a pointer that is managed
	as a per task variable. But this patch should avoid many conflicts.
2003-04-10 16:20:38 +00:00
Joel Sherrill
cb1e8a4644 2002-02-27 Ilya Alexeev <ilya@continuum.ru>
* net/if_ppp.c, pppd/auth.c, pppd/chat.c, pppd/pppd.h,
	pppd/sys-rtems.c: Add server with pap-authorization
	capabilities as well as eliminate some warnings.
2002-02-27 22:43:31 +00:00
Joel Sherrill
0286b9f614 2001-01-31 Mike Siers <mikes@poliac.com>
* Nice Update of PPPD support which eliminates the
	requiremetn that drivers be in the termios TASK_DRIVEN mode.
	Mike did significant testing and reports that it seems to be
	more stable and handle larger packets better.  This patch
	replaces the termios tasks with more general pppd network
	driver tasks.  The functions pppinput() and pppstart() get
	called from the interrupt service routine.
	* Makefile.am, configure.ac, net/Makefile.am, net/bpf.h,
	net/ethernet.h, net/if.c, net/if.h, net/if_arp.h, net/if_dl.h,
	net/if_ethersubr.c, net/if_llc.h, net/if_loop.c, net/if_ppp.h,
	net/if_pppvar.h, net/if_types.h, net/netisr.h, net/ppp-comp.h,
	net/ppp_defs.h, net/pppcompress.h, net/radix.c, net/radix.h,
	net/raw_cb.c, net/raw_cb.h, net/raw_usrreq.c, net/route.c,
	net/route.h, net/rtsock.c, pppd/Makefile.am, pppd/README,
	pppd/STATUS, pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/ccp.h,
	pppd/chap.c, pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h,
	pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c,
	pppd/ipcp.h, pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h,
	pppd/magic.c, pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
	pppd/pathnames.h, pppd/pppd.8, pppd/pppd.h, pppd/rtemsmain.c,
	pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/upap.c,
	pppd/upap.h, pppd/utils.c, pppd/example/README,
	pppd/example/netconfig.h, wrapup/Makefile.am: Modified.
	* net/bsd-comp.c, net/if_ppp.c, net/ppp-deflate.c, net/ppp.h,
	net/ppp_tty.c, net/pppcompress.c, net/zlib.c, net/zlib.h: New file.
	* modem/, modem/.cvsignore, modem/Makefile.am, modem/ppp.c,
	modem/ppp.h, modem/ppp_tty.c, modem/pppcompress.c: Subdirectory removed.
2002-01-31 21:42:11 +00:00
Joel Sherrill
aee474b0cf 2001-10-12 Mike Siers <mikes@poliac.com>
* Update to stable working state.  Congratulations Mike! :)
	* modem_example: Directory removed.
	* modem_example/16550.h, modem_example/README, modem_example/modem.c,
	modem_example/modem.h, modem_example/ppp.c, modem_example/ppp.h,
	modem_example/pppcompress.c: Files removed.
	* pppd/example/pppd.options: New file.
	* pppd/README, pppd/STATUS, pppd/cbcp.c, pppd/cbcp.h, pppd/chat.c,
	pppd/pppd.h, pppd/rtemsmain.c: Updated.
2001-10-12 13:43:05 +00:00
Joel Sherrill
2f1b9304ac 2001-08-16 Mike Siers <mikes@poliac.com>
* Update of PPPD to 2.3.11 from 2.3.5 and addition of an example
	application.  Mike's notes on the modifications:
	   - renamed error() function because of namespace problems
	   - removed calls to the exit() funciton
	   - removed extra files from the pppd source directory
	   - defined pppd task constant values in rtemspppd.h
	   - modifyied example code to get actual tick per second value
	   - placed the pppd 2.3.11 man page file (pppd.8) into the pppd
	   directory
	* pppd/cbcp.c, pppd/cbcp.h, pppd/main.c, pppd/ppp_tty.c,
	pppd/pppmain.c, pppd/rtems-ppp.c, pppd/rtems-ppp.c: Deleted.
	* pppd/pppd.8, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h,
	pppd/sys-rtems.c, pppd/utils.c, pppd/example/Makefile,
	pppd/example/README, pppd/example/init.c, pppd/example/netconfig.h,
	pppd/example/ppp.conf, pppd/example/pppdapp.c, pppd/example/system.h:
	New files.
	* modem/ppp_tty.c, net/if_ppp.h, pppd/Makefile.am, pppd/README,
	pppd/STATUS, pppd/auth.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c,
	pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c,
	pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h,
	pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c,
	pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
	pppd/pathnames.h, pppd/pppd.h, pppd/upap.c, pppd/upap.h: Modified.
2001-08-16 20:42:09 +00:00
Joel Sherrill
4b60bd3408 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* machine/types.h, pppd/pppd.h, rtems/rtems_bsdnet_internal.h,
	rtems_webserver/webmain.c: machine/types.h  should not have
	included rtems.h.  It is now including precisely the
	least amount of low level, yet portable .h files to get
	the basic RTEMS types defined.  This rippled into other
	files since rtems_bsdnet_internal.h used machine/types.h to include
	rtems.h.
2000-09-22 20:38:57 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
d0950adfd6 Added port of ppp-2.3.5 from Tomasz Domin <dot@comarch.pl> of ComArch SA.
Tomasz only tested this on the mpc823.

The official site for the original source for this PPP implementation is:

ftp://cs.anu.edu.au/pub/software/ppp

NOTE:  As of 11/30/1999, the current version of this source is 2.3.10.
1999-11-30 22:12:50 +00:00