aboutsummaryrefslogtreecommitdiff
path: root/pcap-new.c
AgeCommit message (Expand)Author
2022-07-13pcap_findalldevs_ex(): close directory handle before returning.Guy Harris
2021-06-29Suppress temporarily the warnings with "enable remote packet capture"Francois-Xavier Le Bail
2019-08-09Remove some workarounds for old compilers.Guy Harris
2019-04-19Clean up some references to WinPcap.Guy Harris
2019-04-11Handle pcap_open_live(), and other routines, using NULL to mean "any".Guy Harris
2019-03-19Make sure asprintf() is declared if it's present.Guy Harris
2019-02-09Use asprintf(), and provide a version for systems that lack it.Guy Harris
2019-02-07Fix copy-and-pasteo.Guy Harris
2019-02-07ISO C99 has what's needed to implement asprintf(), so fix a comment.Guy Harris
2019-02-07Fix comments.Guy Harris
2019-02-07Fix whitespace.Guy Harris
2019-02-07Don't format into an on-the-stack buffer and copy it to a mallocated buffer.Guy Harris
2019-02-07Use strdup() to mallocate a copy of a string.Guy Harris
2018-12-25More constification of arguments.Guy Harris
2018-10-16Provide out own strlcpy() and strlcat() routines if necessary.Guy Harris
2017-11-15Add a routine to format error messages with an errno-based message at the end.Guy Harris
2017-11-13Plug memory leaks and clean up interface list creation.Guy Harris
2017-09-30Put rpcap protocol routines common to client and server in rpcap-protocol.cGuy Harris
2017-09-06Fix Windows build errors.Guy Harris
2017-09-06Move the ADAPTER * out of pcap_t into the pcap-win32.c private data.Guy Harris
2017-09-04Move URL parsing and construction to pcap.c.Guy Harris
2017-09-03Make sure sockutils.h is included before portability.h.Guy Harris
2017-08-18Always include <config.h> rather than "config.h".Guy Harris
2017-03-20Move the RPCAP-specific functions to pcap-rpcap.h.Guy Harris
2017-03-19Get rid of extra semicolon.Guy Harris
2017-03-14Move the active-mode stuff to pcap-rpcap.c.Guy Harris
2017-03-13Make this code a bit more like future code.Guy Harris
2017-03-13Fix remote opening and remote open error string return.Guy Harris
2017-03-13Move rpcap-protocol.h to the top-level directory.Guy Harris
2017-03-13In pcap_open(), use pcap_create() and pcap_activate() for local interfaces.Guy Harris
2017-03-13Rename pcap-rpcap.h to pcap-rpcap-int.h.Guy Harris
2017-03-13Use _WIN32 consistently, but don't use it for threads vs. subprocesses.Guy Harris
2017-03-10Put rpcap protocol definitions into rpcap/rpcap-protocol.h.Guy Harris
2017-03-10Move the pcap_findalldevs_ex code for rpcap into pcap-rpcap.cGuy Harris
2017-03-08Remove unused variables, clean up comments.Guy Harris
2017-03-08Get remote capture almost working.Joerg Mayer
2017-03-08Get rid of unused structure declaration.Guy Harris
2017-03-08Clean up remote capture.Guy Harris
2017-03-07Mark a remote capture pcap_t as activated once it's opened.Guy Harris
2016-08-20Remove trailing spaces/tabsFrancois-Xavier Le Bail
2016-07-31Use strdup() to make mallocated copies of strings.Guy Harris
2016-07-31A pointer to an array is never null, so don't check if it is.Guy Harris
2016-07-31Add a variable that should have been in the previous commit.Guy Harris
2016-07-31Assorted cleanups.Guy Harris
2016-07-30Rename pcap-remote.[ch] to pcap-rpcap.[ch].Guy Harris
2016-07-29Fix MSVC compile warnings on the WinPcap specific code.Yang Luo
2016-07-28Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag.Guy Harris
2016-07-26Switch back to managed mode when closing the pcap if it switched it on, don't...Yang Luo
2016-07-26Add back WinPcap specific functions to libpcap, the built wpcap.dll already w...Yang Luo