| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
pcap-encap.h
Go to the documentation of this file.
1
12
13#ifndef __W_PCAP_ENCAP_H__
14#define __W_PCAP_ENCAP_H__
15
16#include "wtap.h"
17#include "ws_symbol_export.h"
18
19#ifdef __cplusplus
20 extern "C" {
21#endif /* __cplusplus */
22
29WS_DLL_PUBLIC int wtap_pcap_encap_to_wtap_encap(int encap);
30
37 int wtap_wtap_encap_to_pcap_encap(int encap);
38
45WS_DLL_PUBLIC bool wtap_encap_requires_phdr(int encap);
46
47#ifdef __cplusplus
48}
49#endif /* __cplusplus */
50
51#endif
wtap_wtap_encap_to_pcap_encap
int wtap_wtap_encap_to_pcap_encap(int encap)
Converts a Wireshark encapsulation type to a PCAP encapsulation type.
Definition pcap-common.c:727
wtap_pcap_encap_to_wtap_encap
WS_DLL_PUBLIC int wtap_pcap_encap_to_wtap_encap(int encap)
Converts a PCAP encapsulation type to a Wireshark encapsulation type.
Definition pcap-common.c:715
wtap_encap_requires_phdr
WS_DLL_PUBLIC bool wtap_encap_requires_phdr(int encap)
Checks if a given encapsulation type requires a pseudo-header.
Definition pcap-common.c:2716
wtap.h