aboutsummaryrefslogtreecommitdiffstats
path: root/capture-pcap-util-int.h
AgeCommit message (Collapse)AuthorFilesLines
2014-07-04Move utility routines for capturing into a libcaputils static library.Guy Harris1-44/+0
Some of those routines are used only in dumpcap; others are used in TShark and Wireshark as well. Change-Id: I9d92483f2fcff57a7d8b6bf6bdf2870505d19fb7 Reviewed-on: https://code.wireshark.org/review/2841 Reviewed-by: Guy Harris <guy@alum.mit.edu>
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>
2012-11-23Hoist all the friendly-name/vendor-description stuff up intoGuy Harris1-2/+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-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
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2010-05-14If something is only supposed to be included if we have libpcap, don'tGuy Harris1-4/+0
put #ifdef HAVE_LIBPCAP in it. Add multiple-inclusion protection to capture_errs.h. svn path=/trunk/; revision=32803
2010-03-04In Wireshark and TShark, run dumpcap to get interface lists and lists ofGuy Harris1-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
2009-09-28Only include config.h in C files.Stig Bjørlykke1-4/+0
svn path=/trunk/; revision=30183
2009-08-30Move config.h include to start of fileKovarththanan Rajaratnam1-3/+4
svn path=/trunk/; revision=29634
2008-11-03Do not use functions for remote capture on local interfaces.Stig Bjørlykke1-5/+4
This makes it possible to compile with remote capture features on unix. svn path=/trunk/; revision=26681
2007-12-04Support for RPCAP features in GUI (from Boris Misenov, see Bug 1366)Tomas Kukosa1-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
2007-01-21Have the routines to get interface lists take a pointer to a "gchar *"Guy Harris1-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
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/+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