#include <netpacket/packet.h>
#include <arpa/inet.h>
#include <linux/if_pppox.h>
+#include <linux/rtnetlink.h>
#include "l2tpns.h"
#include "cluster.h"
}
}
-#ifdef LAC
// Forward from pppoe to l2tp remote LNS
static void pppoe_forwardto_session_rmlns(uint8_t *pack, int size, sessionidt sess, uint16_t proto)
{
tunnelsend(p, lpppoe, t); // send it....
}
-#endif
void process_pppoe_sess(uint8_t *pack, int size)
{
lppp -= 2;
}
-#ifdef LAC
if (session[sid].forwardtosession)
{ // Must be forwaded to a remote lns tunnel l2tp
pppoe_forwardto_session_rmlns(pack, size, sid, proto);
return;
}
-#endif
if (proto == PPPPAP)
{