projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dependency on kernel headers
[lttv.git]
/
lttv
/
lttv
/
sync
/
event_processing_lttng_standard.c
diff --git
a/lttv/lttv/sync/event_processing_lttng_standard.c
b/lttv/lttv/sync/event_processing_lttng_standard.c
index c3b4da23d4c3ca97942c98f9783ecd4b0a8d302d..876dac0858c501838e3c108b88af9194c094f527 100644
(file)
--- a/
lttv/lttv/sync/event_processing_lttng_standard.c
+++ b/
lttv/lttv/sync/event_processing_lttng_standard.c
@@
-22,7
+22,6
@@
#include <config.h>
#endif
#include <config.h>
#endif
-#include <linux/if_ether.h>
#include <math.h>
#include <netinet/in.h>
#include <stdarg.h>
#include <math.h>
#include <netinet/in.h>
#include <stdarg.h>
@@
-35,6
+34,11
@@
#include "event_processing_lttng_standard.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, ...);
// Functions common to all processing modules
static void initProcessingLTTVStandard(SyncState* const syncState, ...);
This page took
0.022427 seconds
and
4
git commands to generate.