aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ip.h
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-07-09 11:32:50 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-07-09 11:32:50 +0000
commitd196543eb0ae738588291670426b2deb2b36dd87 (patch)
tree7a56bc31f86ec0cbbde7e55e2decd3be14e5760a /epan/dissectors/packet-ip.h
parent3e848275cefa304fb308f5632ae878e4984254eb (diff)
Split packet-ip into packet-ip and packet-icmp.
Some cleanup in handles and ett entries. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29035 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ip.h')
-rw-r--r--epan/dissectors/packet-ip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ip.h b/epan/dissectors/packet-ip.h
index 4ce89d02e8..26c7e36533 100644
--- a/epan/dissectors/packet-ip.h
+++ b/epan/dissectors/packet-ip.h
@@ -27,7 +27,7 @@
#define __PACKET_IP_H__
typedef struct _ws_ip
- {
+{
guint8 ip_v_hl; /* combines ip_v and ip_hl */
guint8 ip_tos;
guint16 ip_len;
@@ -41,6 +41,7 @@ typedef struct _ws_ip
} ws_ip;
void capture_ip(const guchar *, int, int, packet_counts *);
+guint16 ip_checksum(const guint8 *ptr, int len);
/* Export the DSCP value-string table for other protocols */
WS_VAR_IMPORT const value_string dscp_vals[];