~ubuntu-branches/ubuntu/gutsy/wireshark/gutsy-security

« back to all changes in this revision

Viewing changes to wiretap/iptrace.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2007-04-01 08:58:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070401085840-or3qhrpv8alt1bwg
Tags: 0.99.5-1
* New upstream release.
* debian/patches/09_idl2wrs.dpatch: updated to patch idl2wrs.sh.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* iptrace.c
2
2
 *
3
 
 * $Id: iptrace.c 15598 2005-08-28 19:55:44Z guy $
 
3
 * $Id: iptrace.c 19814 2006-11-05 22:46:44Z ulfl $
4
4
 *
5
5
 * Wiretap Library
6
6
 * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
33
33
#include "iptrace.h"
34
34
 
35
35
static gboolean iptrace_read_1_0(wtap *wth, int *err, gchar **err_info,
36
 
    long *data_offset);
37
 
static gboolean iptrace_seek_read_1_0(wtap *wth, long seek_off,
 
36
    gint64 *data_offset);
 
37
static gboolean iptrace_seek_read_1_0(wtap *wth, gint64 seek_off,
38
38
    union wtap_pseudo_header *pseudo_header, guchar *pd, int packet_size,
39
39
    int *err, gchar **err_info);
40
40
 
41
41
static gboolean iptrace_read_2_0(wtap *wth, int *err, gchar **err_info,
42
 
    long *data_offset);
43
 
static gboolean iptrace_seek_read_2_0(wtap *wth, long seek_off,
 
42
    gint64 *data_offset);
 
43
static gboolean iptrace_seek_read_2_0(wtap *wth, gint64 seek_off,
44
44
    union wtap_pseudo_header *pseudo_header, guchar *pd, int packet_size,
45
45
    int *err, gchar **err_info);
46
46
 
124
124
 
125
125
/* Read the next packet */
126
126
static gboolean iptrace_read_1_0(wtap *wth, int *err, gchar **err_info _U_,
127
 
    long *data_offset)
 
127
    gint64 *data_offset)
128
128
{
129
129
        int                     ret;
130
130
        guint32                 packet_size;
211
211
        return TRUE;
212
212
}
213
213
 
214
 
static gboolean iptrace_seek_read_1_0(wtap *wth, long seek_off,
 
214
static gboolean iptrace_seek_read_1_0(wtap *wth, gint64 seek_off,
215
215
    union wtap_pseudo_header *pseudo_header, guchar *pd, int packet_size,
216
216
    int *err, gchar **err_info _U_)
217
217
{
303
303
 
304
304
/* Read the next packet */
305
305
static gboolean iptrace_read_2_0(wtap *wth, int *err, gchar **err_info _U_,
306
 
    long *data_offset)
 
306
    gint64 *data_offset)
307
307
{
308
308
        int                     ret;
309
309
        guint32                 packet_size;
390
390
        return TRUE;
391
391
}
392
392
 
393
 
static gboolean iptrace_seek_read_2_0(wtap *wth, long seek_off,
 
393
static gboolean iptrace_seek_read_2_0(wtap *wth, gint64 seek_off,
394
394
    union wtap_pseudo_header *pseudo_header, guchar *pd, int packet_size,
395
395
    int *err, gchar **err_info _U_)
396
396
{