summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2008-03-29 06:54:13 +0000
committermav <mav@FreeBSD.org>2008-03-29 06:54:13 +0000
commite581a2ffe9b632ea0d8cbf41095c1e73fbf4d141 (patch)
treed6cac9e98dc3600570eb661a773f54ba570fd11b
parentfe959556c5ffd74a2ddc5bc267e852972cdd8e65 (diff)
downloadFreeBSD-src-e581a2ffe9b632ea0d8cbf41095c1e73fbf4d141.zip
FreeBSD-src-e581a2ffe9b632ea0d8cbf41095c1e73fbf4d141.tar.gz
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.
-rw-r--r--share/man/man4/ng_pptpgre.413
1 files changed, 8 insertions, 5 deletions
diff --git a/share/man/man4/ng_pptpgre.4 b/share/man/man4/ng_pptpgre.4
index 55ff2e9..89557dc 100644
--- a/share/man/man4/ng_pptpgre.4
+++ b/share/man/man4/ng_pptpgre.4
@@ -35,7 +35,7 @@
.\" $FreeBSD$
.\" $Whistle: ng_pptpgre.8,v 1.2 1999/12/08 00:20:53 archie Exp $
.\"
-.Dd December 7, 2001
+.Dd March 29, 2008
.Dt NG_PPTPGRE 4
.Os
.Sh NAME
@@ -73,9 +73,11 @@ node.
.Sh HOOKS
This node type supports the following hooks:
.Pp
-.Bl -tag -compact -width ".Li upper"
+.Bl -tag -compact -width ".Li session_hhhh"
+.It Li session_hhhh
+Session 0xhhhh data packets to the upper protocol layers
.It Li upper
-Connection to the upper protocol layers
+Same as session_hhhh, but for single session with configurable cid (legacy)
.It Li lower
Connection to the lower protocol layers
.El
@@ -83,7 +85,8 @@ Connection to the lower protocol layers
This node type supports the generic control messages, plus the following:
.Bl -tag -width indent
.It Dv NGM_PPTPGRE_SET_CONFIG
-This command resets and configures the node for a session.
+This command resets and configures hook for a session. If corresponding
+session_hhhh hook is not connected, upper hook will be configured.
This command takes a
.Vt "struct ng_pptpgre_conf"
as an argument:
@@ -122,7 +125,7 @@ L2TP, the successor to PPTP, removes it.
.Pp
The remaining fields are as supplied by the PPTP virtual call setup process.
.It Dv NGM_PPTPGRE_GET_CONFIG
-Returns the current configuration as a
+Takes two byte argument as cid and returns the current configuration as a
.Vt "struct ng_pptpgre_conf" .
.It Dv NGM_PPTPGRE_GET_STATS
This command returns a
OpenPOWER on IntegriCloud