thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
augustss
4b30d9885e
More register removal.
2000-03-30 13:53:32 +00:00
soren
95054da1a1
Fix doubled 'the's in comments.
2000-03-13 23:52:25 +00:00
thorpej
d844a3ac41
First-draft if_detach() implementation, originally from Bill Studnemund,
...
although this version has been changed somewhat:
- reference counting on ifaddrs isn't as complete as Bill's original
work was. This is hard to get right, and we should attack one
protocol at a time.
- This doesn't do reference counting or dynamic allocation of ifnets yet.
- This version introduces a new PRU -- PRU_PURGEADDR, which is used to
purge an ifaddr from a protocol. The old method Bill used didn't work
on all protocols, and it only worked on some because it was Very Lucky.
This mostly works ... i.e. works for my USB Ethernet, except for a dangling
ifaddr reference left by the IPv6 code; have not yet tracked this down.
2000-02-01 22:52:04 +00:00
christos
8dfbc827ea
Fix copyright mess:
...
- remove trailing spaces.
- make copyrights consistent (put the date before the name).
1998-09-13 16:21:16 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
thorpej
4c54445530
Use offsetof() from libkern.h
1998-01-28 02:35:10 +00:00
christos
2688e678b9
- add missing prototypes
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:58:29 +00:00
mycroft
4e8477f520
Mostly minor changes.
...
Convert the listen queue to a TAILQ to avoid O(n^2) insertion. Should probably
be a hash table.
1996-05-23 23:35:22 +00:00
mycroft
49d52c9b1c
Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
...
PRU_CONTROL. The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.
1996-05-22 13:54:55 +00:00
christos
0c7d098c3b
netccitt prototypes
1996-02-13 22:04:21 +00:00
mycroft
415057458b
Update to match data structure changes.
1995-06-13 05:38:47 +00:00
cgd
992d10a16e
cast pointers correctly, ioctl cmds are u_longs.
1995-03-08 02:13:59 +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
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
mycroft
80d54c4ba8
Declare old_to_new() and new_to_old() as static, to eliminate warnings.
1993-09-06 17:43:33 +00:00
cgd
f6f2d91f3e
add rcsids & clean up headers...
1993-05-20 04:12:01 +00:00
glass
6843718d0a
got rid of various sundry warnings. rgrimes should've fixed this crap
1993-04-10 16:00:39 +00:00
cgd
db622a7428
added netccitt, netiso, and netns support, from (currently
...
alpha) patch 126
1993-04-09 12:00:07 +00:00