1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/net/rp-pppoe/files/patch-ae
Kirill Ponomarev b88d4fa6e7 Enable pppoe-relay
PR:		ports/69868
Submitted by:	maintainer
2004-08-01 16:31:10 +00:00

17 lines
635 B
Plaintext

--- relay.h.orig Mon Jul 8 20:38:24 2002
+++ relay.h Wed Mar 10 15:50:51 2004
@@ -51,8 +51,13 @@
/* Function prototypes */
+#if defined(__FreeBSD__)
+void relayGotSessionPacket(PPPoEInterface const *iface, PPPoEPacket *packet, int size);
+void relayGotDiscoveryPacket(PPPoEInterface const *iface, PPPoEPacket *packet, int size);
+#else
void relayGotSessionPacket(PPPoEInterface const *i);
void relayGotDiscoveryPacket(PPPoEInterface const *i);
+#endif
PPPoEInterface *findInterface(int sock);
unsigned int hash(unsigned char const *mac, UINT16_t sesNum);
SessionHash *findSession(unsigned char const *mac, UINT16_t sesNum);