From owner-man-jp-reviewer@jp.freebsd.org  Wed Dec 15 19:14:42 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id TAA14135;
	Wed, 15 Dec 1999 19:14:42 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from vinita.tri.asanuma.co.jp (vinita.tri.asanuma.co.jp [210.160.188.5])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id TAA14130
	for <man-jp-reviewer@jp.freebsd.org>; Wed, 15 Dec 1999 19:14:41 +0900 (JST)
	(envelope-from mori@tri.asanuma.co.jp)
Received: from parvati.tri.asanuma.co.jp by vinita.tri.asanuma.co.jp (8.9.3/3.7W) with ESMTP id TAA52764 for <man-jp-reviewer@jp.freebsd.org>; Wed, 15 Dec 1999 19:14:39 +0900 (JST)
Received: from kurishna.tri.asanuma.co.jp by parvati.tri.asanuma.co.jp (8.8.8/3.7W) with ESMTP id TAA07010 for <man-jp-reviewer@jp.freebsd.org>; Wed, 15 Dec 1999 19:15:13 +0900 (JST)
To: man-jp-reviewer@jp.freebsd.org
MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu")
Content-Type: text/plain; charset=ISO-2022-JP
From: Mori Kouji <mori@tri.asanuma.co.jp>
Date: 15 Dec 1999 19:14:38 +0900
Message-ID: <80u2lkpl2p.fsf@kurishna.tri.asanuma.co.jp>
Lines: 175
User-Agent: Nana-gnus/6.13.11 SEMI/1.13.7 (Awazu) CLIME/1.13.5
 (=?ISO-2022-JP?B?GyRCMkMybEohMiwbKEI=?=) Emacs/20.5
 (i386-unknown-freebsdelf3.3) MULE/4.0 (=?ISO-2022-JP?B?GyRCMlYxYxsoQg==?=)
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: man-jp-reviewer 1807
Subject: [man-jp-reviewer 1807] ng_pptpgre.8
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: mori@kurishna.tri.asanuma.co.jp

$B?9$G$9!#(B ng_pptpgre.8 $B$N=iLu$r$*Aw$j$7$^$9!#(B

TCP/IP $B$NMQ8l$C$]$$$N$,$$$m$$$m$"$j$^$7$?!#(B
$B0lHLE*$JLu8l$rCN$C$F$kJ}$O=$@5$r$*4j$$$7$^$9!#(B

$BMQ8l(B ($B$C$]$$$b$N(B)

  encapsulation   $B%+%W%;%k2=(B
? sequencing      $B%7!<%1%s%7%s%0(B
  acknowlegement  $B3NG'1~Ez(B
  sliding window  $B%9%i%$%G%#%s%0%&%#%s%I%&(B
  negotiation     $B%M%4%7%(!<%7%g%s(B
? traffic flow    $B%H%i%U%#%C%/%U%m!<(B

  Generic Routing Encapsulation (GRE) over IP
  ($B$=$N$^$^$K$7$F$^$9(B)

  an adaptive timeout sliding window mechanism
? $BE,9g@-$N$"$k%?%$%`%"%&%H%9%i%$%G%#%s%0%&%#%s%I%&$N5!9=(B

  PPTP virtual call setup process
? PPTP $B2>A[%3!<%k%;%C%H%"%C%W%W%m%;%9(B


Index: ng_pptpgre.8
===================================================================
RCS file: /home/mori/cvs/man-jp/man8/ng_pptpgre.8,v
retrieving revision 1.1
retrieving revision 1.3
diff -u -r1.1 -r1.3
--- ng_pptpgre.8	1999/12/15 08:47:49	1.1
+++ ng_pptpgre.8	1999/12/15 10:07:56	1.3
@@ -39,78 +39,83 @@
 .\" jpman %Id: ng_pptpgre.8,v 0.0 1999/12/10 14:15:15 horikawa Stab %
 .Dt NG_PPTPGRE 8
 .Os FreeBSD
-.Sh NAME
+.Sh $BL>>N(B
 .Nm ng_pptpgre
-.Nd PPP protocol netgraph node type
-.Sh SYNOPSIS
+.Nd PPP $B%W%m%H%3%k(B netgraph $B%N!<%I%?%$%W(B
+.Sh $B=q<0(B
 .Fd #include <netgraph/ng_pptpgre.h>
-.Sh DESCRIPTION
-The
+.Sh $B2r@b(B
 .Nm pptpgre
-node type performs Generic Routing Encapsulation (GRE) over IP
-for the PPTP protocol as specified by RFC 2637.  This involves packet
-encapsulation, sequencing, acknowlegement, and an adaptive timeout
-sliding window mechanism.  This node type does not handle any of
-the TCP control protocol or call negotiation defined by PPTP.
+$B%N!<%I%?%$%W$O(B RFC 2637 $B$KL@5-$5$l$?(B PPTP $B%W%m%H%3%k$N$?$a$N(B
+Generic Routing Encapsulation (GRE) over IP $B$r9T$J$$$^$9!#(B
+$B$3$l$O%Q%1%C%H$N%+%W%;%k2=!"%7!<%1%s%7%s%0!"3NG'1~Ez!"(B
+$BE,9g@-$N$"$k%?%$%`%"%&%H%9%i%$%G%#%s%0%&%#%s%I%&$N5!9=(B
+$B$H4X78$7$^$9!#(B
+$B$3$N%N!<%I%?%$%W$O!"$$$+$J$k(B TCP $B@)8f%W%m%H%3%k$r$bA`:n$7$^$;$s$7!"(B
+PPTP $B$GDj5A$5$l$k%M%4%7%(!<%7%g%s$r8F$S=P$9$3$H$b$"$j$^$;$s!#(B
 .Pp
-The typical use for this node type would be to connect the
-.Dv upper
-hook to one of the link hooks of a
+$B$3$N%N!<%I%?%$%W$NE57?E*$J;H$$$+$?$O(B
 .Xr ng_ppp 8
-node, and the
-.Dv lower
-hook to the
-.Dv "inet/raw/gre"
-hook of a
+$B%N!<%I$N%j%s%/%U%C%/$N0l$D$X>e0L$N(B (
+.Dv upper
+) $B%U%C%/$r@\B3$7!"(B
 .Xr ng_ksocket 8
-node.
-.Sh HOOKS
-This node type supports the following hooks:
+$B%N!<%I$N(B
+.Dv "inet/raw/gre"
+$B%U%C%/$X2<0L$N(B (
+.Dv lower
+) $B%U%C%/$r@\B3$9$k$H$$$C$?$3$H$G$7$g$&!#(B
+.Sh $B%U%C%/(B
+$B$3$N%N!<%I%?%$%W$O0J2<$N%U%C%/$r%5%]!<%H$7$^$9!#(B
 .Pp
 .Bl -tag -compact -width vjc_vjuncomp
 .It Dv upper
-Connection to the upper protocol layers
+$B>e0L$N%W%m%H%3%k3,AX$X$N@\B3(B
 .It Dv lower
-Connection to the lower protocol layers
+$B2<0L$N%W%m%H%3%k3,AX$X$N@\B3(B
 .El
 .Pp
-.Sh CONTROL MESSAGES
-This node type supports the generic control messages, plus the following:
+.Sh $B@)8f%a%C%;!<%8(B
+$B$3$N%N!<%I%?%$%W$OHFMQ@)8f%a%C%;!<%8$r%5%]!<%H$7!"(B
+$B$5$i$K0J2<$N$b$N$r%5%]!<%H$7$^$9!#(B
 .Bl -tag -width foo
 .It Dv NGM_PPTPGRE_SET_CONFIG
-This command resets and configures the node for a session.
-This command takes a
+$B$3$N%3%^%s%I$O0l$D$N%;%C%7%g%s$K$D$$$F%N!<%I$r%j%;%C%H$7!"(B
+$B@_Dj$7$^$9!#(B
+$B$3$N%3%^%s%I$O(B
 .Dv "struct ng_pptpgre_conf"
-as an argument:
+$B$r0z?t$K$H$j$^$9!#(B
 .Bd -literal -offset 0
-/* Configuration for a session */
+/* $B%;%C%7%g%s$N@_Dj(B */
 struct ng_pptpgre_conf {
-    u_char      enabled;          /* enables traffic flow */
-    u_char      enableDelayedAck; /* enables delayed acks */
-    u_int16_t   cid;              /* my call id */
-    u_int16_t   peerCid;          /* peer call id */
-    u_int16_t   recvWin;          /* peer recv window size */
-    u_int16_t   peerPpd;          /* peer packet processing delay
-                                     (in 1/10 of a second) */
+    u_char      enabled;          /* $B%H%i%U%#%C%/%U%m!<2D(B */
+    u_char      enableDelayedAck; /* $BCY1d3NG'1~Ez2D(B */
+    u_int16_t   cid;              /* $B<+J,$N(B call id */
+    u_int16_t   peerCid;          /* $BAj<j$N(B call id */
+    u_int16_t   recvWin;          /* $BAj<j$N<u?.%&%#%s%I%&%5%$%:(B */
+    u_int16_t   peerPpd;          /* $BAj<j$N%Q%1%C%H=hM}CY1d(B
+                                     ( 1/10 $BICC10L(B ) */
 };
 
 .Ed
-The
 .Dv enabled
-field enables traffic flow through the node.  The
+$B%U%#!<%k%I$O%N!<%I$rDL2a$9$k%H%i%U%#%C%/%U%m!<$r2DG=$K$7$^$9!#(B
 .Dv enableDelayedAck
-field enables delayed acknowledgement (maximum 250 miliseconds), which
-is a useful optimization and should generally be turned on.
-The remaining fields are as supplied by the PPTP virtual call setup process.
+$B%U%#!<%k%I$OCY1d3NG'1~Ez(B ($B:GBg$G(B 250 $B%_%jIC(B) $B$r2DG=$K$7$^$9!#(B
+$B$3$l$O:GE,2=$KLrN)$D$N$GBgDq$O%*%s$K$5$l$k$Y$-$G$9!#(B
+$B;D$j$N%U%#!<%k%I$O(B PPTP $B2>A[%3!<%k%;%C%H%"%C%W%W%m%;%9$K$h$C$FM?$($i$l$^$9!#(B
 .It Dv NGM_PPTPGRE_GET_CONFIG
-Returns the current configuration as a
-.Dv "struct ng_pptpgre_conf" .
+$B8=:_$N@_Dj$r(B
+.Dv "struct ng_pptpgre_conf"
+$B$H$7$FJV$7$^$9!#(B
 .El
-.Sh SHUTDOWN
-This node shuts down upon receipt of a
+.Sh $B%7%c%C%H%@%&%s(B
+$B$3$N%N!<%I$O(B
 .Dv NGM_SHUTDOWN
-control message, or when both hooks have been disconnected.
-.Sh SEE ALSO
+$B@)8f%a%C%;!<%8$r<u$1<h$k$+!"(B
+$BN>J}$N%U%C%/$N@\B3$,@Z$l$?$H$-$K%7%c%C%H%@%&%s$7$^$9!#(B
+
+.Sh $B4XO"9`L\(B
 .Xr netgraph 4 ,
 .Xr ng_ksocket 8 ,
 .Xr ng_ppp 8 ,
@@ -125,5 +130,5 @@
 .%T "Point-to-Point Tunneling Protocol (PPTP)"
 .%O RFC 2637
 .Re
-.Sh AUTHOR
+.Sh $B:n<T(B
 Archie Cobbs <archie@whistle.com>

-- 
$B?9(B $B9@Fs(B	(MORI Kouji)
($B3t(B)$B^I>BAH(B $B5;=Q8&5f=j(B
E-mail: mori@tri.asanuma.co.jp
