From: Benjamin Poirier Date: Fri, 29 Jan 2010 17:20:43 +0000 (-0500) Subject: Remove dependency on kernel headers X-Git-Tag: v0.12.29~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2bd5afbbc47668069bd04972cd4d1bb298c22233;p=lttv.git Remove dependency on kernel headers Signed-off-by: Benjamin Poirier --- diff --git a/lttv/lttv/sync/event_processing_lttng_standard.c b/lttv/lttv/sync/event_processing_lttng_standard.c index c3b4da23..876dac08 100644 --- a/lttv/lttv/sync/event_processing_lttng_standard.c +++ b/lttv/lttv/sync/event_processing_lttng_standard.c @@ -22,7 +22,6 @@ #include #endif -#include #include #include #include @@ -35,6 +34,11 @@ #include "event_processing_lttng_standard.h" +/* IPv4 Ethertype, taken from , 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, ...);