Deleted Added
full compact
ng_l2tp.4 (141350) ng_l2tp.4 (231564)
1.\" Copyright (c) 2001-2002 Packet Design, LLC.
2.\" All rights reserved.
3.\"
4.\" Subject to the following obligations and disclaimer of warranty,
5.\" use and redistribution of this software, in source or object code
6.\" forms, with or without modifications are expressly permitted by
7.\" Packet Design; provided, however, that:
8.\"

--- 21 unchanged lines hidden (view full) ---

30.\" USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY THEORY OF
31.\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
33.\" THE USE OF THIS SOFTWARE, EVEN IF PACKET DESIGN IS ADVISED OF
34.\" THE POSSIBILITY OF SUCH DAMAGE.
35.\"
36.\" Author: Archie Cobbs <archie@FreeBSD.org>
37.\"
1.\" Copyright (c) 2001-2002 Packet Design, LLC.
2.\" All rights reserved.
3.\"
4.\" Subject to the following obligations and disclaimer of warranty,
5.\" use and redistribution of this software, in source or object code
6.\" forms, with or without modifications are expressly permitted by
7.\" Packet Design; provided, however, that:
8.\"

--- 21 unchanged lines hidden (view full) ---

30.\" USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY THEORY OF
31.\" LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
33.\" THE USE OF THIS SOFTWARE, EVEN IF PACKET DESIGN IS ADVISED OF
34.\" THE POSSIBILITY OF SUCH DAMAGE.
35.\"
36.\" Author: Archie Cobbs <archie@FreeBSD.org>
37.\"
38.\" $FreeBSD: head/share/man/man4/ng_l2tp.4 141350 2005-02-05 11:31:31Z ru $
38.\" $FreeBSD: head/share/man/man4/ng_l2tp.4 231564 2012-02-12 18:29:56Z ed $
39.\"
40.Dd August 2, 2004
41.Dt NG_L2TP 4
42.Os
43.Sh NAME
44.Nm ng_l2tp
45.Nd L2TP protocol netgraph node type
46.Sh SYNOPSIS

--- 63 unchanged lines hidden (view full) ---

110It takes a
111.Vt "struct ng_l2tp_config"
112as an argument:
113.Bd -literal
114/* Configuration for a node */
115struct ng_l2tp_config {
116 u_char enabled; /* enables traffic flow */
117 u_char match_id; /* tunnel id must match 'tunnel_id' */
39.\"
40.Dd August 2, 2004
41.Dt NG_L2TP 4
42.Os
43.Sh NAME
44.Nm ng_l2tp
45.Nd L2TP protocol netgraph node type
46.Sh SYNOPSIS

--- 63 unchanged lines hidden (view full) ---

110It takes a
111.Vt "struct ng_l2tp_config"
112as an argument:
113.Bd -literal
114/* Configuration for a node */
115struct ng_l2tp_config {
116 u_char enabled; /* enables traffic flow */
117 u_char match_id; /* tunnel id must match 'tunnel_id' */
118 u_int16_t tunnel_id; /* local tunnel id */
119 u_int16_t peer_id; /* peer's tunnel id */
120 u_int16_t peer_win; /* peer's max recv window size */
121 u_int16_t rexmit_max; /* max retransmits before failure */
122 u_int16_t rexmit_max_to; /* max delay between retransmits */
118 uint16_t tunnel_id; /* local tunnel id */
119 uint16_t peer_id; /* peer's tunnel id */
120 uint16_t peer_win; /* peer's max recv window size */
121 uint16_t rexmit_max; /* max retransmits before failure */
122 uint16_t rexmit_max_to; /* max delay between retransmits */
123};
124.Ed
125.Pp
126The
127.Va enabled
128field enables packet processing.
129Each time this field is changed back to zero the sequence
130number state is reset.

--- 61 unchanged lines hidden (view full) ---

192.It Dv NGM_L2TP_SET_SESS_CONFIG
193This control message configures a single data session.
194The corresponding hook must already be connected before sending this command.
195The argument is a
196.Vt "struct ng_l2tp_sess_config" :
197.Bd -literal
198/* Configuration for a session hook */
199struct ng_l2tp_sess_config {
123};
124.Ed
125.Pp
126The
127.Va enabled
128field enables packet processing.
129Each time this field is changed back to zero the sequence
130number state is reset.

--- 61 unchanged lines hidden (view full) ---

192.It Dv NGM_L2TP_SET_SESS_CONFIG
193This control message configures a single data session.
194The corresponding hook must already be connected before sending this command.
195The argument is a
196.Vt "struct ng_l2tp_sess_config" :
197.Bd -literal
198/* Configuration for a session hook */
199struct ng_l2tp_sess_config {
200 u_int16_t session_id; /* local session id */
201 u_int16_t peer_id; /* peer's session id */
200 uint16_t session_id; /* local session id */
201 uint16_t peer_id; /* peer's session id */
202 u_char control_dseq; /* we control data sequencing? */
203 u_char enable_dseq; /* enable data sequencing? */
204 u_char include_length; /* include length field? */
205};
206.Ed
207.Pp
208The
209.Va session_id

--- 121 unchanged lines hidden ---
202 u_char control_dseq; /* we control data sequencing? */
203 u_char enable_dseq; /* enable data sequencing? */
204 u_char include_length; /* include length field? */
205};
206.Ed
207.Pp
208The
209.Va session_id

--- 121 unchanged lines hidden ---