summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-10-06 13:49:28 +0000
committermav <mav@FreeBSD.org>2015-10-06 13:49:28 +0000
commit9ce81fb544434b96a521ff5e30bb70af91c01e55 (patch)
treede06a956e06204afccce66ba96e90651170726c8
parent342fcd5139a9a94688a4bad61f1adc310737c197 (diff)
downloadFreeBSD-src-9ce81fb544434b96a521ff5e30bb70af91c01e55.zip
FreeBSD-src-9ce81fb544434b96a521ff5e30bb70af91c01e55.tar.gz
MFC r287821: Document NGM_PPPOE_SETMAXP.
Submitted by: Dmitry Luhtionov <dmitryluhtionov gmail.com>
-rw-r--r--share/man/man4/ng_pppoe.418
1 files changed, 16 insertions, 2 deletions
diff --git a/share/man/man4/ng_pppoe.4 b/share/man/man4/ng_pppoe.4
index a124d67..563673f 100644
--- a/share/man/man4/ng_pppoe.4
+++ b/share/man/man4/ng_pppoe.4
@@ -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 Concentrator Name.
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 this address with another one.
.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
OpenPOWER on IntegriCloud