aboutsummaryrefslogtreecommitdiffstats
path: root/capture-pcap-util-int.h
Commit message (Collapse)AuthorAgeFilesLines
* Hoist all the friendly-name/vendor-description stuff up intoGuy Harris2012-11-231-2/+2
| | | | | | if_info_new(). svn path=/trunk/; revision=46159
* On UN*X, if an interface has a description, use it as the "friendlyGuy Harris2012-11-221-1/+2
| | | | | | | | | | | | | | name". If it doesn't have a description, on OS X, use the System Configuration framework to attempt to get a "friendly name" for interfaces. If a loopback device doesn't have a friendly name, give it "Loopback" as the friendly name. Move the "turn a CFString into a mallocated C string" routine into common code, as it's used in more than one place. svn path=/trunk/; revision=46131
* Update Free Software Foundation address.Jakub Zawadzki2012-06-281-1/+1
| | | | | | (COPYING will be updated in next commit) svn path=/trunk/; revision=43536
* If something is only supposed to be included if we have libpcap, don'tGuy Harris2010-05-141-4/+0
| | | | | | | | put #ifdef HAVE_LIBPCAP in it. Add multiple-inclusion protection to capture_errs.h. svn path=/trunk/; revision=32803
* In Wireshark and TShark, run dumpcap to get interface lists and lists ofGuy Harris2010-03-041-3/+0
| | | | | | | | 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
* Only include config.h in C files.Stig Bjørlykke2009-09-281-4/+0
| | | | svn path=/trunk/; revision=30183
* Move config.h include to start of fileKovarththanan Rajaratnam2009-08-301-3/+4
| | | | svn path=/trunk/; revision=29634
* Do not use functions for remote capture on local interfaces.Stig Bjørlykke2008-11-031-5/+4
| | | | | | This makes it possible to compile with remote capture features on unix. svn path=/trunk/; revision=26681
* Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)Tomas Kukosa2007-12-041-0/+11
| | | | | | | | | | | | - 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-1/+8
| | | | | | | | | | | | | | | | | | | | 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
* 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/+38
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