thorpej
7c5fe175c0
Defer output processing to the software interrupt.
2001-01-11 21:15:58 +00:00
thorpej
4c9cb837ba
Move the VJ uncompress code into the software interrupt.
2001-01-10 23:29:42 +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
541812a992
ALTQ'ify.
2000-12-18 20:41:44 +00:00
thorpej
ed7695a765
Fill in if_dlt.
2000-12-18 19:44:33 +00:00
thorpej
c5293456da
Adapt to bpfattach() changes, and further centralize the bpfattach()
...
and bpfdetach() calls into link-type subroutines where possible.
2000-12-12 18:00:22 +00:00
itohy
344f9b7b00
Set the default line discipline to t_linesw, rather than just NULL it.
2000-11-02 12:00:49 +00:00
itohy
486a58959c
Adapt to the new line discipline scheme.
2000-11-02 11:00:53 +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
augustss
c1ebd1929a
Kill some more register declarations.
2000-03-30 09:45:33 +00:00
simonb
0fd09c8496
Don't need to include <sys/conf.h> here.
2000-03-29 03:43:33 +00:00
dbj
a6f0126b1a
fixes to compile if NBPFILTER == 0
1999-03-27 22:48:36 +00:00
tron
bbee1b42b1
Make it possible to set MTU via "ifconfig" at run time. "SLMTU" is now
...
used to set the initial value.
1999-03-25 00:52:14 +00:00
kleink
44b31a4395
Use #error instead of causing parse errors; noticed by Heiko.
1998-10-06 18:38:08 +00:00
mrg
a317393b79
use __NetBSD__ not NetBSD
1998-08-26 15:12:55 +00:00
jtk
14119e2944
use #ifdef INET so this compiles again
1998-07-06 13:51:32 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
enami
7972ef1160
Add missing comma.
1998-03-23 13:08:56 +00:00
fair
782eb42847
add the ability to run SLIP with CLOCAL set, per PR#3586
1998-03-23 04:41:16 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
christos
cf463415ec
Update to ppp-2.3b5
1997-05-17 21:11:59 +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
christos
a1dcf4b026
backout previous kprintf change
1996-10-13 02:10:01 +00:00
christos
10191279fb
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:59:41 +00:00
mrg
c01edc3a02
use sc_unit instead of pointer arthimetic.
1996-08-09 08:34:00 +00:00
cgd
1c5ea3c014
print difference between pointers with %ld, so that -Wformat works
...
on the Alpha and for consistency. Also, other minor formatting cleanups.
1996-07-10 18:15:22 +00:00
thorpej
2fadbc363c
Move a mis-placed line on slattach() so that SLIOCGUNIT works properly.
...
From Jonathan O'Brien <obrien@phoenix.sfsu.edu>.
1996-06-02 16:22:32 +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
christos
206e75c6f1
Net prototypes
1996-02-13 21:59:53 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
mycroft
80a0cdd913
There's no reason to set if_next here.
1995-06-13 05:31:00 +00:00
mycroft
f75ba16b09
Update to use timer{add,sub}().
1995-03-21 13:33:34 +00:00
cgd
e363664703
fixed sized types, where appropriate. when casting pointers to
...
integers to do math on them, cast to long. ioctl commands are
u_longs.
1995-03-08 02:56:49 +00:00
mycroft
7fab282c89
timevalsub --> __timersub
1994-12-11 21:39:05 +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
17c3553caf
kill bogus external declaration of time
1994-07-15 22:27:46 +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
mycroft
7ef678610c
Remove an #ifdef we no longer need.
1994-02-05 08:01:22 +00:00
hpeyerl
1f2c9ecdae
Multicast is no longer optional
1994-02-02 01:21:32 +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
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
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +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
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