aboutsummaryrefslogtreecommitdiffstats
path: root/capture_wpcap_packet.c
AgeCommit message (Collapse)AuthorFilesLines
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
2011-09-21Fix ex "modeline" so it works;Bill Meier1-1/+1
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39081
2010-08-25Add ws_load_library and ws_module_open, which respectively callGerald Combs1-1/+2
LoadLibrary and g_module_open only for the program directory and system directory on Windows. Use them to replace a bunch of LoadLibrary and g_module_open calls. Use the extension ".dll" for all the DLLs that we load. Add comments about DLL loading in Python. svn path=/trunk/; revision=33924
2010-04-28 Let's not use tabs with tab-width=4; Convert tabs to spaces (with indent=4).Bill Meier1-67/+67
Also: use consistent indentation & remove any trailing blanks. svn path=/trunk/; revision=32588
2009-08-29Revert r29614 until I figure out why buildbot doesn't like itKovarththanan Rajaratnam1-1/+4
svn path=/trunk/; revision=29615
2009-08-29Use G_STRINGIFY/G_PASTEKovarththanan Rajaratnam1-4/+1
svn path=/trunk/; revision=29614
2009-07-23Fix emacs editor modeline to be a 'safe" value.Bill Meier1-2/+2
svn path=/trunk/; revision=29183
2009-06-09For interfaces that don't support PacketOpenAdapter (such as TurboCap),Gerald Combs1-0/+13
disable the "Details" button in the interface list. Update an error dialog to try to be more helpful. svn path=/trunk/; revision=28675
2008-10-24Fix for SVN #26535 so that building Wireshark with VC6 doesn't fail.Bill Meier1-2/+5
svn path=/trunk/; revision=26545
2008-10-24Windows build: #include winsock2.h only when needed.Bill Meier1-9/+9
#include winsock2.h pulls in about 90 distinct .h files and about 140 total .h files. Currently winsock2.h is (mostly unnecessarily) included for each dissector via packet.h/wtap.h. This patch removes #include winsock2.h from wtap.h and then includes winsock2.h (or windows.h) in the few specific places required. With this patch, my Windows Wireshark build takes about 30% less time. svn path=/trunk/; revision=26535
2007-03-27from Gisle Vanem:Ulf Lamping1-1/+1
add " && defined(_MSC_VER)", as MingW doesn't need it svn path=/trunk/; revision=21231
2007-03-24hmmm, _WINSOCK2API_ is not the way to go, the PSDK that comes with MSVC 6.0 ↵Ulf Lamping1-8/+7
also defines this - but not sockaddr_storage :-( Next try is to use the WINVER #define. AFAIK, this depends on the Platform SDK version used, which is actually our problem here. So this fix *might* work ... svn path=/trunk/; revision=21168
2007-03-24as mentioned by Graham Bloice:Ulf Lamping1-9/+6
sockaddr_storage doesn't depend on the MSVC version used, but the version of the Winsock API, which might be updated by the Platform SDK even on MSVC 6 - so depending on the _MSC_VER is not the way to go svn path=/trunk/; revision=21162
2007-02-25fix #1399: don't assert the oidlength returned from the network card driver, ↵Ulf Lamping1-4/+11
but simply return that the PacketRequest call failed in that case. BTW: this is a serious bug in the specific network card driver of this report, it returned a buffer length LONGER than the provided buffer length one! svn path=/trunk/; revision=20923
2007-01-08fix compilation for:Ulf Lamping1-3/+2
- Visual Studio .NET (2002) - Visual Studio .NET 2003 svn path=/trunk/; revision=20349
2007-01-06fix sockaddr_storage problem for MSVC 7.1 (hmmm, maybe it's a platform SDK ↵Ulf Lamping1-4/+6
issue - time will tell) svn path=/trunk/; revision=20331
2007-01-02MSVC2006 defines sockaddr_storage, so we shouldn't define this on our own ↵Ulf Lamping1-0/+7
for MSVC2006 this might be depending on the Platform SDK and not on MSVC version - I don't really know svn path=/trunk/; revision=20259
2006-05-31Tethereal/tethereal -> TShark/tshark.Gerald Combs1-1/+1
svn path=/trunk/; revision=18268
2006-05-28Ethereal->WiresharkAnders Broman1-1/+1
svn path=/trunk/; revision=18235
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-04-25copy input data into the buffer given to PacketRequest(), so functions with ↵Ulf Lamping1-0/+1
input parameters will also work svn path=/trunk/; revision=17986
2006-04-10fix #868: don't assert but simply ignore values that don't have the proper sizeUlf Lamping1-4/+2
svn path=/trunk/; revision=17845
2005-09-20fix a compiler warning (... copied from RFC2553 :-)Ulf Lamping1-1/+1
svn path=/trunk/; revision=15890
2005-09-20the buildbot has a problem not knowing sa_family_t, define eth_sa_family_t ↵Ulf Lamping1-4/+7
and use it here (ok, this *is* a dirty hack) don't know why the last commit compiled on my machine and not on the buildbot. svn path=/trunk/; revision=15887
2005-09-19fix #340: define the missing sockaddr_storage struct to be able to use ↵Ulf Lamping1-0/+39
Packet32.h even with WinPcap 3.1 and without the platform SDK svn path=/trunk/; revision=15878
2005-05-21don't crash if packet.dll is not available, add some more packet.dll version ↵Ulf Lamping1-1/+3
numbers svn path=/trunk/; revision=14414
2005-05-21as suggested by Loris: add wpcap_packet_get_version() and check the ↵Ulf Lamping1-3/+15
packet.dll version before using it (very restrictive for now, will check for exact DLL version strings). If version is unknown, ask user to continue or not. svn path=/trunk/; revision=14411
2005-05-21don't use LPADAPTER but simply void * as we don't need to look inside the ↵Ulf Lamping1-8/+8
members of this struct svn path=/trunk/; revision=14408
2005-05-20win32 only: get interface details from WinPcap's packet.dll (direct access ↵Ulf Lamping1-0/+252
to NDIS specific driver information, lower first part) svn path=/trunk/; revision=14406