aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/pcap-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/pcap-common.h')
-rw-r--r--wiretap/pcap-common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/wiretap/pcap-common.h b/wiretap/pcap-common.h
index c3102ee3f0..587fdfb837 100644
--- a/wiretap/pcap-common.h
+++ b/wiretap/pcap-common.h
@@ -34,8 +34,12 @@ extern int pcap_process_pseudo_header(FILE_T fh, int file_type, int wtap_encap,
guint packet_size, gboolean check_packet_size, struct wtap_pkthdr *phdr,
union wtap_pseudo_header *pseudo_header, int *err, gchar **err_info);
+extern void pcap_fill_in_pseudo_header(int file_type, int wtap_encap,
+ guint8 *pd, int length, union wtap_pseudo_header *pseudo_header,
+ int fcs_len);
+
extern void pcap_read_post_process(int wtap_encap, guint packet_size,
- gboolean bytes_swapped, guchar *pd);
+ gboolean bytes_swapped, guint8 *pd);
extern int pcap_get_phdr_size(int encap,
const union wtap_pseudo_header *pseudo_header);