Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2015 13:49:29 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r288920 - stable/10/share/man/man4
Message-ID:  <201510061349.t96DnT53088168@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Tue Oct  6 13:49:28 2015
New Revision: 288920
URL: https://svnweb.freebsd.org/changeset/base/288920

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

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

Modified: stable/10/share/man/man4/ng_pppoe.4
==============================================================================
--- stable/10/share/man/man4/ng_pppoe.4	Tue Oct  6 13:11:26 2015	(r288919)
+++ stable/10/share/man/man4/ng_pppoe.4	Tue Oct  6 13:49:28 2015	(r288920)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510061349.t96DnT53088168>