aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorguy <guy>2003-06-27 07:57:09 +0000
committerguy <guy>2003-06-27 07:57:09 +0000
commit21fd0c41cb797d6b67b71ae57abfcb0c3076445d (patch)
treef3688d23c25979770646ce0d0c1878529ada81d8 /pcap-bpf.h
parentbd2783673c67c633e76aec8a0a6abe0b179c2ce7 (diff)
Reserve a DLT_ value for Apple IP-over-IEEE 1394 cooked headers, as per
a request from Dieter Sigmund <dieter@apple.com>.
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index a9cd35f..9ba26a9 100644
--- a/pcap-bpf.h
+++ b/pcap-bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
- * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.7 2003-04-28 08:20:24 hannes Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.8 2003-06-27 07:57:09 guy Exp $ (LBL)
*/
/*
@@ -378,6 +378,23 @@ struct bpf_version {
#define DLT_JUNIPER_ATM1 137
/*
+ * Reserved for Apple IP-over-IEEE 1394, as per a request from Dieter
+ * Sigmund <dieter@apple.com>. The header that would be presented
+ * would be an Ethernet-like header:
+ *
+ * #define FIREWIRE_EUI64_LEN 8
+ * struct firewire_header {
+ * u_char firewire_dhost[FIREWIRE_EUI64_LEN];
+ * u_char firewire_dhost[FIREWIRE_EUI64_LEN];
+ * u_short firewire_type;
+ * };
+ *
+ * with "firewire_type" being an Ethernet type value, rather than,
+ * for example, raw GASP frames being handed up.
+ */
+#define DLT_APPLE_IP_OVER_IEEE1394 138
+
+/*
* The instruction encodings.
*/
/* instruction classes */