Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

netscreen.h
1 /* netscreen.h
2 *
3 * Juniper NetScreen snoop output parser
4 * Created by re-using a lot of code from cosine.c
5 * Copyright (c) 2007 by Sake Blok <sake@euronet.nl>
6 *
7 * Wiretap Library
8 * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 *
12 */
13
14 #ifndef __W_NETSCREEN_H__
15 #define __W_NETSCREEN_H__
16
17 #include <glib.h>
18 #include "wtap.h"
19
20 /* Magic text to check for NetScreen snoop output */
21 #define NETSCREEN_HDR_MAGIC_STR1 "(i) len="
22 #define NETSCREEN_HDR_MAGIC_STR2 "(o) len="
23
24 /* Magic text for start of packet */
25 #define NETSCREEN_REC_MAGIC_STR1 NETSCREEN_HDR_MAGIC_STR1
26 #define NETSCREEN_REC_MAGIC_STR2 NETSCREEN_HDR_MAGIC_STR2
27
28 #define NETSCREEN_LINE_LENGTH 128
29 #define NETSCREEN_HEADER_LINES_TO_CHECK 32
30 #define NETSCREEN_MAX_INFOLINES 8
31 #define NETSCREEN_SPACES_ON_INFO_LINE 14
32 #define NETSCREEN_MAX_INT_NAME_LENGTH 16
33
34 #define NETSCREEN_INGRESS FALSE
35 #define NETSCREEN_EGRESS TRUE
36
37 wtap_open_return_val netscreen_open(wtap *wth, int *err, gchar **err_info);
38
39 #endif
wtap
Definition: wtap-int.h:34