Commit Graph

93 Commits

Author SHA1 Message Date
paulus 5d72d095e8 check for escaped char before checking for escape char
so if peer escapes 0x5d we interpret it correctly
1994-05-29 23:44:23 +00:00
deraadt 043657b599 MIN -> min 1994-05-26 00:47:19 +00:00
cgd f42a80c7ea MIN -> min, MAX -> max 1994-05-24 02:33:03 +00:00
deraadt b9753772a1 repair protos and functions 1994-05-15 19:20:02 +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 d361acde18 Update to 4.4-Lite networking code, with a few local changes. 1994-05-13 06:01:27 +00:00
mycroft d3be517803 Update to RTM version 3. Add prototypes. Add some new constants which are
not used yet.
1994-05-11 09:26:46 +00:00
paulus cd4969fcb4 Version from ppp-2.1 release. 1994-05-08 12:34:20 +00:00
paulus 3f7fd64c45 Version from ppp-2.1 release;
this version has been restructured to make more of the code usable
with sync serial drivers
1994-05-08 12:33:49 +00:00
cgd 5742972bb4 kill kinfo stuff, for now 1994-05-07 04:26:58 +00:00
mycroft e593e490db Remove now-bogus cast. 1994-05-05 09:33:21 +00:00
cgd a0a7429482 lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.
1994-05-05 05:35:42 +00:00
deraadt 946453260a fixes from <brad@fcr.com> who claims it now works correctly 1994-05-03 23:02:07 +00:00
cgd e0db92993a change timeout/untimeout/wakeup/sleep/tsleep args to void * 1994-04-29 23:15:51 +00:00
mycroft 7b52dc20c4 NETISR_RAW is defunct. 1994-04-18 23:30:28 +00:00
mycroft 084a465c9a Add NETISR_ARP. 1994-04-18 23:20:26 +00:00
glass a3b042140f revised nfs diskless support. uses bootp+rpc to gather parameters 1994-04-18 06:18:05 +00:00
cgd ace91bc015 two reference count fixes, and minor cleanup (to offset the added goto! 8-). 1994-03-23 05:05:03 +00:00
glass f5cea46e83 put declarations in argument order 1994-03-14 07:46:05 +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
andrew bc72e3a892 Fixed a bug with TUN_OPEN flag handling during tunclose(), as noted by
Mark Delany <markd@bushwire.apana.org.au>.
1994-02-28 07:16:10 +00:00
mycroft 73535dd9ce IFF_ALLMULTI is not externally settable. 1994-02-16 20:12:50 +00:00
mycroft 4b8ec6c627 Clean up deleted files. 1994-02-10 17:28:02 +00:00
mycroft 7e9f402331 Clean up deleted files. 1994-02-10 17:26:56 +00:00
mycroft bf98a55f37 Deprecate af.h. 1994-02-10 17:25:03 +00:00
mycroft 39d918e7ce if_init and if_done are not actually used; no point in having them at all. 1994-02-10 17:16:33 +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
deraadt b45332d2b5 new from mccanne. be afraid. 1994-01-25 06:10:08 +00:00
deraadt ad054dea7e PPP_HEADER_LEN -> PPP_HDRLEN 1994-01-25 05:56:06 +00:00
deraadt b8fdadd662 ether_output() & ether_input() take ether_type as a net-short.
AF_UNSPEC does not swap byte order of ether_type.
NOTE: this requires driver changes
1994-01-23 23:41:14 +00:00
glass 261832c5df got rid of a warning reported by Bill Sommerfeld 1994-01-21 06:33:31 +00:00
cgd a939028310 include <machine/cpu.h> not <machine/mtpr.h> 1994-01-16 02:22:51 +00:00
deraadt 47ef1f0c2e multiple inclusion protection 1994-01-15 20:13:11 +00:00
mycroft b8cc9a5cd2 Get the pkthdr.len calculation right. 1994-01-12 02:45:11 +00:00
deraadt d553c09639 writing out of bpf; use a hdr mbuf and set the pkthdr.len as well.
(rarpd now works with if_ep.c!)
1994-01-12 00:38:50 +00:00
cgd df2025f938 quench the grammar flames! 1994-01-08 02:54:04 +00:00
deraadt a2d143ab3f don't need to #include <sys/socket.h> twice. 1994-01-06 14:00:35 +00:00
deraadt 8c75649495 must pull in machine-cpu.h 1993-12-24 03:20:59 +00:00
cgd 61bcdb266e include <machine/cpu.h> rather than <machine/mtpr.h> -- if the latter
exists at all, it's supposed to be included by <machine/cpu.h>
1993-12-23 07:36:06 +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 f1a5c33098 Canonicalize all #includes. 1993-12-18 04:46:25 +00:00
mycroft 95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
mycroft ea13c12adc From magnum branch:
Remove Jolitz's netisr kluge.  Make sure cpl == 0 really means base priority.
Other minor cleanup.
1993-12-17 00:10:06 +00:00
deraadt 1aac161bb3 change MTU to 1500 bytes. Should be settable? 1993-12-13 14:27:01 +00:00
deraadt 65824a7d8b tunnel driver cleanup done by Brad Parker <brad@fcr.com> and myself 1993-12-13 05:06:33 +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
cgd b556fd992e slight fix to last 1993-12-10 11:45:25 +00:00