Projects / libpcap++


Libpcap++ is a C++ wrapper for libpcap (the packet capture library) that provides a high level interface to packet capture systems.

Operating Systems

Recent releases

  •  15 Apr 2008 20:04

    Release Notes: The GNU libtool versioning system is used. A pkgconfig file is installed. The function get_snaplen() has been moved to class Pcap. There's a new function Pcap::get_filter(). Now libpcap++ is compatible (only) with libpcap >= 0.8. There are two new functions, get_major_version() and get_minor_version(), in PcapOffline. More DLTs have been added. Some names of the DataLink::Type enum have been changed to match those defined by libpcap. A segmentation fault in Pcap::set_filter() has been fixed. The functions get_promiscuous() and get_nonblock() in PcapLive have been renamed to is_promiscuous() and is_nonblock().

    •  10 Apr 2008 17:11

      Release Notes: A Doxygen-generated API reference is installed. Now all accessor member functions start with "get_". cobj() methods have been added for the classes Stats, Address, Dumper, and Pcap (replacing get_pcap_t()). The interface of DataLink has changed. A new type, Pcap::Netmask, has been added. The function Packet::manage() has been added. An undefined reference to Dumper::STD_OUTPUT has been fixed.

      •  01 Apr 2008 22:17

        No changes have been submitted for this release.

        Recent comments

        04 Nov 2011 21:34 zandegran

        In file included from ../pcap++/Pcap.h:15:0,
        ../pcap++/DataLink.h:432:3: warning: 'typedef' was ignored in this declaration [enabled by default] In member function 'void pcappp::Dumper::open(FILE*)': error: 'pcap_dump_fopen' was not declared in this scope In member function 'long int pcappp::Dumper::ftell() const': error: 'pcap_dump_ftell' was not declared in this scope
        make[2]: *** [libpcap___la-Dumper.lo] Error 1
        make[2]: Leaving directory `/home/zandegran/Downloads/libpcap++-0.0.2/pcap++'
        make[1]: *** [all] Error 2
        make[1]: Leaving directory `/home/zandegran/Downloads/libpcap++-0.0.2/pcap++'
        make: *** [all-recursive] Error 1

        I'm stuck in this error while doing Make

        20 Dec 2008 12:46 wlcrck

        very useful


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.