]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap/bpf.h
Propagate from the git tree:
[libpcap] / pcap / bpf.h
index 31e0041b297773f4f3d0555034c492425bf1a8c5..c660292a0d6f2dc15c5e1b470ed92574b304e690 100644 (file)
@@ -37,7 +37,7 @@
  *
  *      @(#)bpf.h       7.1 (Berkeley) 5/7/91
  *
- * @(#) $Header: /tcpdump/master/libpcap/pcap/bpf.h,v 1.27 2008-09-22 20:14:19 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap/bpf.h,v 1.28 2008-11-18 07:48:56 guy Exp $ (LBL)
  */
 
 /*
@@ -821,6 +821,14 @@ struct bpf_version {
  */
 #define DLT_IEEE802_15_4_NONASK_PHY    215
 
+/* 
+ * David Gibson <[email protected]> requested this for
+ * captures from the Linux kernel /dev/input/eventN devices. This
+ * is used to communicate keystrokes and mouse movements from the
+ * Linux kernel to display systems, such as Xorg. 
+ */
+#define DLT_LINUX_EVDEV                        216
+
 
 /*
  * DLT and savefile link type values are split into a class and