diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-04-21 20:51:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-04-21 20:51:22 +0000 |
commit | 21a210b77763224e0ac15611842cf7203d07fa08 (patch) | |
tree | 8bcb5aa12a0e02936ac8737faf20ddbae72d0998 /wiretap/pcap-common.h | |
parent | c1729024c520afc5c8824abc04b3a3cc9eacb716 (diff) |
From Chris Maynard:
Support PPP-over-USB.
Don't remove the USB pseudo-header from the packet data for
Linux USB packets, just byte-swap it if necessary and have the
USB dissector fetch the pseudo-header from the raw packet data.
Update USB language ID values.
svn path=/trunk/; revision=32534
Diffstat (limited to 'wiretap/pcap-common.h')
-rw-r--r-- | wiretap/pcap-common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wiretap/pcap-common.h b/wiretap/pcap-common.h index 60762abe77..9477ad0ae4 100644 --- a/wiretap/pcap-common.h +++ b/wiretap/pcap-common.h @@ -25,10 +25,12 @@ */ extern int pcap_process_pseudo_header(FILE_T fh, int file_type, int wtap_encap, - gboolean byte_swapped, guint packet_size, - gboolean check_packet_size, struct wtap_pkthdr *phdr, + 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_read_post_process(int wtap_encap, guint packet_size, + gboolean bytes_swapped, guchar *pd); + extern int pcap_get_phdr_size(int encap, const union wtap_pseudo_header *pseudo_header); |