#include <epan/dissectors/packet-fddi.h>
#include <epan/dissectors/packet-fr.h>
#include <epan/dissectors/packet-null.h>
+#include <epan/dissectors/packet-ppi.h>
#include <epan/dissectors/packet-ppp.h>
#include <epan/dissectors/packet-raw.h>
#include <epan/dissectors/packet-sll.h>
#include <epan/dissectors/packet-ieee80211.h>
#include <epan/dissectors/packet-radiotap.h>
#include <epan/dissectors/packet-chdlc.h>
-#include <epan/dissectors/packet-prism.h>
#include <epan/dissectors/packet-ipfc.h>
#include <epan/dissectors/packet-arcnet.h>
#include <epan/dissectors/packet-enc.h>
g_snprintf(err_msg, sizeof err_msg,
cf_open_error_message(err, err_info, FALSE, WTAP_FILE_PCAP),
new_filename);
- g_warning("capture_info_new_file: %s", err_msg);
+ g_warning("capture_info_new_file: %d (%s)", err, err_msg);
return FALSE;
} else
return TRUE;
{
int err;
gchar *err_info;
- long data_offset;
+ gint64 data_offset;
const struct wtap_pkthdr *phdr;
union wtap_pseudo_header *pseudo_header;
int wtap_linktype;
case WTAP_ENCAP_IEEE_802_11_WLAN_RADIOTAP:
capture_radiotap(pd, 0, caplen, counts);
break;
+ case WTAP_ENCAP_IEEE_802_11_WLAN_AVS:
+ capture_wlancap(pd, 0, caplen, counts);
+ break;
case WTAP_ENCAP_CHDLC:
capture_chdlc(pd, 0, caplen, counts);
break;
case WTAP_ENCAP_ENC:
capture_enc(pd, caplen, counts);
break;
+ case WTAP_ENCAP_PPI:
+ capture_ppi(pd, caplen, counts);
+ break;
/* XXX - some ATM drivers on FreeBSD might prepend a 4-byte ATM
pseudo-header to DLT_ATM_RFC1483, with LLC header following;
we might have to implement that at some point. */