aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-bpf.h
diff options
context:
space:
mode:
authorguy <guy>2004-03-11 23:47:29 +0000
committerguy <guy>2004-03-11 23:47:29 +0000
commitce798150acc2d5d1b56e7da75857b12664a6bcde (patch)
treea881117182ab5f04aa170c52760d3a0e72ec526f /pcap-bpf.h
parent2f74e436abc12837b3486ebbac843d59cd76767a (diff)
Beef up some comments, and clean up some other comments.
Diffstat (limited to 'pcap-bpf.h')
-rw-r--r--pcap-bpf.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/pcap-bpf.h b/pcap-bpf.h
index 3dea4c9..8ca79d7 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.16 2004-03-11 09:13:11 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap-bpf.h,v 1.17 2004-03-11 23:47:29 guy Exp $ (LBL)
*/
/*
@@ -375,10 +375,10 @@ struct bpf_version {
#define DLT_ARCNET_LINUX 129 /* ARCNET */
/*
- * juniper-private data link types, as per request from
- * Hannes Gredler <hannes@juniper.net> the DLT_s are used
- * for passing on chassis-internal metainformation like
- * QOS profiles etc.
+ * Juniper-private data link types, as per request from
+ * Hannes Gredler <hannes@juniper.net>. The DLT_s are used
+ * for passing on chassis-internal metainformation such as
+ * QOS profiles, etc..
*/
#define DLT_JUNIPER_MLPPP 130
#define DLT_JUNIPER_MLFR 131
@@ -456,8 +456,12 @@ struct bpf_version {
* and you may also find that the developers of those applications will
* not accept patches to let them read those files.
*
+ * Also, do not use them if somebody might send you a capture using them
+ * for *their* private type and tools using them for *your* private type
+ * would have to read them.
+ *
* Instead, ask "tcpdump-workers@tcpdump.org" for a new DLT_ value,
- * as per the comment above.
+ * as per the comment above, and use the type you're given.
*/
#define DLT_USER0 147
#define DLT_USER1 148
@@ -489,10 +493,10 @@ struct bpf_version {
#define DLT_IEEE802_11_RADIO_AVS 163 /* 802.11 plus AVS radio header */
/*
- * juniper-private data link type, as per request from
- * Hannes Gredler <hannes@juniper.net> the DLT_s are used
- * for passing on chassis-internal metainformation like
- * QOS profiles etc.
+ * Juniper-private data link type, as per request from
+ * Hannes Gredler <hannes@juniper.net>. The DLT_s are used
+ * for passing on chassis-internal metainformation such as
+ * QOS profiles, etc..
*/
#define DLT_JUNIPER_MONITOR 164