#include <include.h>
#include <src/interface.h>
#include <src/crt_io.h>
#include <src/wlan-ng.h>
#include <src/driver.h>
Include dependency graph for wlan-ng.c:
Go to the source code of this file.
Functions | |
void | dump_msg (void *msg) |
int | do_ioctl (char *devname, UINT8 *msg, size_t size) |
int | selectChannelWLAN (char *devname, int channel) |
int | shutCardWLAN (char *devname) |
int | openCardWLAN (char *devname) |
int | getPacketWLAN (unsigned char *buf, int maxlen) |
int | openPacketWLAN (char *devname) |
void | closePacketWLAN (void) |
Variables | |
static char * | ID = "$Id: wlan-ng.c,v 1.31 2005/02/23 11:36:53 poggij Exp $" |
WINDOW * | Sum_WND |
WINDOW * | RealTime_WND |
ScanResult_t | Res |
static CaptureArg | ca |
static char | errbuf [PCAP_ERRBUF_SIZE] |
p80211_caphdr_t | wlan_header |
static UINT8 | wlan_payload [4096] |
static p80211msg_lnxreq_wlansniff_t | lnxreq_wlansniff |
static p80211msg_lnxreq_ifstate_t | lnxreq_ifstate |
|
Definition at line 61 of file wlan-ng.c. References debug. Referenced by do_ioctl(). |
|
Definition at line 93 of file wlan-ng.c. References DEVNAME_LEN, dump_msg(), MSG_BUFF_LEN, P80211_IFREQ, P80211_IOCTL_MAGIC, and warning(). Referenced by openCardWLAN(), selectChannelWLAN(), and shutCardWLAN(). |
|
|
Definition at line 297 of file wlan-ng.c. References debug, DEVNAME_LEN, DIDmsg_lnxreq_wlansniff, DIDmsg_lnxreq_wlansniff_channel, DIDmsg_lnxreq_wlansniff_enable, DIDmsg_lnxreq_wlansniff_resultcode, do_ioctl(), lnxreq_wlansniff, P80211ENUM_msgitem_status_no_value, and P80211ENUM_truth_false. Referenced by shutCard(). |
|
|
Definition at line 431 of file wlan-ng.c. References ca, debug, MAX_BUFFER_SIZE, memcpy_buff(), CaptureArg_t::pcap, phytype_dsss_dot11_b, wlan_header, and wlan_payload. Referenced by getPacket(). |
|
Definition at line 496 of file wlan-ng.c. References ca, debug, DLT_PRISM_HEADER, errbuf, fatal(), CaptureArg_t::offset, and CaptureArg_t::pcap. Referenced by openPacket(). |
|
Definition at line 529 of file wlan-ng.c. References ca, and CaptureArg_t::pcap. Referenced by closePacket(). |
|
|
|
|
|
|
|
|
|
Definition at line 41 of file wlan-ng.c. Referenced by closePacketWLAN(), getPacketWLAN(), and openPacketWLAN(). |
|
Definition at line 42 of file wlan-ng.c. Referenced by openPacketWLAN(). |
|
|
|
Definition at line 48 of file wlan-ng.c. Referenced by getPacketWLAN(). |
|
Definition at line 54 of file wlan-ng.c. Referenced by openCardWLAN(), selectChannelWLAN(), and shutCardWLAN(). |
|
Definition at line 55 of file wlan-ng.c. Referenced by openCardWLAN(). |