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
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
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
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
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
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
f16a01db9c
bump slip MTU back down to 296...
1993-04-09 20:42:06 +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