The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / ringbuffer.h @ master

History | View | Annotate | Download (1.77 KB)

# Date Author Comment
29659139 03/04/2014 09:27 AM Alexis La Goutte

Remove all $Id$ from top of file

(Using sed : sed -i '/^ \* \$Id\$/,+1 d')

Fix manually some typo (in export_object_dicom.c and crc16-plain.c)

Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8
Reviewed-on: https://code.wireshark.org/review/497
Reviewed-by: Anders Broman <>

bf81b42e 06/28/2012 06:56 PM Jakub Zawadzki

Update Free Software Foundation address.

(COPYING will be updated in next commit)

svn path=/trunk/; revision=43536

f17c5ac0 08/28/2010 07:05 AM Sake Blok

As mentioned on the users-mailinglist1, it could be useful to have groups read access to the ringbuffer that dumpcap creates. That way, a group of people can access the capture files without having to use root access.

[1] http://www.wireshark.org/lists/wireshark-users/201008/msg00235.html...

8598c522 05/27/2010 02:00 PM Gerald Combs

Set RINGBUFFER_MAX_NUM_FILES to 100000. Use it to generate file names.
Add RINGBUFFER_WARN_NUM_FILES and use it to print a warning. Print
warnings when we change the number of ringbuffer files.

svn path=/trunk/; revision=32998

e36628d2 05/13/2010 10:47 PM Guy Harris

If something is only supposed to be included if we have libpcap, don't
put #ifdef HAVE_LIBPCAP in it.

Add multiple-inclusion protection to capture_errs.h.

svn path=/trunk/; revision=32803

f5547c0d 04/26/2009 11:51 AM Michael Tüxen

Make ringbuffer.[ch] file format agnostic.
Move write routines to dumpcap.c
This is a preparation for pcapng support.

svn path=/trunk/; revision=28155

89f022b1 05/21/2006 01:12 AM Ronnie Sahlberg

name change

svn path=/trunk/; revision=18197

25e8c374 04/29/2006 01:54 PM Guy Harris

Have the ring buffer routines take a pointer to a "bytes written" count
as an argument, rather than keeping the count to themselves, so the
count kept by the capturing program can be updated correctly - including
getting reset when files are switched. Fixes bug 895....

e6886d90 03/04/2006 05:33 PM Guy Harris

When capturing, we only support writing to libpcap files. Given that,
bypass Wiretap; that means we don't have to run the packet through
wtap_process_pcap_packet() and then undo that conversion in Wiretap if
we're just going to write it out, shortening the code path....

a6f33f1d 12/05/2005 06:22 PM Ulf Lamping

requested by Cory Perry:
increase the maximum number of ringbuffer files from 1024 to 10000.

svn path=/trunk/; revision=16690

7e78ef35 03/27/2005 07:19 PM Ulf Lamping

major capture engine rework: use two task model for EVERY capture mode

rework of the -b command line parameter (for Ethereal and Tethereal)

svn path=/trunk/; revision=13949

be0e6a06 02/03/2005 04:58 PM Ulf Lamping

prevent ringbuffer from having to know about capture_file type at all (decoupling dependencies)

svn path=/trunk/; revision=13266

e321859a 12/27/2004 07:36 PM Ulf Lamping

some code cleanup (comments changed)

svn path=/trunk/; revision=12848

8a8b8834 07/17/2004 08:24 PM Guy Harris

Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on...

0afce7ca 06/22/2003 12:09 PM Laurent Deniel

Ringbuffer rework.

Almost completely rewritten in order to:

- be able to use a unlimited number of ringbuffer files

0 specified with -b argument or in the GUI, means that the number of file
is unlimited.
else the maximum number of ring buffer files is arbitrarily set to 1024....
7c4176d8 08/28/2002 05:04 PM Jörg Mayer

Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine
project.

svn path=/trunk/; revision=6117

4ee2b1a6 12/04/2001 03:45 AM Guy Harris

Make the bytes-written information from Wiretap a long, as we allow
files to get that big.

From Thomas Wittwer and Matthias Nyffenegger:

Support for "ring buffer mode", wherein there's a ring buffer of N
capture files; as each capture file reaches its maximum size (the ring...