diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-09-01 09:43:10 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-09-01 09:43:10 +0000 |
commit | e9fc1b72aabaae01cd6cad613dfc88168d8aed9a (patch) | |
tree | c1bdbe16d5579966f05db9cb334a115e011e08ff /wiretap/ipfix.c | |
parent | 10a3cb6e0f30290ccce97c01d482f05d083915a6 (diff) |
Use guint8 rather than guchar for raw octets and pointers to arrays of
same.
Add to wiretap/pcap-common.c a routine to fill in the pseudo-header for
ATM (by looking at the VPI, VCI, and packet data, and guessing) and
Ethernet (setting the FCS length appropriately). Use it for both pcap
and pcap-ng files.
svn path=/trunk/; revision=38840
Diffstat (limited to 'wiretap/ipfix.c')
-rw-r--r-- | wiretap/ipfix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/ipfix.c b/wiretap/ipfix.c index b7009de4b5..5bd08f58b2 100644 --- a/wiretap/ipfix.c +++ b/wiretap/ipfix.c @@ -94,7 +94,7 @@ ipfix_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset); static gboolean ipfix_seek_read(wtap *wth, gint64 seek_off, - union wtap_pseudo_header *pseudo_header, guchar *pd, int length, + union wtap_pseudo_header *pseudo_header, guint8 *pd, int length, int *err, gchar **err_info); static void ipfix_close(wtap *wth); @@ -291,7 +291,7 @@ ipfix_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) /* classic wtap: seek to file position and read packet */ static gboolean ipfix_seek_read(wtap *wth, gint64 seek_off, - union wtap_pseudo_header *pseudo_header, guchar *pd, int length _U_, + union wtap_pseudo_header *pseudo_header, guint8 *pd, int length _U_, int *err, gchar **err_info) { ipfix_message_header_t msg_hdr; |