Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
netscreen.h File Reference
#include "wtap.h"

Go to the source code of this file.

Macros

#define NETSCREEN_HDR_MAGIC_STR1   "(i) len="
#define NETSCREEN_HDR_MAGIC_STR2   "(o) len="
#define NETSCREEN_REC_MAGIC_STR1   NETSCREEN_HDR_MAGIC_STR1
#define NETSCREEN_REC_MAGIC_STR2   NETSCREEN_HDR_MAGIC_STR2
#define NETSCREEN_LINE_LENGTH   128
#define NETSCREEN_HEADER_LINES_TO_CHECK   32
#define NETSCREEN_MAX_INFOLINES   8
#define NETSCREEN_SPACES_ON_INFO_LINE   14
#define NETSCREEN_MAX_INT_NAME_LENGTH   16
#define NETSCREEN_INGRESS   false
#define NETSCREEN_EGRESS   true

Functions

wtap_open_return_val netscreen_open (wtap *wth, int *err, char **err_info)
 Open a NetScreen snoop file.

Detailed Description

Juniper NetScreen snoop output parser Created by re-using a lot of code from cosine.c Copyright (c) 2007 by Sake Blok sake@.nosp@m.euro.nosp@m.net.n.nosp@m.l

Wiretap Library Copyright (c) 1998 by Gilbert Ramirez gram@.nosp@m.alum.nosp@m.ni.ri.nosp@m.ce.e.nosp@m.du

SPDX-License-Identifier: GPL-2.0-or-later

Function Documentation

◆ netscreen_open()

wtap_open_return_val netscreen_open ( wtap * wth,
int * err,
char ** err_info )

Open a NetScreen snoop file.

Parameters
wthPointer to the wtap structure.
errError code if an error occurs.
err_infoError information if an error occurs.
Returns
wtap_open_return_val The result of opening the file.

< Precision: 100 milliseconds (1 fractional digit).