14#ifndef __W_PCAP_COMMON_H__
15#define __W_PCAP_COMMON_H__
19#include "ws_symbol_export.h"
21extern unsigned wtap_max_snaplen_for_encap(
int wtap_encap);
23extern int pcap_process_pseudo_header(
FILE_T fh,
bool is_nokia,
24 int wtap_encap,
unsigned packet_size,
wtap_rec *rec,
25 int *err,
char **err_info);
27extern void pcap_read_post_process(
bool is_nokia,
int wtap_encap,
28 wtap_rec *rec, uint8_t *pd,
bool bytes_swapped,
int fcs_len);
30extern int pcap_get_phdr_size(
int encap,
33extern bool pcap_write_phdr(
wtap_dumper *wdh,
int wtap_encap,
Definition file_wrappers.c:222