aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ip.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-07-09 11:32:50 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-07-09 11:32:50 +0000
commit046a329a6656133de6fb6b3a619999cc9cdb1516 (patch)
tree7a56bc31f86ec0cbbde7e55e2decd3be14e5760a /epan/dissectors/packet-ip.h
parentf40bd67713193a8329cbba691a9174aef0c5a260 (diff)
Split packet-ip into packet-ip and packet-icmp.
Some cleanup in handles and ett entries. svn path=/trunk/; revision=29035
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[];