Date: Thu, 25 Jan 2007 21:16:50 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_ppp.c Message-ID: <200701252116.l0PLGpBf041637@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius     2007-01-25 21:16:50 UTC
  FreeBSD src repository
  Modified files:
    sys/netgraph         ng_ppp.c 
  Log:
  - Create ng_ppp_bypass() function, that prepares a packet
    with bypass header, to send it out to userland.
  - Use ng_ppp_bypass() in ng_ppp_proto_recv().
  - Use ng_ppp_bypass() in ng_ppp_comp_recv() and in
    ng_ppp_crypt_recv() if compression or encryption is
    disabled, respectively.
  - Any LCP packet goes directly to ng_ppp_bypass(), instead
    of passing through PPP stack.
  - Any non-LCP packet on disabled link is discarded. This
    is behavior defined in RFC.
  
  Submitted by:   Alexander Motin <mav alkar.net>
  
  Revision  Changes    Path
  1.62      +66 -30    src/sys/netgraph/ng_ppp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701252116.l0PLGpBf041637>
