aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_if_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2006-12-11remove some warningsUlf Lamping1-0/+2
svn path=/trunk/; revision=20116
2006-12-05From Davide Schiera and Giorgio Tino: Add initial WPA/WPA2 decryptionGerald Combs1-2/+8
support. WEP key preferences have been overloaded to allow WPA keys. The decryption code currently uses Windows-specific data types, but can be converted to use glib equivalents. Add a few text and whitespace fixups. svn path=/trunk/; revision=20049
2006-08-30seems the height offset 16 seems a bit too small to prevent a scrollbar, ↵Ulf Lamping1-1/+1
using 20 instead svn path=/trunk/; revision=19088
2006-08-27fix a warning by removing now unused codeUlf Lamping1-1/+0
svn path=/trunk/; revision=19051
2006-08-26Clean up indentation.Guy Harris1-11/+13
Only define cap_air_w if we have AirPcap. svn path=/trunk/; revision=19041
2006-08-24capture interfaces dialog: use capture stock icons instead of plain text buttonsUlf Lamping1-6/+5
capture info dialog: add a "Help" and use stock buttons svn path=/trunk/; revision=19020
2006-08-16Add support for AirPcap, an upcoming wireless product from CACE. SupportGerald Combs1-30/+160
is disabled by default, and can be enabled by setting AIRPCAP_CONFIG in config.nmake. The code is currently limited to Windows, but should be adaptable to other platforms. The official announcement won't come until next week, so you'll have to read the source for details. :) svn path=/trunk/; revision=18928
2006-05-22Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUIGuy Harris1-2/+2
strings, and function names. svn path=/trunk/; revision=18205
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-04-22as I've experienced a scrollbar again while having 7 interfaces, I've tried ↵Ulf Lamping1-1/+2
to add the number of interfaces to the height formula to fix this svn path=/trunk/; revision=17960
2006-04-10Add 2px height to avoid a vertical scrollbar with Gtk-WimpJaap Keuter1-1/+1
svn path=/trunk/; revision=17846
2006-04-08Fix for bug 848. Make a scrollable window when more than 10 interfaces are ↵Jaap Keuter1-4/+21
listed. svn path=/trunk/; revision=17844
2006-02-17remove dependencies to pcap.h, so getting an idea what needs to be done by ↵Ulf Lamping1-4/+2
dumpcap in addition to the things already done now various dumpcap related code cleanup: mainly #include's and capture engine related stuff svn path=/trunk/; revision=17327
2005-12-06rename pcap-....c/.h files to capture-pcap-....c/.hUlf Lamping1-1/+1
this way, the capture prefix will "logically" group the files together and file browsers will also group them we may want to move the files into a subdir capture later svn path=/trunk/; revision=16691
2005-11-06replace *a lot* of file related calls by their GLib counterparts. This is ↵Ulf Lamping1-4/+0
necessary for the switch to GTK 2.6 (at least on WIN32). to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place. deleted related things from config.h.win32 As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon. svn path=/trunk/; revision=16403
2005-10-05fix cant_load_winpcap_err() parameterUlf Lamping1-1/+1
svn path=/trunk/; revision=16123
2005-10-04Add a "capture_errs.c" routine to cough up error messages for captureGuy Harris1-18/+7
problems, and use the first routine in it in multiple places. Get rid of DISSECTOR_SUPPORT_INCLUDES - just add its contents to ETHEREAL_COMMON_INCLUDES. svn path=/trunk/; revision=16109
2005-09-07close the capture interfaces dialog if the user pressed "Capture" or "Prepare"Ulf Lamping1-0/+6
this dialog is live capturing from all "known" interfaces while it's open, so huge system load is generated, which is not preferred while doing a real capture. svn path=/trunk/; revision=15719
2005-08-20- Declare some functions staticJörg Mayer1-3/+1
- Add plugins_dlg.h - Include .h files in their respective .c files - Include .h and remove extern declarations in .c files - set eol-style and keywords on gui_utils.[hc] svn path=/trunk/; revision=15471
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-08-02Fix more "no previous declaration" warningsJörg Mayer1-3/+3
svn path=/trunk/; revision=15173
2005-06-03Update URLs and domain names that refer to the WinPcap site.Guy Harris1-1/+1
svn path=/trunk/; revision=14540
2005-05-20win32 only: get interface details from WinPcap's packet.dll (direct access ↵Ulf Lamping1-0/+30
to NDIS specific driver information, upper second GTK part) svn path=/trunk/; revision=14407
2005-04-19ask for unsaved file when using the new start capture feature,Ulf Lamping1-1/+2
ask for unsaved file when really starting the capture, not already when showing the options dialog, use the start capture icon in the capture options dialog (instead of simply Ok) svn path=/trunk/; revision=14142
2005-04-16minor refactoringUlf Lamping1-2/+3
svn path=/trunk/; revision=14102
2005-03-28various (minor) capture code cleanupUlf Lamping1-1/+1
svn path=/trunk/; revision=13957
2005-02-13change nmake makefiles in /trunk and /trunk/epan so thatLars Roland1-4/+0
object code for libethereal.dll isn't generated by the makefile in /trunk. Having no code in /trunk linked into libethereal.dll anymore, the definition of the macro _NEED_VAR_IMPORT_ can be moved from various source files in /trunk to /trunk/Makefile.nmake . So do that, too. svn path=/trunk/; revision=13389
2005-02-06another two steps towards privilege seperation:Ulf Lamping1-7/+11
move another two capture related fields (iface and cfilter) from cfile to capture_opts also move the handling of capture related command line options from main.c to capture.c, that way a future privilege seperated capture program can use the same code to parse it's command line than Ethereal. It might be even possible to share this parser code even with Tethereal, didn't took a closer look at this. svn path=/trunk/; revision=13320
2005-01-20add some more online help functionality and help buttons at various dialog ↵Ulf Lamping1-2/+12
boxes, if a help page *is* available. However, the new help system needs a lot more work before completed. svn path=/trunk/; revision=13152
2004-12-29Don't use a global capture_opts in the capturing engine (this isn't a good ↵Ulf Lamping1-3/+4
idea). Do some more "housekeeping" in the capturing part. Hopefully the unspecified forward declaration of capture_options_t in main.h is portable, but buildbot will tell me. This way I need the internals of that struct only at the places I really use it. svn path=/trunk/; revision=12853
2004-09-11Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;Guy Harris1-3/+8
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is. svn path=/trunk/; revision=11972
2004-08-28We use "#ifdef" elsewhere to test WIN32; use it, rather than #if, in theGuy Harris1-1/+1
one place we were using #if. svn path=/trunk/; revision=11844
2004-07-19Pull the address (and port and circuit type) stuff out ofGuy Harris1-3/+3
"epan/packet_info.h" and put it in "epan/address.h". Use the AT_ values from "epan/address.h" for address types in the interface lists rather than having our own FAM_ enums. svn path=/trunk/; revision=11427
2004-07-18Add support for IPv6 addresses for interfaces.Guy Harris1-14/+25
svn path=/trunk/; revision=11411
2004-07-18Add some comments, and expand on a comment (if "pcap_stats()" returnsGuy Harris1-19/+43
counts since the last call, not since the beginning of the capture, on Windows, that's a bug - and that bug *does* exist on some UN*Xes). Clean up indentation. Use the minimum snapshot length, not the maximum snapshot length, when opening a network interface to keep track of how many packets are arriving on it (that might cause packet data to be discarded rather than buffering it, reducing the overhead of running all those captures from which we don't actually grab any packets. svn path=/trunk/; revision=11404
2004-07-18Not all interfaces have descriptions.Guy Harris1-4/+9
svn path=/trunk/; revision=11403
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-486/+486
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 Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-07-17add a new dialog box to menu "Capture/Interfaces..." to show the current ↵Ulf Lamping1-0/+486
state of the interfaces and a quick way to start a capture. added the IP address of the currently selected interface to the capture options dialog svn path=/trunk/; revision=11396