Commit Graph

39 Commits

Author SHA1 Message Date
thorpej a0e791807e Eliminate use of dtom() from the network code, allowing more flexible
use of mbuf external storage and increasing performance (by eliminating
an m_pullup() for clusters in the IP reassembly code).

Changes from Koji Imada <koji@math.human.nagoya-u.ac.jp>, in PR #3628
and #3480, with ever-so-slight integration changes by me.
1997-06-24 02:25:59 +00:00
christos 6f0b278584 Adjust pdu names. 1997-05-02 21:10:15 +00:00
christos a1dcf4b026 backout previous kprintf change 1996-10-13 02:10:01 +00:00
christos 0e189933f5 printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:02:20 +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
scottr 64da2bdad9 Include <machine/cpu.h> to get setsoftnet().
XXX - We need this for at least amiga and hp300.  This change must die,
      and is intended as a temporary workaround only.
1996-05-09 22:29:25 +00:00
thorpej 2222e84a90 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_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:36:06 +00:00
cgd 7e4d04910d fix screw-up in the prototyping changes: print pointers with %p, NOT
by casting them to (unsigned int) then printing with %x.
1996-04-13 01:34:06 +00:00
christos 09ed6483fd - Parenthesize &
- Change %r -> %: as for recursive printf's
1996-03-30 21:54:33 +00:00
christos 835271da20 Make cons_rtrequest return void because the only place it is used
is through the ifa_rtrequest method. Unfortunately the net code
does not seem to care if that operation succeeds or fails. Maybe
it should...
1996-03-14 18:47:52 +00:00
christos 0c7d098c3b netccitt prototypes 1996-02-13 22:04:21 +00:00
mycroft 873ed30f83 so_pcb should be a void *. 1995-08-17 02:57:20 +00:00
mycroft 68735fd022 Encapsulate the test for sending a notification in a macro, sb_notify(). 1995-08-04 01:09:57 +00:00
cgd 8e5127c2e7 adjust for the other day's structure changes; make it compile. 1995-06-15 22:38:20 +00:00
mycroft abdeca89ce Change llinfo_x25 to use queue.h. 1995-06-13 09:07:29 +00:00
mycroft 39b1a58316 Update to match data structure changes. 1995-06-13 05:41:43 +00:00
mycroft 415057458b Update to match data structure changes. 1995-06-13 05:38:47 +00:00
mycroft 8b77f9cd5f Remove some explicit references to loif. 1995-04-11 04:30:47 +00:00
briggs 6efcd1b6d4 KERNEL -> _KERNEL 1995-03-29 21:57:43 +00:00
jtc 7c04233887 KERNEL -> _KERNEL 1995-03-26 20:23:52 +00:00
cgd 992d10a16e cast pointers correctly, ioctl cmds are u_longs. 1995-03-08 02:13:59 +00:00
mycroft 080e194e58 Remove extra arg to vn_open(). 1994-12-14 19:03:13 +00:00
christos 1b76292bf9 added extra argument to vn_open 1994-11-14 06:02:03 +00:00
cgd 5853ebcf99 C syntax 1994-09-20 06:41:04 +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
cgd 6b29005771 glad to see that this was compiled after the new FS code went in! 1994-06-18 00:34:33 +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 b8b27d46f2 pull in <machine/cpu.h>, rather than <machine/mtpr.h> for soft intr stuff 1994-01-16 01:58:59 +00:00
mycroft f11636394f Correct order of arguments to m_get*(). 1994-01-06 23:57:36 +00:00
mycroft 95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
mycroft e591f2882f Declare frame_reject(), rej_routine(), free_iframes() as static. 1993-09-06 18:09:55 +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
mycroft 29c396142a Update for new select() mechanism. 1993-09-06 17:41:45 +00:00
cgd f6f2d91f3e add rcsids & clean up headers... 1993-05-20 04:12:01 +00:00
mycroft 235bd1db44 Add consistent multiple-inclusion protection. 1993-04-19 03:45:34 +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