aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dcerpc_stat.c
AgeCommit message (Collapse)AuthorFilesLines
2003-11-10Not all LDAP PDUs are aligned to the start of a TCP segment.Ronnie Sahlberg1-2/+41
If we failed to dissect the GSS-SPNEGO blob it probably means that the segment is somewhere in the middle of an LDAP PDU. Just bail out and stop dissecting the PDU instead of aborting ethereal completely using g_assert() since this is not really a pathological error, its just something that can and will happen normally. svn path=/trunk/; revision=8925
2003-10-27Add filter button support to FibreChannel stats and DCERPC stats.Richard Sharpe1-5/+17
svn path=/trunk/; revision=8785
2003-10-10Fix a bug for the DCERPC stats window where it forgot to print the title ↵Ronnie Sahlberg1-4/+14
inside the window as it were supposed to. svn path=/trunk/; revision=8668
2003-10-10Updated the DCERPC service response time to also offer the menu toRonnie Sahlberg1-2/+8
Filter, Find and Colorize selected procedures in the same way as SMB and ONC-RPC already does. svn path=/trunk/; revision=8667
2003-09-26Assorted GUI cleanups.Guy Harris1-37/+55
svn path=/trunk/; revision=8544
2003-09-24Pass a pointer to a "capture_file" structure toGuy Harris1-2/+3
"set_menus_for_selected_packet()" and "set_menus_for_selected_tree_row()", and have them decide whether to enable or disable menu items based on whether that structure indicates that a packet or field is selected and, if one is, on its properties. Pass to the "selected packet enabled" routine for a menu item the "frame_data" and "edt" members of the "capture_file" structure, and pass to the "selected tree row enabled" routine the "field_info" member of that structure. Clear "cf->current_frame" if no packet is selected. svn path=/trunk/; revision=8525
2003-09-19Provide a mechanism by which a tap can arrange to have its menu enabledGuy Harris1-2/+3
or disabled based on a currently-selected packet (or lack of same) or a currently-selected protocol tree item (or lack of same). Not currently used, but necessary if we ever make the TCP graph stuff a tap. API is tentative and subject to change. Also, enable and disable taps based on whether we have any packets to process. svn path=/trunk/; revision=8498
2003-09-17Have "register_tap_menu_item()" put the item under Tools, notGuy Harris1-2/+2
Tools/Statistics; change the taps to put things under Statistics themselves. That allows taps to go elsewhere if appropriate. svn path=/trunk/; revision=8488
2003-09-15Add a routine to return the display name for a "capture_file" structure,Guy Harris1-10/+3
rather than constructing that name when a capture file is opened and putting a pointer to it in that structure. svn path=/trunk/; revision=8476
2003-09-15Keep a "display name" as part of a capture_file structure; for liveGuy Harris1-5/+5
capture temporary files, it's "<capture", and for saved capture files, it's the last component of the pathname of the file. Use that in various places when displaying the file name. svn path=/trunk/; revision=8474
2003-09-15From Graeme Hewson:Guy Harris1-3/+9
Don't crash if "-z" is used on the command line when a live capture is being done (e.g., with "-k -S" - in that case, "cfile.filename" is null when the window is created), just don't display the file name in the title. Don't set the title of a non-existent window - create the window first. svn path=/trunk/; revision=8472
2003-09-05Include <string.h> to get "strcmp()" declared.Guy Harris1-1/+2
svn path=/trunk/; revision=8393
2003-09-05Add a popup to the ServicveResponseTime tables where the user can selectRonnie Sahlberg1-2/+2
Prepare/Match/FindFrame similar to chat the ConversationList has. Only enabled for SMB and ONC-RPC at this point svn path=/trunk/; revision=8391
2003-09-05Update DCERPCSTAT, change the program menu to show the programs sorted in ↵Ronnie Sahlberg1-10/+73
alphabetical order svn path=/trunk/; revision=8380
2003-09-02When putting the filename in the titlebarRonnie Sahlberg1-3/+4
just put the filename there and not the full path to the file. svn path=/trunk/; revision=8329
2003-08-25Update to IO-Stat to put the capture filename on the titlebarRonnie Sahlberg1-3/+7
to make it easier to navigate when having multiple instances of ethereal and io-stat open at the same time. Updates to all endpoint talkers and service response time windows to do this as well. Bonus, when the user opens a new capture file when having these windows open, the title bar will be updated to reflect the name of the new capture file. svn path=/trunk/; revision=8251
2003-08-19Update to the Response Time Statistics taps.Ronnie Sahlberg1-1/+8
SMB/FC/ONC-RPC/DCE-RPC now all use the default tap filter string as the same filter string as is used in the main window instead of using a default NULL filter string. The idea is that if you have applied a certain filter to your main window, it is likely that if you want to invoke the response time statistics feature you probably want to do the response time statistics over the same set of packets, i.e. the ones you see in the main window. svn path=/trunk/; revision=8192
2003-06-22From Lars Roland: Fix the service response time functions to work with GTK2.Gerald Combs1-2/+5
svn path=/trunk/; revision=7911
2003-06-21"gtk_window_set_default_size()" takes a GtkWindow *, not a GtkWidget *,Guy Harris1-2/+2
as its first argument. svn path=/trunk/; revision=7909
2003-06-21Break out the code for the ahndling of the Service Response Time (formerly ↵Ronnie Sahlberg1-183/+23
known as RoundTripTime) table and change the table into a scrollable CList. As a first conversion to use the helper routines, convert DCERPC SRT statistics to use the new interface. This prevents some interfaces (SAMR/LSA) that contains a huge number of procedures from creating a huge table that does not fir on the screen. Later changes to the helpers may be to make the different columns sortable or to hide those procedures that has not been seen in the capture. svn path=/trunk/; revision=7903
2003-04-25Fix a compiler warning.Guy Harris1-2/+2
svn path=/trunk/; revision=7556
2003-04-24Make the dialog box "transient for" the main window, as we do with otherGuy Harris1-7/+50
pop-up dialogs. If thee's already one such dialog, and the user asks for another one, reactivate the old one (so it gets un-minimized if necessary), don't just raise it. Put the "Create Stat" button in a box, so it doesn't widen to the full width of the window, and add a "Cancel" button to dismiss the dialog box. Arrange that <ESC> dismisses the dialog box, and that typing <Enter> in the filter dialog box activates the dialog box. svn path=/trunk/; revision=7553
2003-04-23Make "register_tap_listener()" return NULL on success and a "GString *"Guy Harris1-10/+12
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-23Have "register_tap_menu_item()" create submenus as necessary for a menuGuy Harris1-3/+9
item. Convert all Ethereal (GUI) taps to use "register_tap_menu_item()" rather than having hardcoded menu items in "gtk/menu.c". svn path=/trunk/; revision=7541
2003-04-23Allow taps to have menu item registration routines; the menu itemGuy Harris1-2/+2
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
2002-11-11Use gtk1/gtk2 compatibility macros to reduce #ifdefs.Olivier Abad1-10/+9
svn path=/trunk/; revision=6610
2002-11-06First step in creating an API to register TAPs for use with ethereal instead ↵Ronnie Sahlberg1-9/+48
of hardcoding them in main.c/menu.c This adds functions to register the command line arguments to use the API in the same way as is done for tethereal. Later it may be extended to also register the GUI/Menu entry point to ethereal using this api but that iwll be later since the changes required to menu.c are not as intrusive as the main.c command line parsing ones were. Some of the latest changes (before this checkin) has made ethereal to produce lots of GTK errors when starting up the extension windows. They were there before this checking but will be investigated. svn path=/trunk/; revision=6566
2002-10-25From Ronnie Sahlberg: Ethereal support for DCERPCSTAT.Guy Harris1-0/+576
svn path=/trunk/; revision=6499