diff options
Diffstat (limited to 'share/man/man4/ng_pppoe.4')
-rw-r--r-- | share/man/man4/ng_pppoe.4 | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/share/man/man4/ng_pppoe.4 b/share/man/man4/ng_pppoe.4 index d74532f..7cde40c 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 January 27, 2006 +.Dd August 9, 2006 .Dt NG_PPPOE 4 .Os .Sh NAME @@ -70,7 +70,14 @@ This node type supports the following hooks: .Pp .Bl -tag -width [unspecified] .It Dv ethernet -The hook that should normally be connected to an Ethernet node. +The hook that should normally be connected to an +.Xr ng_ether 4 +node. +Once connected, +.Nm +will send a message down this hook to determine Ethernet address of +the underlying node. +Obtained address will be stored and then used for outgoing datagrams. .It Dv debug Presently no use. .It Dv [unspecified] @@ -227,6 +234,15 @@ the next session in the proprietary 3Com mode: .Bd -literal -offset indent ngctl msg fxp0:orphans pppoe_setmode '"3Com"' .Ed +.It Dv NGM_PPPOE_SETENADDR +Set the node Ethernet address for outgoing datagrams. +This message is important when node failed to obtain Ethernet address +from peer on +.Dv ethernet +hook, or when user wants to override this address with another one. +.Tn ASCII +form of this message is +.Qq Li setenaddr . .El .Sh SHUTDOWN This node shuts down upon receipt of a @@ -466,6 +482,7 @@ setup(char *ethername, char *service, char *sessname, .Sh SEE ALSO .Xr netgraph 3 , .Xr netgraph 4 , +.Xr ng_ether 4 , .Xr ng_ppp 4 , .Xr ng_socket 4 , .Xr ngctl 8 , |