| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Macros | Functions
erf.h File Reference
`#include <wiretap/wtap.h>`

Go to the source code of this file.

## Classes
struct | erf_private
| Private state maintained for ERF capture files and LINKTYPE_ERF packets in pcap/pcapng. More...

## Macros
#define | ERF_POPULATE_SUCCESS 1
#define | ERF_POPULATE_ALREADY_POPULATED 0
#define | ERF_POPULATE_FAILED -1
#define | ERF_MAX_INTERFACES 8
#define | MIN_RECORDS_FOR_ERF_CHECK 3
#define | RECORDS_FOR_ERF_CHECK 20
#define | FCS_BITS 32
#define | ERF_WS_DEFAULT_HOST_ID 0

## Functions
wtap_open_return_val | erf_open (wtap *wth, int *err, char **err_info)
| Open an ERF file.

## Detailed Description

Copyright (c) 2003 Endace Technology Ltd, Hamilton, New Zealand. All rights reserved.

This software and documentation has been developed by Endace Technology Ltd. along with the DAG PCI network capture cards. For further information please visit https://www.endace.com/.

SPDX-License-Identifier: BSD-3-Clause

## Function Documentation

## ◆ erf_open()

wtap_open_return_val erf_open | ( | wtap * | wth,
|  | int * | err,
|  | char ** | err_info )

Open an ERF file.

Parameters

  wth | Pointer to the wtap structure.
  err | Error code if an error occurs.
  err_info | Error information if an error occurs.

Returns
  wtap_open_return_val Return value indicating success or failure.

< Precision: 1 nanosecond (9 fractional digits).