svn commit: r288921 - stable/9/share/man/man4

Alexander Motin mav at FreeBSD.org
Tue Oct 6 13:50:32 UTC 2015


Author: mav
Date: Tue Oct  6 13:50:31 2015
New Revision: 288921
URL: https://svnweb.freebsd.org/changeset/base/288921

Log:
  MFC r287821: Document NGM_PPPOE_SETMAXP.
  
  Submitted by:   Dmitry Luhtionov <dmitryluhtionov gmail.com>

Modified:
  stable/9/share/man/man4/ng_pppoe.4
Directory Properties:
  stable/9/   (props changed)
  stable/9/share/   (props changed)
  stable/9/share/man/   (props changed)
  stable/9/share/man/man4/   (props changed)

Modified: stable/9/share/man/man4/ng_pppoe.4
==============================================================================
--- stable/9/share/man/man4/ng_pppoe.4	Tue Oct  6 13:49:28 2015	(r288920)
+++ stable/9/share/man/man4/ng_pppoe.4	Tue Oct  6 13:50:31 2015	(r288921)
@@ -35,7 +35,7 @@
 .\" $FreeBSD$
 .\" $Whistle: ng_pppoe.8,v 1.1 1999/01/25 23:46:27 archie Exp $
 .\"
-.Dd December 27, 2007
+.Dd September 15, 2015
 .Dt NG_PPPOE 4
 .Os
 .Sh NAME
@@ -187,7 +187,7 @@ above messages, and reports the Access C
 The four commands above use a common data structure:
 .Bd -literal -offset 4n
 struct ngpppoe_sts {
-    char    hook[NG_HOOKSIZ];    /* hook associated with event session */
+    char    hook[NG_HOOKSIZ];
 };
 .Ed
 .Bl -tag -width 3n
@@ -244,6 +244,20 @@ hook, or when user wants to override thi
 .Tn ASCII
 form of this message is
 .Qq Li setenaddr .
+.It Dv NGM_PPPOE_SETMAXP Pq Ic setmaxp
+Set the node PPP-Max-Payload value as described in RFC 4638.
+This message applies only to a client configuration.
+.Tn ASCII
+form of this message is
+.Qq Li setmaxp .
+.Pp
+Data structure returned to client is:
+.Bd -literal -offset 4n
+struct ngpppoe_maxp {
+    char     hook[NG_HOOKSIZ];
+    uint16_t data;
+};
+.Ed
 .El
 .Sh SHUTDOWN
 This node shuts down upon receipt of a


More information about the svn-src-stable-9 mailing list