aboutsummaryrefslogtreecommitdiffstats
path: root/net/rp-pppoe/files/patch-pppoe.h
blob: 4bd1332927506b685c7d8296cca2a948dbd5d738 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- ./pppoe.h.orig  2012-08-17 20:31:25.000000000 +0200
+++ ./pppoe.h   2012-09-23 17:27:26.000000000 +0200
@@ -72,10 +72,14 @@
 #include <net/if_ppp.h>
 #endif
 
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#include <net/ethernet.h>
+#endif
+
 #ifdef USE_BPF
 extern int bpfSize;
 struct PPPoEPacketStruct;
-void sessionDiscoveryPacket(struct PPPoEPacketStruct *packet);
 #define BPF_BUFFER_IS_EMPTY (bpfSize <= 0)
 #define BPF_BUFFER_HAS_DATA (bpfSize > 0)
 #define ethhdr ether_header