2 * Declarations for routines to handle pcap/pcapng linktype values
5 * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
7 * File format support for pcapng file format
8 * Copyright (c) 2007 by Ulf Lamping <ulf.lamping@web.de>
10 * SPDX-License-Identifier: GPL-2.0-or-later
13 #ifndef __W_PCAP_ENCAP_H__
14 #define __W_PCAP_ENCAP_H__
17 #include <wiretap/wtap.h>
21 #endif /* __cplusplus */
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
);
29 #endif /* __cplusplus */