aboutsummaryrefslogtreecommitdiffstats
path: root/bpf
diff options
context:
space:
mode:
authorguy <guy>2002-04-20 21:01:57 +0000
committerguy <guy>2002-04-20 21:01:57 +0000
commit0a4e47d8be85b739813b123faf592e81b93ebaba (patch)
tree3b1b8962842fec6cfbda10f3d32412a33b549987 /bpf
parent9e0534ca6427c3baeeb47682dfe46b15da80eb57 (diff)
Don Lee was doing IP-over-FC, with the link-layer header from the
capture device having only an RFC 2625 Network_Header field, not a Fibre Channel frame header; rename the constants to emphasize this and to leave room for another "raw Fibre Channel" link-layer type, if it's ever needed.
Diffstat (limited to 'bpf')
-rw-r--r--bpf/net/bpf.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/bpf/net/bpf.h b/bpf/net/bpf.h
index 8c76e48..d8457dc 100644
--- a/bpf/net/bpf.h
+++ b/bpf/net/bpf.h
@@ -37,7 +37,7 @@
*
* @(#)bpf.h 7.1 (Berkeley) 5/7/91
*
- * @(#) $Header: /tcpdump/master/libpcap/bpf/net/Attic/bpf.h,v 1.55 2002-04-20 10:02:16 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/bpf/net/Attic/bpf.h,v 1.56 2002-04-20 21:01:58 guy Exp $ (LBL)
*/
#ifndef BPF_MAJOR_VERSION
@@ -331,10 +331,15 @@ struct bpf_hdr {
#define DLT_HHDLC 121
/*
- * Reserved for Fibre Channel, as per a request from Don Lee
- * <donlee@cray.com>.
+ * Reserved for RFC 2625 IP-over-Fibre Channel, as per a request from
+ * Don Lee <donlee@cray.com>.
+ *
+ * This is not for use with raw Fibre Channel, where the link-layer
+ * header starts with a Fibre Channel frame header; it's for IP-over-FC,
+ * where the link-layer header starts with an RFC 2625 Network_Header
+ * field.
*/
-#define DLT_FC 122
+#define DLT_IP_OVER_FC 122
/*
* The instruction encodings.