svn commit: r287821 - head/share/man/man4

Gleb Smirnoff glebius at FreeBSD.org
Tue Sep 15 12:19:02 UTC 2015


Author: glebius
Date: Tue Sep 15 12:19:01 2015
New Revision: 287821
URL: https://svnweb.freebsd.org/changeset/base/287821

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

Modified:
  head/share/man/man4/ng_pppoe.4

Modified: head/share/man/man4/ng_pppoe.4
==============================================================================
--- head/share/man/man4/ng_pppoe.4	Tue Sep 15 11:21:16 2015	(r287820)
+++ head/share/man/man4/ng_pppoe.4	Tue Sep 15 12:19:01 2015	(r287821)
@@ -35,7 +35,7 @@
 .\" $FreeBSD$
 .\" $Whistle: ng_pppoe.8,v 1.1 1999/01/25 23:46:27 archie Exp $
 .\"
-.Dd November 13, 2012
+.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-all mailing list