cvs commit: src/sys/netgraph ng_ppp.c
Gleb Smirnoff
glebius at FreeBSD.org
Thu Jan 25 21:16:51 UTC 2007
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
More information about the cvs-src
mailing list