Unix pppd plugin
================

This directory contains source code for a Unix pppd plugin which lets
pppd use the Linux kernel driver pppol2tp.o. The kernel module must be
loaded before trying to start pppd with this plugin. It may be used by
any L2TP implementation, including OpenL2TP.

The pppd plugin adds extra arguments to pppd for OpenL2TP and uses the
Linux kernel PPP-over-L2TP driver to set up each session's data path.

Arguments are:-

pppol2tp <fd>                   - FD for PPPoL2TP socket
pppol2tp_lns_mode               - PPPoL2TP LNS behavior. Default off.
pppol2tp_send_seq               - PPPoL2TP enable sequence numbers in 
                                  transmitted data packets. Default off.
pppol2tp_recv_seq               - PPPoL2TP enforce sequence numbers in 
                                  received data packets. Default off.
pppol2tp_reorderto <millisecs>  - PPPoL2TP data packet reorder timeout. 
                                  Default 0 (no reordering).
pppol2tp_debug_mask <mask>      - PPPoL2TP debug mask. Bitwise OR of
				  1 - verbose debug
				  2 - control
				  4 - kernel transport
				  8 - ppp packet data
				  Default: 0 (no debug).
pppol2tp_ifname <ifname>	- Name of PPP network interface visible
				  to "ifconfig" and "ip link". 
				  Default: "l2tp<tun_id>/<sess_id>"
pppol2tp_tunnel_id <id>		- L2TP tunnel_id tunneling this PPP 
				  session.
pppol2tp_session_id <id>	- L2TP session_id of this PPP session.
				  The tunnel_id/session_id pair is used
				  when sending event messages to openl2tpd.

