Wireshark  4.3.0
The Wireshark network protocol analyzer
pcap-encap.h
Go to the documentation of this file.
1 
13 #ifndef __W_PCAP_ENCAP_H__
14 #define __W_PCAP_ENCAP_H__
15 
16 #include <glib.h>
17 #include <wiretap/wtap.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif /* __cplusplus */
22 
23 WS_DLL_PUBLIC int wtap_pcap_encap_to_wtap_encap(int encap);
24 int wtap_wtap_encap_to_pcap_encap(int encap);
25 WS_DLL_PUBLIC bool wtap_encap_requires_phdr(int encap);
26 
27 #ifdef __cplusplus
28 }
29 #endif /* __cplusplus */
30 
31 #endif