forked from osmocom/wireshark
Move pseudo-header routines from libpcap.c to pcap-common.c, for use
with pcap-NG files. svn path=/trunk/; revision=28184
This commit is contained in:
parent
c1e9d8244b
commit
a60cae6935
1348
wiretap/libpcap.c
1348
wiretap/libpcap.c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -32,3 +32,13 @@ struct encap_map {
|
|||
extern const struct encap_map pcap_to_wtap_map[];
|
||||
|
||||
extern int wtap_wtap_encap_to_pcap_encap(int encap);
|
||||
|
||||
extern int pcap_process_pseudo_header(wtap *wth, FILE_T fh, guint packet_size,
|
||||
struct wtap_pkthdr *phdr, union wtap_pseudo_header *pseudo_header,
|
||||
int *err, gchar **err_info);
|
||||
|
||||
extern int pcap_get_phdr_size(int encap,
|
||||
const union wtap_pseudo_header *pseudo_header);
|
||||
|
||||
extern gboolean pcap_write_phdr(wtap_dumper *wdh,
|
||||
const union wtap_pseudo_header *pseudo_header, int *err);
|
||||
|
|
Loading…
Reference in New Issue