aboutsummaryrefslogtreecommitdiff
path: root/pcap-usb-linux.h
Commit message (Collapse)AuthorAgeFilesLines
* Have a pcap_if_list_t structure for use by the findalldevs code.Guy Harris2017-01-181-1/+1
| | | | | | | It's not part of the API, but it's an internal structure used by the findalldevs code. Currently, it just has a pointer to the beginning of the list, but it could change in order to speed up the process of adding to the list.
* Delete trailing spaces/tabsFrancois-Xavier Le Bail2015-03-081-2/+2
|
* remove libpcap's own CVS keywordsDenis Ovsienko2014-01-031-2/+0
| | | | | | This change removes CVS keywords that express that the file belongs to libpcap repository. All such keywords represented the revision and timestamp by the end of 2008 or even older.
* Have non-interface modules take responsibility for identifying their devices.Guy Harris2012-06-111-2/+2
| | | | | | | | | | | | | | Have a table of routines to do pcap_create() for devices that aren't regular network interfaces. Try each of those in succession until one says "it's mine" (whether it succeeds or fails); if none do, do a pcap_create() for a regular interface. Have those routines do more stringent tests of the name - don't just accept any name that has a particular substring anywhere in it. That reduces the likelihood of a false match (as happened with the CANbus module when somebody renamed their Ethernet interface "canopy"). Have the table also include routines for pcap_findalldevs().
* From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_tguy2008-04-041-2/+2
| | | | | | | | | | | | | | | | handle" routine, an 'activate a pcap_t handle" routine, and some "set the properties of the pcap_t handle" routines, so that, for example, the buffer size can be set on a BPF device before the device is bound to an interface. Add additional routines to set monitor mode, and make at least an initial attempt at supporting that on Linux, *BSD, and Mac OS X 10.4 and 10.5. (Very much "initial" for Linux, which is a twisty little maze of wireless drivers, many different.) Have a "timeout" member of the pcap_md structure on all platforms, use that on Windows instead of the "timeout" member of the pcap_t structure, and get rid of the "timeout" member of that structure.
* From Paolo Abeni: fix copyrights.guy2007-09-141-5/+3
|
* Add RCS IDs.guy2007-04-011-0/+1
|
* From Paolo Abeni: add support for the binary USB sniffing interface inguy2006-12-201-1/+1
| | | | | | | | Linux. The USB sniffing code for Linux now supplies a per-packet header based on the one supplied by the Linux binary sniffing interface, so we add a new DLT_ value and use that. Fix his e-mail address, and add him to the credits.
* Move the Linux Bluetooth and USB declarations to a header file.guy2006-10-131-0/+41
Clean up some comments. Protect all references to the USB stuff from the common Linux code with PCAP_SUPPORT_USB, just as references to the Bluetooth code are protected with PCAP_SUPPORT_BT.