aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/tap_rtp.c
AgeCommit message (Collapse)AuthorFilesLines
2003-05-28Use freopen() instead of worrying about whether a particular FILE pointer isGerald Combs1-16/+3
NULL. svn path=/trunk/; revision=7754
2003-05-27Make the RTP tap analysis code use create_tempfile() instead of tmpnam().Gerald Combs1-6/+9
svn path=/trunk/; revision=7748
2003-05-20From Miha Jemec: clean up and simplify the RTP dissector and tap code.Guy Harris1-719/+326
svn path=/trunk/; revision=7701
2003-04-23Make "register_tap_listener()" return NULL on success and a "GString *"Guy Harris1-3/+6
referring to a GString containing an error message on failure, and don't have it print anything on failure. If it fails, have its Tethereal-tap callers print an error message before exiting, and have its Ethereal callers pop up a dialog box with the error (except in cases where the failure is guaranteed not to be the user's fault, and where we exit, in which case we just print an error message before we exit). In all cases, the error message includes the text of the GString. Fix a scanf format string in the DCE RPC statistics Ethereal tap, so that it properly skips the comma before the filter string. Fix some Ethereal error messages not to say "tethereal". svn path=/trunk/; revision=7542
2003-04-23Allow taps to have menu item registration routines; the menu itemGuy Harris1-6/+10
registration routines, for taps with menu items (taps that can be run from the "Tools->Statistics" menu), create the menu item for the tap. "make-tapreg-dotc" constructs a "register_all_tap_menus()" function that calls all the tap menu item registration routines it finds, and Ethereal calls that routine after the main window has been constructed (so that the main menu exists, as the menu items are added to it). (Tethereal doesn't call it.) Get rid of the "menu" and "menu_init" arguments to "register_ethereal_tap"; the menu item is registered in the tap's menu item registration routine, not in its main registration routine. Have the RTP GUI tap register its menu item that way, rather than by having it compiled into "gtk/menu.c". (We're not ready yet to have taps whose menu items are under a submenu register themselves in that fashion, as "register_tap_menu_item()" can't yet create submenus.) svn path=/trunk/; revision=7540
2003-03-11Fixed two small bugs in tap_rtp.cRonnie Sahlberg1-3/+15
1, specify a tap filter that ignores all ICMP packets 2, specify a tap filter that only matches the same conversation ip/udp as the selected packet. svn path=/trunk/; revision=7341
2003-03-10Have the "Save voice data as..." button in the RTP analysis dialog boxGuy Harris1-142/+48
pop up a file selection box with the save options, rather than a dialog box with the save options, a file name, and a button to click to get the file selection box. svn path=/trunk/; revision=7331
2003-03-07Include <io.h>, if present, to get "_open()", "_close()", etc. declared.Guy Harris1-1/+5
svn path=/trunk/; revision=7312
2003-03-07Declare f_tempname and r_tempname staticJörg Mayer1-2/+2
svn path=/trunk/; revision=7307
2003-03-07NO_DATA is apparently #defined by some header file when building withGuy Harris1-39/+39
MSVC++ on Windows - stick TAP_RTP_ in front of all the error enum values, to avoid name collisions. Do *NOT* allocate a zero-length array as an automatic variable, especially if you're going to assign to the first element of that array.... svn path=/trunk/; revision=7304
2003-03-06Get rid of CRs.Guy Harris1-1999/+1999
Get rid of comments about the format string to use with guint16 and guint32 - we're using the right string, which is neither "%lu" (as that requires a 64-bit argument on platforms with 64-bit longs) nor "%d" (as that expects a *signed* quantity, not an *unsigned* quantity), but "%u". Protect the include of <unistd.h> with "#ifdef HAVE_UNISTD_H", as it's not present on Windows if you're not building with a UNIXalike wrapper library. Use "wb", not "w", when creating binary files with "fopen()"; the "b" is required on Windows. Use O_BINARY when opening binary files, and #define it as 0 if it's not defined; O_BINARY is required on Windows. svn path=/trunk/; revision=7303
2003-03-06- Protect tap_rtp.h against multiple inclusionsLaurent Deniel1-1/+3
- Add $Id$ to tap_rtp.[hc] svn path=/trunk/; revision=7298
2003-03-06From Miha Jemec :Ronnie Sahlberg1-0/+1997
Functionality to reassemble a RTP stream and save it as a file. Support for G.711 coded svn path=/trunk/; revision=7297