Commit Graph

54 Commits

Author SHA1 Message Date
cgd dfad729a16 make netinet work on systems where pointers and longs are 64 bits
(like the alpha).  Biggest problem: IP headers were overlayed with
structure which included pointers, and which therefore didn't overlay
properly on 64-bit machines.  Solution: instead of threading pointers
through IP header overlays, add a "queue element" structure to do
the threading, and point it at the ip headers.
1995-11-21 01:07:34 +00:00
mycroft c7f52bfe3f Fix error pointed out by GCC 2.7. 1995-10-16 05:28:58 +00:00
mycroft 873ed30f83 so_pcb should be a void *. 1995-08-17 02:57:20 +00:00
mycroft 26c674e349 Allocate PCBs with malloc(), not MGET(). 1995-08-16 00:38:53 +00:00
mycroft 5482957905 splnet --> splsoftnet 1995-08-12 23:59:09 +00:00
mycroft 68735fd022 Encapsulate the test for sending a notification in a macro, sb_notify(). 1995-08-04 01:09:57 +00:00
mycroft 10a73abd8b Initialize iso_ifaddr. 1995-07-27 20:36:14 +00:00
cgd 130c77c5a5 make this compile again, a la pr 1218 from Alistair G. Crooks, as whacked
by the style police.
1995-07-12 09:17:06 +00:00
mycroft 4b83f9cc67 Change llinfo_llc to use queue.h. 1995-06-13 08:12:33 +00:00
mycroft 3bcdd7fb97 Replace an insque()/remque() pair I missed. 1995-06-13 08:11:37 +00:00
mycroft a92b154a68 Touch this up so it compiles again. 1995-06-13 07:58:10 +00:00
mycroft 3c833d10fc Clean this up a bit. Use queue.h more; de-uglify casts. 1995-06-13 07:13:14 +00:00
mycroft d2307f3ecb Update to match data structure changes. 1995-06-13 05:52:42 +00:00
mycroft e21c61b16f Remove extra definition of satosin(). 1995-06-07 15:21:48 +00:00
mycroft eb216fd6c2 Avoid byte-swapping IP addresses at run time. 1995-06-01 21:35:34 +00:00
cgd 239425ba96 cast pointers to longs, not ints 1995-04-22 13:29:33 +00:00
cgd eddc28046e type changes; fix compiler warning caused by new netinet code 1995-04-15 01:55:45 +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 db0046c14d KERNEL -> _KERNEL 1995-03-28 19:59:56 +00:00
jtc f76f1f89ad KERNEL -> _KERNEL 1995-03-26 20:35:13 +00:00
cgd d4c091877f cast pointers correctly, ioctl cmds are u_longs, most int \!= long
type bogons.  two on-inspection fixes.
1995-03-08 02:16:07 +00:00
glass af55380e5a remove references to arptnew. fix spelling error 1995-03-06 19:06:05 +00:00
mycroft d67b084135 Fix compiler warning. 1994-12-13 20:38: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 f096880a27 C syntax, and proper definition of time. 1994-09-20 06:41:35 +00:00
mycroft e475493b73 Don't try to define BYTE_ORDER; get it from <machine/endian.h>. 1994-07-21 07:10:12 +00:00
cgd fccfa11af5 New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:39:25 +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 c191ecd14e Update to 4.4-Lite networking code, with a few local changes. 1994-05-13 06:10:16 +00:00
mycroft 13a6ea2dd4 Clean up deleted files. 1994-05-13 06:10:13 +00:00
mycroft c427e65091 Update to 4.4-Lite networking code, with a few local changes. 1994-05-13 06:08:03 +00:00
cgd f16095c91d kill wrongheaded byte order foo 1994-05-05 07:56:35 +00:00
cgd 717db77fd8 kill bogon 1994-04-12 08:15:38 +00:00
glass d587964b49 rcsism 1994-03-29 10:16:52 +00:00
glass fda13d3430 llscan.c:192: too many arguments to function 'strcmp' 1994-03-29 04:30:26 +00:00
cgd f373544236 it needs <net/af.h> like i need a hole in my head. 1994-02-14 06:42:43 +00:00
mycroft 5887b43cde Nuke if_init. 1994-02-11 06:41:51 +00:00
mycroft bf98a55f37 Deprecate af.h. 1994-02-10 17:25:03 +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 00d41f83e8 Make this compile again after netinet changes. 1994-01-10 22:01:43 +00:00
mycroft f11636394f Correct order of arguments to m_get*(). 1994-01-06 23:57:36 +00:00
cgd d2b5056596 reorder includes as appropriate 1994-01-04 08:13:28 +00:00
mycroft 477bf7cb90 Canonicalize all #includes. 1993-12-18 04:54:21 +00:00
mycroft 95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
mycroft f2a8151b46 Move pk_flowcontrol() up and declare it static void. 1993-09-06 18:08:02 +00:00
mycroft 9548a87f3c p_netservice is a u_char. There is no imaginable reason to check it < 0. 1993-09-06 18:05:06 +00:00
mycroft eee6903080 Make snpac_age() and esis_config() return void to eliminate warnings. 1993-09-06 18:02:44 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd 23eb1a9dfa needed cdefs.h, a la Havard Eidnes <Havard.Eidnes@runit.sintef.no> 1993-07-04 21:25:07 +00:00