cvs commit: src/sys/netgraph ng_pptpgre.c ng_pptpgre.h

Alexander Motin mav at FreeBSD.org
Mon Mar 24 15:55:24 PDT 2008


mav         2008-03-24 22:55:22 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph         ng_pptpgre.c ng_pptpgre.h 
  Log:
  Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pair
  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.
  
  Revision  Changes    Path
  1.41      +279 -240  src/sys/netgraph/ng_pptpgre.c
  1.10      +4 -0      src/sys/netgraph/ng_pptpgre.h


More information about the cvs-all mailing list