diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-09-01 19:58:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-09-01 19:58:25 +0000 |
commit | 6ac265b51248462ffb810fd54bd6d36d35799841 (patch) | |
tree | 3d944cfa96b8c06dc4620d3c4eabe5eea3926dcf /wiretap/pcap-common.h | |
parent | 11d248331218fa16dc2622ee9794115dbf0b39c1 (diff) |
Merge pcap_fill_in_pseudo_header() into pcap_read_post_process().
svn path=/trunk/; revision=38844
Diffstat (limited to 'wiretap/pcap-common.h')
-rw-r--r-- | wiretap/pcap-common.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/wiretap/pcap-common.h b/wiretap/pcap-common.h index 587fdfb837..2b4d7cad88 100644 --- a/wiretap/pcap-common.h +++ b/wiretap/pcap-common.h @@ -34,12 +34,9 @@ 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, guint8 *pd); +extern void pcap_read_post_process(int file_type, int wtap_encap, + union wtap_pseudo_header *pseudo_header, + guint8 *pd, guint packet_size, gboolean bytes_swapped, int fcs_len); extern int pcap_get_phdr_size(int encap, const union wtap_pseudo_header *pseudo_header); |