diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-03-03 23:46:50 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-03-03 23:46:50 +0000 |
commit | 8214e53b282ad66774132463f78d48ed02d32c88 (patch) | |
tree | 1f74b727d6695538307add1b949865ca32d7fe9b /packet-udp.h | |
parent | b082264a2c43cbb005274161a05acef244681be1 (diff) |
Added tap functionality to UDP
Added top talkers calculation for UDP socketpairs
try -z io,users,udpip
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7266 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-udp.h')
-rw-r--r-- | packet-udp.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/packet-udp.h b/packet-udp.h index 923cd2096d..30dd8ecda5 100644 --- a/packet-udp.h +++ b/packet-udp.h @@ -1,6 +1,6 @@ /* packet-udp.h * - * $Id: packet-udp.h,v 1.6 2002/08/28 21:00:36 jmayer Exp $ + * $Id: packet-udp.h,v 1.7 2003/03/03 23:46:48 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -25,6 +25,18 @@ #ifndef __PACKET_UDP_H__ #define __PACKET_UDP_H__ +/* UDP structs and definitions */ +typedef struct _e_udphdr { + guint16 uh_sport; + guint16 uh_dport; + guint16 uh_ulen; + guint16 uh_sum; + /* This can be either a ipv4 or a ipv6 header struct so make sure you know + what you try to dereference */ + void *ip_header; +} e_udphdr; + + extern void decode_udp_ports(tvbuff_t *, int, packet_info *, proto_tree *, int, int); |