aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_pptpgre.h
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pairAlexander Motin2008-03-241-0/+4
| | | | | | | | | | | | | | | | | of pptpgre and ksocket nodes for all calls between two peers. This patch modifies node's API by adding new "session_%04x" hook names support, while keeping backward compatibility. Together with appropriate user-level support (by latest mpd5) it gives huge performance benefits for case of multiple active calls between two peers because of avoiding data duplication and extra socket processing. On my benchmarks I have got more then 10 times speedup for the 200 simultaneous PPTP calls between two peers. In conclusion, it allows now to build effective "clients <=> PAC <=> PNS" setups. Notes: svn path=/head/; revision=177587
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-2/+3
| | | | Notes: svn path=/head/; revision=139823
* Add 'enableWindowing' configuration knob to the ng_pptpgre(4) netgraph node.Archie Cobbs2004-04-261-1/+3
| | | | | | | | Submitted by: Michael Bretterklieber <mbretter@a-quadrat.at> MFC after: 2 weeks Notes: svn path=/head/; revision=128657
* Use a single style of multiple inclusion protection for Netgraph headers.Ruslan Ermilov2003-11-111-3/+3
| | | | | | | Reviewed by: archie, harti, emax Notes: svn path=/head/; revision=122481
* Fix GCC warnings caused by initializing a zero length array. In the process,Archie Cobbs2002-05-311-5/+1
| | | | | | | | | | simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. MFC after: 2 weeks Notes: svn path=/head/; revision=97685
* Since neither archie nor I work at Whistle any more, change our emailJulian Elischer2000-10-241-1/+1
| | | | | | | | | addresses to be the more usefu @freebsd.org ones so we can keep getting bug-reports. - man pages to follow.. Notes: svn path=/head/; revision=67506
* Take advantage of the new unsigned and hex integer types.Archie Cobbs2000-08-101-23/+23
| | | | Notes: svn path=/head/; revision=64508
* Several fixes:Archie Cobbs2000-07-251-1/+5
| | | | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=63822
* Fix a couple of bugs:Archie Cobbs2000-05-051-0/+44
| | | | | | | | | | - 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 Notes: svn path=/head/; revision=60009
* New netgraph node type 'pptpgre': this performs GRE encapsulationArchie Cobbs1999-12-081-0/+84
for the PPTP protocol as specified in RFC 2637. Notes: svn path=/head/; revision=54331