diff options
author | guy <guy> | 2003-06-27 07:57:09 +0000 |
---|---|---|
committer | guy <guy> | 2003-06-27 07:57:09 +0000 |
commit | 21fd0c41cb797d6b67b71ae57abfcb0c3076445d (patch) | |
tree | f3688d23c25979770646ce0d0c1878529ada81d8 /pcap-bpf.h | |
parent | bd2783673c67c633e76aec8a0a6abe0b179c2ce7 (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.h | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -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 */ |