thorpej
569e9a31e2
For SLIP/STRIP/PPP, use generic soft interrupts, if available.
2001-01-15 16:33:30 +00:00
thorpej
efed547b78
Once we have a complete frame, schedule a SLIP software interrupt,
...
and manipulate ipintrq from there. This will allow us to clean up
the use of splimp() in this file later.
2001-01-09 05:04:23 +00:00
thorpej
692a2bc939
Make the buffer management in SLIP just a little less evil.
2001-01-09 04:42:48 +00:00
thorpej
5cae63e123
NetBSD -> __NetBSD__ in an #ifdef, and nuke sc_bpf; there's one in
...
the ifnet already.
2000-07-12 23:02:38 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
perry
41c3fea850
add multiple inclusion protection (and cleanup).
1998-02-09 17:43:44 +00:00
thorpej
d1c9089a16
Update for the new mbuf code, in a slighly kludgy way. Basically, these
...
drivers played a somewhat evil trick with clusters, which is now
replaced by a somewhat evil trick with regular malloc'd memory.
1997-03-27 20:36:14 +00:00
thorpej
4edabe2501
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:40:22 +00:00
jtc
7c04233887
KERNEL -> _KERNEL
1995-03-26 20:23:52 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
cgd
a7ec46ab8f
use NetBSD (defined in param.h) not __NetBSD__ to allow x-compilation
...
with native compiler.
1994-07-16 06:26:28 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
mycroft
07b4f2ab54
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:02:48 +00:00
cgd
b32da851b9
Some stability/safety/extensibility patches. Inspired by Christoph Badura.
...
Always make sure our buffer is large enough, and restart hung lines.
1994-03-08 07:27:23 +00:00
cgd
d2660232c1
mccanne convinced me that slip.h *should* exist. this is what
...
i "implemented" for 4.4, and the adjustments to the other files to
match.
1994-02-10 05:39:07 +00:00
cgd
df2025f938
quench the grammar flames!
1994-01-08 02:54:04 +00:00
cgd
18d2f02bc9
serious cleanup
1993-12-20 07:47:15 +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
a82018489a
add rcs ids to everything, and clean up headers
1993-05-20 03:05:46 +00:00
mycroft
235bd1db44
Add consistent multiple-inclusion protection.
1993-04-19 03:45:34 +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