3 * Top-most dissector. Decides dissector based on Wiretap Encapsulation Type.
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 2000 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 #include "ws_symbol_export.h"
29 * Routine used to register frame end routine. The routine should only
30 * be registred when the dissector is used in the frame, not in the
31 * proto_register_XXX function.
34 register_frame_end_routine(packet_info *pinfo, void (*func)(void));
37 * The frame dissector and the PPI dissector both use this
39 extern dissector_table_t wtap_encap_dissector_table;
41 /* following variables are exported from libwireshark.dll.
42 * Thus we need a special declaration.
44 WS_DLL_PUBLIC int proto_frame;
45 WS_DLL_PUBLIC int hf_frame_arrival_time;
46 WS_DLL_PUBLIC int hf_frame_number;
47 WS_DLL_PUBLIC int hf_frame_len;
48 WS_DLL_PUBLIC int hf_frame_capture_len;