Commit Graph

584 Commits

Author SHA1 Message Date
paulus 5fda6c1974 Removed test (CCOUNT(&sc->sc_ttyp->t_outq) == 0) for whether
to call pppstart or not: now we call pppstart for every packet,
which should aid recovery from lost transmitter interrupts.
Also a fix for 386BSD/FreeBSD which doesn't affect NetBSD.
1993-11-04 03:45:23 +00:00
glass 7a7e6dbd95 removed slip and ppp specific prototypes from tty.h where they didn't belong.
moved them to tty_conf.c within #if Nwhatever > 0 where they do belong.
made sure that if_sl.c, and if_ppp.c still compile quietly.
1993-10-31 19:27:45 +00:00
mycroft 614a71039d Call output routine redundantly to possible avoid some hangs due to missed
interrupts.
1993-10-02 09:28:04 +00:00
mycroft 188ab15167 Ignore carrier if not using hardware carrier detect (i.e. CLOCAL is set). 1993-10-02 08:55:16 +00:00
mycroft c179e54a04 Ignore TS_CARR_ON when CLOCAL is set. 1993-09-23 22:16:15 +00:00
davidg a5f8e1f738 added include of select.h to bpfdesc.h because it now has a reference to
struct selinfo.
1993-09-09 09:43:18 +00:00
cassidy 660c5a501a Add definitions for RARP request and reply. 1993-09-05 00:46:54 +00:00
jtc f7b7d95850 include systm.h to get prototypes (and possibly inlines) of *max functions. 1993-09-04 00:00:19 +00:00
paulus 3ecb88ccbc Fixed bug in if_ppp.c so that received IP packets are passed correctly to BPF. 1993-09-02 12:10:59 +00:00
paulus d71061b357 Modified if_ppp.c and if_ppp.h to add priority queueing for "interactive"
traffic (done in a similar fashion to if_sl.c), and BPF support.
1993-08-31 00:05:27 +00:00
mycroft bc2088820b + #if defined(INET) && NETHER > 0
+ #endif
Around the:
/* XXX -- Temporary fix before changing 10 ethernet drivers */
so you can compile a kernel with out INET and ETHERNET support.
1993-08-27 10:26:08 +00:00
deraadt 3604916e13 ppp from paul mackerras 1993-08-14 06:29:28 +00:00
deraadt b7fcd001c8 add an additional suser() check.
regular users should not be able to change slip interface characteristics!
1993-08-09 05:11:52 +00:00
deraadt 13b002b9d3 suser() was being called in the old 4.3 way 1993-08-09 01:19:38 +00:00
cgd cd56dd1638 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:53:27 +00:00
glass 76f78fcf75 more "warning: `/*' within comment" fixes 1993-08-03 01:51:16 +00:00
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mycroft 3be4221095 Change tty code to use clist interface, but with ring buffer implementation.
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:36:53 +00:00
andrew 0e6cb953ea ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.
1993-06-27 06:01:27 +00:00
cgd fe1802950b add include of select.h if necessary for protos, or delete if extraneous 1993-05-22 11:40:42 +00:00
cgd a82018489a add rcs ids to everything, and clean up headers 1993-05-20 03:05:46 +00:00
cgd 8d6c77881c make kernel select interface be one-stop shopping & clean it all up. 1993-05-18 18:18:40 +00:00
deraadt 64f341ec2a ring buffer now uses rbchar's (shorts) instead of chars. 1993-05-10 23:15:37 +00:00
cgd e0e82746ae patch for multiple loopback interfaces (via "pseudo-device loop 2", etc.)
from David Burren <davidb@otto.bf.rmit.oz.au>
1993-05-07 09:27:52 +00:00
mycroft 235bd1db44 Add consistent multiple-inclusion protection. 1993-04-19 03:45:34 +00:00
glass 39a3e30f00 fixed missing include to avoid warning 1993-04-10 15:59:30 +00:00
cgd f16a01db9c bump slip MTU back down to 296... 1993-04-09 20:42:06 +00:00
glass 696d0f1953 fixes stupid piece of bpf code that duplicates cdefs.h's handling of
'inline' in such a way as to cause stupid warnings.
1993-04-09 11:02:51 +00:00
deraadt bacbdac9c8 commit damnit! 1993-04-06 06:50:20 +00:00
deraadt d64d6e2c56 selwakeup() takes a "pid_t" rather than "struct proc *" now. 1993-04-05 22:04:09 +00:00
cgd a029deb322 one line got botched during bpf patch installation 1993-03-25 10:08:55 +00:00
cgd 73119bc337 added BPF support, as provided by David Greenman (davidg@implode.rain.com) 1993-03-25 00:27:49 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00