Document NGM_PPPOE_SETMAXP.

Submitted by:	Dmitry Luhtionov <dmitryluhtionov gmail.com>
This commit is contained in:
glebius 2015-09-15 12:19:01 +00:00
parent 3eb40986b7
commit ce7565f209

View File

@ -35,7 +35,7 @@
.\" $FreeBSD$ .\" $FreeBSD$
.\" $Whistle: ng_pppoe.8,v 1.1 1999/01/25 23:46:27 archie Exp $ .\" $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 .Dt NG_PPPOE 4
.Os .Os
.Sh NAME .Sh NAME
@ -187,7 +187,7 @@ above messages, and reports the Access Concentrator Name.
The four commands above use a common data structure: The four commands above use a common data structure:
.Bd -literal -offset 4n .Bd -literal -offset 4n
struct ngpppoe_sts { struct ngpppoe_sts {
char hook[NG_HOOKSIZ]; /* hook associated with event session */ char hook[NG_HOOKSIZ];
}; };
.Ed .Ed
.Bl -tag -width 3n .Bl -tag -width 3n
@ -244,6 +244,20 @@ hook, or when user wants to override this address with another one.
.Tn ASCII .Tn ASCII
form of this message is form of this message is
.Qq Li setenaddr . .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 .El
.Sh SHUTDOWN .Sh SHUTDOWN
This node shuts down upon receipt of a This node shuts down upon receipt of a