Split packet-ip into packet-ip and packet-icmp.

Some cleanup in handles and ett entries.

svn path=/trunk/; revision=29035
This commit is contained in:
Stig Bjørlykke 2009-07-09 11:32:50 +00:00
parent f40bd67713
commit 046a329a66
4 changed files with 1118 additions and 1075 deletions

View File

@ -511,6 +511,7 @@ DISSECTOR_SRC = \
packet-iax2.c \
packet-icap.c \
packet-icep.c \
packet-icmp.c \
packet-icmpv6.c \
packet-icp.c \
packet-icq.c \

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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[];