diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-10-30 17:50:51 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-10-30 17:50:51 +0000 |
commit | 7445ecfd0568693f1b4d6f13381cb118b7537e51 (patch) | |
tree | bf5f61e3b12f890c3a7ad8326e5dc14132d148bf /epan | |
parent | 7d4095d2af1df53a6938825a3e5c330495e7c1cb (diff) | |
download | wireshark-7445ecfd0568693f1b4d6f13381cb118b7537e51.tar.gz wireshark-7445ecfd0568693f1b4d6f13381cb118b7537e51.tar.bz2 wireshark-7445ecfd0568693f1b4d6f13381cb118b7537e51.zip |
split capture_loop from capture.c, some more code cleanup
svn path=/trunk/; revision=12451
Diffstat (limited to 'epan')
-rw-r--r-- | epan/packet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/packet.h b/epan/packet.h index 6d52783431..7fcc67c929 100644 --- a/epan/packet.h +++ b/epan/packet.h @@ -75,6 +75,9 @@ typedef struct _packet_counts { gint arp; } packet_counts; +/** Number of packet counts. */ +#define PACKET_COUNTS_SIZE sizeof(packet_counts) / sizeof (gint) + /* Types of character encodings */ typedef enum { CHAR_ASCII = 0, /* ASCII */ |