aboutsummaryrefslogtreecommitdiffstats
path: root/pcap.h
diff options
context:
space:
mode:
authorguy <guy>2000-10-12 04:16:52 +0000
committerguy <guy>2000-10-12 04:16:52 +0000
commit3a5713e4fc8346776ada79bd34ddbddbe7f3fcc6 (patch)
tree2960ea189e1922f59cc727430debc1ca49691289 /pcap.h
parent88541c9adfdccf585bd5fd09b2c1caeab5d2fe33 (diff)
In addition to telling people not to change the format of the savefile
header without getting a new magic number from us, tell them not to change the interpretation of any fields in the header without getting a new magic number from us.
Diffstat (limited to 'pcap.h')
-rw-r--r--pcap.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/pcap.h b/pcap.h
index c1a144a..84c4706 100644
--- a/pcap.h
+++ b/pcap.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#) $Header: /tcpdump/master/libpcap/pcap.h,v 1.28 2000-10-12 03:54:01 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/pcap.h,v 1.29 2000-10-12 04:16:52 guy Exp $ (LBL)
*/
#ifndef lib_pcap_h
@@ -70,11 +70,18 @@ typedef struct pcap_dumper pcap_dumper_t;
* Many fields here are 32 bit ints so compilers won't insert unwanted
* padding; these files need to be interchangeable across architectures.
*
- * Do not change the format of this structure, in any way (this includes
+ * Do not change the layout of this structure, in any way (this includes
* changes that only affect the length of fields in this structure).
+ *
+ * Also, do not change the interpretation of any of the members of this
+ * structure, in any way (this includes using values other than
+ * LINKTYPE_ values, as defined in "savefile.c", in the "linktype"
+ * field).
+ *
* Instead:
*
- * introduce a new structure for the new format;
+ * introduce a new structure for the new format, if the layout
+ * of the structure changed;
*
* send mail to "tcpdump-workers@tcpdump.org", requesting a new
* magic number for your new capture file format, and, when