aboutsummaryrefslogtreecommitdiffstats
path: root/capture-pcap-util-unix.c
AgeCommit message (Collapse)AuthorFilesLines
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-01-14In a source file that defines external functions, the header file thatGuy Harris1-0/+1
declares the functions must be included, in order to make sure the declarations match the function signature. Make it so. svn path=/trunk/; revision=54749
2014-01-14Detangle the #ifdefs a bit.Guy Harris1-29/+26
svn path=/trunk/; revision=54748
2013-09-09Use a bunch of #includes only when needed. (2nd try; hat tip to Guy).Bill Meier1-1/+10
svn path=/trunk/; revision=51868
2013-09-09Revert #51843: Build fails on OSX-10.5-x8Bill Meier1-10/+1
svn path=/trunk/; revision=51855
2013-09-08Use a bunch of #includes only when apparently needed.Bill Meier1-1/+10
svn path=/trunk/; revision=51843
2012-11-23Hoist all the friendly-name/vendor-description stuff up intoGuy Harris1-4/+2
if_info_new(). svn path=/trunk/; revision=46159
2012-11-22On UN*X, if an interface has a description, use it as the "friendlyGuy Harris1-7/+9
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
2012-10-09From Bill Parker:Anders Broman1-1/+1
Explicitly declare/cast 'unsigned <variable>' as 'unsigned int <variable>' https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7810 svn path=/trunk/; revision=45418
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-01-27Per https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6765#c3, don't ↵Chris Maynard1-1/+1
display "(version unknown)" anymore. svn path=/trunk/; revision=40739
2011-12-09Referring to pcap_version[] doesn't do what you want on at least someGuy Harris1-6/+20
UN*Xes (Fedora 16 and probably other Linux distributions, probably at least some if not all other ELF-based systems, and perhaps also Mac OS X), and causes problems if pcap_version[] has a different length in the libpcap with which the executable was built and the libpcap with which it's run, so we avoid using it for now. svn path=/trunk/; revision=40138
2011-06-28Replace all strerror() with g_strerror().Stig Bjørlykke1-3/+3
Remove our local strerror implementation. Mark strerror as locale unsafe API. This fixes bug 5715. svn path=/trunk/; revision=37812
2010-03-04In Wireshark and TShark, run dumpcap to get interface lists and lists ofGuy Harris1-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
2008-11-03Do not use functions for remote capture on local interfaces.Stig Bjørlykke1-19/+11
This makes it possible to compile with remote capture features on unix. svn path=/trunk/; revision=26681
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=26642
2008-05-13Fix some of the Errors/warnings detected by checkapi.Anders Broman1-1/+1
svn path=/trunk/; revision=25283
2008-05-11g_string_sprintf --> g_string_printf and g_string_sprintfa --> ↵Bill Meier1-1/+1
g_string_append_printf svn path=/trunk/; revision=25276
2008-05-07Fix some of the Errors/warnings detected by checkapi.Anders Broman1-2/+2
svn path=/trunk/; revision=25248
2007-12-04Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)Tomas Kukosa1-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
2007-01-21Have the routines to get interface lists take a pointer to a "gchar *"Guy Harris1-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
2006-10-19Fix up the changes to put the Portaudio information at the end of theGuy Harris1-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
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-12-06rename pcap-....c/.h files to capture-pcap-....c/.hUlf Lamping1-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