2 * Declarations for routines to handle libpcap/pcap-NG linktype values
7 * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
9 * File format support for pcap-ng file format
10 * Copyright (c) 2007 by Ulf Lamping <ulf.lamping@web.de>
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef __W_PCAP_ENCAP_H__
28 #define __W_PCAP_ENCAP_H__
31 #include <wiretap/wtap.h>
35 #endif /* __cplusplus */
37 WS_DLL_PUBLIC
int wtap_pcap_encap_to_wtap_encap(int encap
);
38 WS_DLL_PUBLIC
int wtap_wtap_encap_to_pcap_encap(int encap
);
39 WS_DLL_PUBLIC gboolean
wtap_encap_requires_phdr(int encap
);
43 #endif /* __cplusplus */