aboutsummaryrefslogtreecommitdiffstats
path: root/capture-pcap-util-unix.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace all strerror() with g_strerror().Stig Bjørlykke2011-06-281-3/+3
| | | | | | | | | Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
* In Wireshark and TShark, run dumpcap to get interface lists and lists ofGuy Harris2010-03-041-2/+1
| | | | | | | | link-layer header types for interfaces; if special privileges are necessary to open capture devices, Wireshark and TShark shouldn't have those privileges, but dumpcap should. svn path=/trunk/; revision=32104
* Do not use functions for remote capture on local interfaces.Stig Bjørlykke2008-11-031-19/+11
| | | | | | This makes it possible to compile with remote capture features on unix. svn path=/trunk/; revision=26681
* Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke2008-10-311-1/+1
| | | | svn path=/trunk/; revision=26642
* Fix some of the Errors/warnings detected by checkapi.Anders Broman2008-05-131-1/+1
| | | | svn path=/trunk/; revision=25283
* g_string_sprintf --> g_string_printf and g_string_sprintfa --> ↵Bill Meier2008-05-111-1/+1
| | | | | | g_string_append_printf svn path=/trunk/; revision=25276
* Fix some of the Errors/warnings detected by checkapi.Anders Broman2008-05-071-2/+2
| | | | svn path=/trunk/; revision=25248
* Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)Tomas Kukosa2007-12-041-0/+39
| | | | | | | | | | | | - retrieving the list of remote PCAP interfaces - password authentication support - UDP data fransfer - packet sampling (available in WinPcap 4.x) etc. fix problem if non-default rpcap port is used svn path=/trunk/; revision=23750
* Have the routines to get interface lists take a pointer to a "gchar *"Guy Harris2007-01-211-13/+25
| | | | | | | | | | | | | | | | | | | | as an argument, and, on an error, if they have an error message, have them set that "gchar *" to point to a g_malloc()ed string containing the error message, rather than taking a pointer to a buffer for that message as an argument. That's more like what's done in Wiretap, and doesn't impose an upper limit on the lengths of those error messages. If that pointer is null, don't allocate the message string and return it. Have that error message already have the "cant_get" processing applied to it, so nobody other than those routines need to call the "cant_get" routines to process the error messages. Have get_airpcap_interface_list() explicitly set "*err" to the appropriate error code. Clean up indentation. svn path=/trunk/; revision=20521
* Fix up the changes to put the Portaudio information at the end of theGuy Harris2006-10-191-1/+0
| | | | | | | | | | | | | | | version string, so the information comes out right for applications that don't use Portaudio. Get rid of an extra "with" in the version string for dumpcap. Get rid of an extra blank after the libpcap version string, and get rid of an extra newline before it. Attempt to add more compiler version information and to prettify the MSVC++ version information (both untested). svn path=/trunk/; revision=19613
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* rename pcap-....c/.h files to capture-pcap-....c/.hUlf Lamping2005-12-061-0/+338
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