ng_pppoe.4 (f8307e1233657707bc582110f07373c96d91943b) | ng_pppoe.4 (5129159789cc9d7bc514e4546b88e3427695002d) |
---|---|
1.\" Copyright (c) 1996-1999 Whistle Communications, Inc. 2.\" All rights reserved. 3.\" 4.\" Subject to the following obligations and disclaimer of warranty, use and 5.\" redistribution of this software, in source or object code forms, with or 6.\" without modifications are expressly permitted by Whistle Communications; 7.\" provided, however, that: 8.\" 1. Any and all reproductions of the source or object code must include the --- 23 unchanged lines hidden (view full) --- 32.\" 33.\" Author: Archie Cobbs <archie@whistle.com> 34.\" 35.\" $FreeBSD$ 36.\" $Whistle: ng_pppoe.8,v 1.1 1999/01/25 23:46:27 archie Exp $ 37.\" 38.Dd October 28, 1999 39.Dt NG_PPPOE 8 | 1.\" Copyright (c) 1996-1999 Whistle Communications, Inc. 2.\" All rights reserved. 3.\" 4.\" Subject to the following obligations and disclaimer of warranty, use and 5.\" redistribution of this software, in source or object code forms, with or 6.\" without modifications are expressly permitted by Whistle Communications; 7.\" provided, however, that: 8.\" 1. Any and all reproductions of the source or object code must include the --- 23 unchanged lines hidden (view full) --- 32.\" 33.\" Author: Archie Cobbs <archie@whistle.com> 34.\" 35.\" $FreeBSD$ 36.\" $Whistle: ng_pppoe.8,v 1.1 1999/01/25 23:46:27 archie Exp $ 37.\" 38.Dd October 28, 1999 39.Dt NG_PPPOE 8 |
40.Os FreeBSD 4.0 | 40.Os FreeBSD |
41.Sh NAME 42.Nm ng_pppoe 43.Nd RFC 2516 PPPOE protocol netgraph node type 44.Sh SYNOPSIS 45.Fd #include <net/ethernet.h> 46.Fd #include <netgraph/ng_pppoe.h> 47.Sh DESCRIPTION 48The | 41.Sh NAME 42.Nm ng_pppoe 43.Nd RFC 2516 PPPOE protocol netgraph node type 44.Sh SYNOPSIS 45.Fd #include <net/ethernet.h> 46.Fd #include <netgraph/ng_pppoe.h> 47.Sh DESCRIPTION 48The |
49.Nm | 49.Nm pppoe |
50node type performs the PPPoE protocol. It is used in conjunction with the 51.Xr netgraph 4 52extensions to the Ethernet framework to divert and inject Ethernet packets 53to and from a PPP agent (which is not specified). 54.Pp 55The 56.Dv NGM_PPPOE_GET_STATUS 57control message can be used at any time to query the current status --- 101 unchanged lines hidden (view full) --- 159 160.El 161.Sh SHUTDOWN 162This node shuts down upon receipt of a 163.Dv NGM_SHUTDOWN 164control message, when all session have been disconnected or when the 165.Dv ethernet 166hook is disconnected. | 50node type performs the PPPoE protocol. It is used in conjunction with the 51.Xr netgraph 4 52extensions to the Ethernet framework to divert and inject Ethernet packets 53to and from a PPP agent (which is not specified). 54.Pp 55The 56.Dv NGM_PPPOE_GET_STATUS 57control message can be used at any time to query the current status --- 101 unchanged lines hidden (view full) --- 159 160.El 161.Sh SHUTDOWN 162This node shuts down upon receipt of a 163.Dv NGM_SHUTDOWN 164control message, when all session have been disconnected or when the 165.Dv ethernet 166hook is disconnected. |
167.Sh EXAMPLE USAGE | 167.Sh EXAMPLES |
168The following code uses 169.Dv libnetgraph 170to set up a 171.Nm 172node and connect it to both a socket node and an Ethernet node. It can handle 173the case of when a 174.Nm 175node is already attached to the Ethernet. It then starts a client session. --- 214 unchanged lines hidden (view full) --- 390.%A K. Lidl 391.%A J. Evarts 392.%A D. Carrel 393.%A D. Simone 394.%A R. Wheeler 395.%T "A Method for transmitting PPP over Ethernet (PPPoE)" 396.%O RFC 2516 397.Re | 168The following code uses 169.Dv libnetgraph 170to set up a 171.Nm 172node and connect it to both a socket node and an Ethernet node. It can handle 173the case of when a 174.Nm 175node is already attached to the Ethernet. It then starts a client session. --- 214 unchanged lines hidden (view full) --- 390.%A K. Lidl 391.%A J. Evarts 392.%A D. Carrel 393.%A D. Simone 394.%A R. Wheeler 395.%T "A Method for transmitting PPP over Ethernet (PPPoE)" 396.%O RFC 2516 397.Re |
398.Sh AUTHOR 399Julian Elischer <julian@whistle.com> | 398.Sh HISTORY 399The 400.Nm 401node type was implemented in 402.Fx 4.0 . 403.Sh AUTHORS 404.An Julian Elischer Aq julian@whistle.com |