Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Macros | Functions
/builds/wireshark/wireshark/ringbuffer.h File Reference
#include <stdio.h>
#include "wiretap/wtap.h"

Go to the source code of this file.

Macros

#define RINGBUFFER_UNLIMITED_FILES   0
 
#define RINGBUFFER_MIN_NUM_FILES   0
 
#define RINGBUFFER_MAX_NUM_FILES   100000
 
#define RINGBUFFER_WARN_NUM_FILES   65535
 

Functions

int ringbuf_init (const char *capture_name, unsigned num_files, bool group_read_access, char *compress_type, bool nametimenum)
 
bool ringbuf_is_initialized (void)
 
const char * ringbuf_current_filename (void)
 
FILE * ringbuf_init_libpcap_fdopen (int *err)
 
bool ringbuf_switch_file (FILE **pdh, char **save_file, int *save_file_fd, int *err)
 
bool ringbuf_libpcap_dump_close (char **save_file, int *err)
 
void ringbuf_free (void)
 
void ringbuf_error_cleanup (void)
 
bool ringbuf_set_print_name (char *name, int *err)
 

Detailed Description

Definitions for capture ringbuffer files

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

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