summaryrefslogtreecommitdiff
path: root/ip.h
diff options
context:
space:
mode:
authorguy <guy>2000-09-29 04:58:33 +0000
committerguy <guy>2000-09-29 04:58:33 +0000
commitcf53dc05f1c854cc8cb94afd3409bbf033a055ed (patch)
tree940e081f48caa7c681a27e66f1f775ab8d7cb042 /ip.h
parent0e59c1e8d36554185c856e78d88cc909cd5fb900 (diff)
downloadtcpdump-cf53dc05f1c854cc8cb94afd3409bbf033a055ed.tar.gz
Get rid of includes of <netinet/in_systm.h>, and replace "n_short",
"n_long", and "n_time", defined in that file, with other types.
Diffstat (limited to 'ip.h')
-rw-r--r--ip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ip.h b/ip.h
index adba2e6c..028e9670 100644
--- a/ip.h
+++ b/ip.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.2 2000-09-24 07:40:45 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.3 2000-09-29 04:58:33 guy Exp $ (LBL) */
/*
* Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved.
@@ -159,10 +159,10 @@ struct ip_timestamp {
ipt_flg:4; /* flags, see below */
#endif
union ipt_timestamp {
- n_long ipt_time[1];
+ u_int32_t ipt_time[1];
struct ipt_ta {
struct in_addr ipt_addr;
- n_long ipt_time;
+ u_int32_t ipt_time;
} ipt_ta[1];
} ipt_timestamp;
};