Remove dependency on kernel headers
[lttv.git] / lttv / lttv / sync / event_processing_lttng_standard.c
index c3b4da23d4c3ca97942c98f9783ecd4b0a8d302d..876dac0858c501838e3c108b88af9194c094f527 100644 (file)
@@ -22,7 +22,6 @@
 #include <config.h>
 #endif
 
-#include <linux/if_ether.h>
 #include <math.h>
 #include <netinet/in.h>
 #include <stdarg.h>
 
 #include "event_processing_lttng_standard.h"
 
+/* IPv4 Ethertype, taken from <linux/if_ether.h>, unlikely to change as it's
+ * defined by IANA: http://www.iana.org/assignments/ethernet-numbers
+ */
+#define ETH_P_IP    0x0800
+
 
 // Functions common to all processing modules
 static void initProcessingLTTVStandard(SyncState* const syncState, ...);
This page took 0.022446 seconds and 4 git commands to generate.