deraadt
d553c09639
writing out of bpf; use a hdr mbuf and set the pkthdr.len as well.
...
(rarpd now works with if_ep.c!)
1994-01-12 00:38:50 +00:00
cgd
df2025f938
quench the grammar flames!
1994-01-08 02:54:04 +00:00
deraadt
a2d143ab3f
don't need to #include <sys/socket.h> twice.
1994-01-06 14:00:35 +00:00
deraadt
8c75649495
must pull in machine-cpu.h
1993-12-24 03:20:59 +00:00
cgd
61bcdb266e
include <machine/cpu.h> rather than <machine/mtpr.h> -- if the latter
...
exists at all, it's supposed to be included by <machine/cpu.h>
1993-12-23 07:36:06 +00:00
cgd
18d2f02bc9
serious cleanup
1993-12-20 07:47:15 +00:00
cgd
e1a021aee8
include machine/cpu.h, for machines which define soft interrupt stuff
...
there. marked XXX; they prolly shouldn't do that...
1993-12-19 02:09:41 +00:00
mycroft
f1a5c33098
Canonicalize all #includes.
1993-12-18 04:46:25 +00:00
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
mycroft
ea13c12adc
From magnum branch:
...
Remove Jolitz's netisr kluge. Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
deraadt
1aac161bb3
change MTU to 1500 bytes. Should be settable?
1993-12-13 14:27:01 +00:00
deraadt
65824a7d8b
tunnel driver cleanup done by Brad Parker <brad@fcr.com> and myself
1993-12-13 05:06:33 +00:00
cgd
381d61d756
move slip compression configuration into the interface flags,
...
and diddle a couple of related things.
1993-12-10 13:24:21 +00:00
cgd
b556fd992e
slight fix to last
1993-12-10 11:45:25 +00:00
cgd
1da7a80f7e
the IFF_MULTICAST constant should always be defined. also,
...
move IFF_LLC* -> IFF_LINK*; they were misnamed.
1993-12-10 10:57:05 +00:00
hpeyerl
aa7f3b23a8
multicast support.
...
>From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-06 04:50:19 +00:00
hpeyerl
d1648996c9
multicast support.
...
From Chris Maeda, cmaeda@cs.washington.edu
These patches are derived from the IP Multicast patches for BSDI.
1993-12-06 04:17:38 +00:00
deraadt
1786d90ff5
rename loattach() to loopattach() so that the pdevinit[] stuff can find it.
1993-11-23 08:16:55 +00:00
cgd
9e078d7394
defines change
1993-11-23 04:51:25 +00:00
deraadt
5c7d4e081c
add bpfilterattach(), as in magnum
1993-11-15 09:56:46 +00:00
deraadt
04c059f13c
use one stop shopping selwakeup/selrecord
1993-11-14 20:33:26 +00:00
deraadt
d19b5e0673
cleaned up version of the tunnel driver
1993-11-14 20:07:20 +00:00
glass
af72539915
T_LINEP member of struct tty becomes t_sc. This replaces the
...
#define t_sc T_LINEP
that appear in tty_tb.c, if_sl.c, and if_ppp.h
1993-11-09 06:22:08 +00:00
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