This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
2005-06-20 21:27:07 +00:00
|
|
|
/*
|
|
|
|
* pcap-septel.c: Packet capture interface for Intel Septel card
|
|
|
|
*
|
|
|
|
* The functionality of this code attempts to mimic that of pcap-linux as much
|
|
|
|
* as possible. This code is only needed when compiling in the Intel/Septel
|
|
|
|
* card code at the same time as another type of device.
|
|
|
|
*
|
|
|
|
* Authors: Gilbert HOYEK (gil_hoyek@hotmail.com), Elias M. KHOURY
|
|
|
|
* (+961 3 485343);
|
|
|
|
*
|
From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t
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.
2008-04-04 19:37:44 +00:00
|
|
|
* @(#) $Header: /tcpdump/master/libpcap/pcap-septel.h,v 1.2 2008-04-04 19:37:45 guy Exp $
|
2005-06-20 21:27:07 +00:00
|
|
|
*/
|
|
|
|
|
From Paolo Abeni and me: split pcap_open_live() into a "get a pcap_t
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.
2008-04-04 19:37:44 +00:00
|
|
|
pcap_t *septel_create(const char *device, char *ebuf);
|
2005-06-20 21:27:07 +00:00
|
|
|
|