summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_pptpgre.c
Commit message (Collapse)AuthorAgeFilesLines
* Followup to previous commit..archie2000-07-251-20/+40
| | | | | | | - It's worthwhile to use untimeout(9), even though we must still protect against "false" timeouts, because most of the time it saves having to handle a dummy timeout event. - Slight tweaks to the delayed ACK algorithm paramters.
* Several fixes:archie2000-07-251-25/+54
| | | | | | | | | | | - Fix slowness when operating over fast connections, where the timeout(9) granularity is on the same order of magnitude as the round trip time. timeout(9) can happen up to 1 tick early, which was causing receive ack timeouts to happen too early, causing bogus "lost" packets. - Increase the local time counter to 64 bits to avoid roll-over. - Keep statistics on memory allocation failures. - Add a new option to always include the ack when sending data packets. Might be useful in high packet loss situations. Might not.
* Fix incorrectly implemented receive ACK timeout algorithm:archie2000-06-281-14/+20
| | | | | | | | instead of bumping the recvAck counter by one, pretend that all outstanding xmit packets are acknowleged, and restart transmitting anew, with an empty (but halved) transmit window. Put a lower bound on the adaptive timeout value.
* - Start sequence numbers at zero instead of one; the rest of thearchie2000-06-261-84/+57
| | | | | | | world seems to interpret the spec this way - Initialize transmit window to two instead of one; helps get things going initially when the first packet may get dropped - Really fix the shutdown + timeout race condition this time
* Fix a couple of bugs:archie2000-05-051-41/+209
| | | | | | | - Properly handle 32 bit sequence numbers when they wrap around - Don't drop GRE packets with stale ACK numbers, just ignore the ACK - Close race between node being shutdown and timer going off Also add support for lots of statistics, and control message ASCIIfication
* Two simple changes to the kernel internal API for netgraph modules,julian2000-04-281-2/+3
| | | | | | | to support future work in flow-control and 'packet reject/replace' processing modes. reviewed by: phk, archie
* Remove ~25 unneeded #include <sys/conf.h>phk2000-04-191-1/+0
| | | | Remove ~60 unneeded #include <sys/malloc.h>
* Fix race condition caused by missing splnet()'s.archie2000-01-041-0/+4
|
* New netgraph node type 'pptpgre': this performs GRE encapsulationarchie1999-12-081-0/+759
for the PPTP protocol as specified in RFC 2637.
OpenPOWER on IntegriCloud