Home | History | Annotate | Download | only in rp-pppoe

Lines Matching refs:pppoe

5 * pppd plugin for kernel-mode PPPoE on Linux
10 * Much code and many ideas derived from pppoe plugin by Michal
29 #include "pppoe.h"
75 "PPPoE device name",
79 "Desired PPPoE service name" },
81 "Desired PPPoE access concentrator name" },
86 { "pppoe-mac", o_string, &pppoe_reqd_mac,
100 * Initializes PPPoE device.
107 novm("PPPoE session data");
126 * Connects PPPoE device.
142 error("Failed to create PPPoE socket: %m");
189 error("Unable to complete PPPoE Discovery");
194 /* Set PPPoE session-number for further consumption */
199 sp.sa_addr.pppoe.sid = conn->session;
200 memcpy(sp.sa_addr.pppoe.dev, conn->ifName, IFNAMSIZ);
201 memcpy(sp.sa_addr.pppoe.remote, conn->peerEth, ETH_ALEN);
225 error("Failed to connect PPPoE socket: %d %m", errno);
260 * Disconnects PPPoE device
269 sp.sa_addr.pppoe.sid = 0;
270 memcpy(sp.sa_addr.pppoe.dev, conn->ifName, IFNAMSIZ);
271 memcpy(sp.sa_addr.pppoe.remote, conn->peerEth, ETH_ALEN);
274 error("Failed to disconnect PPPoE socket: %d %m", errno);
375 fatal("Linux kernel does not support PPPoE -- are you running 2.4.x?");
380 info("RP-PPPoE plugin version %s compiled against pppd %s",
393 option_error("cannot parse pppoe-mac option value");