Deleted Added
full compact
ng_pppoe.c (70935) ng_pppoe.c (71849)
1
2/*
3 * ng_pppoe.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

--- 22 unchanged lines hidden (view full) ---

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Julian Elischer <julian@freebsd.org>
38 *
1
2/*
3 * ng_pppoe.c
4 *
5 * Copyright (c) 1996-1999 Whistle Communications, Inc.
6 * All rights reserved.
7 *
8 * Subject to the following obligations and disclaimer of warranty, use and

--- 22 unchanged lines hidden (view full) ---

31 * SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY
32 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
35 * OF SUCH DAMAGE.
36 *
37 * Author: Julian Elischer <julian@freebsd.org>
38 *
39 * $FreeBSD: head/sys/netgraph/ng_pppoe.c 70935 2001-01-11 19:27:54Z julian $
39 * $FreeBSD: head/sys/netgraph/ng_pppoe.c 71849 2001-01-30 20:51:52Z julian $
40 * $Whistle: ng_pppoe.c,v 1.10 1999/11/01 09:24:52 julian Exp $
41 */
42#if 0
43#define AAA printf("pppoe: %s\n", __FUNCTION__ );
44#define BBB printf("-%d-", __LINE__ );
45#else
46#define AAA
47#define BBB

--- 115 unchanged lines hidden (view full) ---

163 ng_pppoe_newhook,
164 NULL,
165 ng_pppoe_connect,
166 ng_pppoe_rcvdata,
167 ng_pppoe_disconnect,
168 ng_pppoe_cmds
169};
170NETGRAPH_INIT(pppoe, &typestruct);
40 * $Whistle: ng_pppoe.c,v 1.10 1999/11/01 09:24:52 julian Exp $
41 */
42#if 0
43#define AAA printf("pppoe: %s\n", __FUNCTION__ );
44#define BBB printf("-%d-", __LINE__ );
45#else
46#define AAA
47#define BBB

--- 115 unchanged lines hidden (view full) ---

163 ng_pppoe_newhook,
164 NULL,
165 ng_pppoe_connect,
166 ng_pppoe_rcvdata,
167 ng_pppoe_disconnect,
168 ng_pppoe_cmds
169};
170NETGRAPH_INIT(pppoe, &typestruct);
171/* Depend on ng_ether so we can use the Ethernet parse type */
172MODULE_DEPEND(ng_pppoe, ng_ether, 1, 1, 1);
171
172/*
173 * States for the session state machine.
174 * These have no meaning if there is no hook attached yet.
175 */
176enum state {
177 PPPOE_SNONE=0, /* [both] Initial state */
178 PPPOE_LISTENING, /* [Daemon] Listening for discover initiation pkt */

--- 1463 unchanged lines hidden ---
173
174/*
175 * States for the session state machine.
176 * These have no meaning if there is no hook attached yet.
177 */
178enum state {
179 PPPOE_SNONE=0, /* [both] Initial state */
180 PPPOE_LISTENING, /* [Daemon] Listening for discover initiation pkt */

--- 1463 unchanged lines hidden ---