summaryrefslogtreecommitdiff
authormax <max>2003-02-01 09:05:37 (UTC)
committer max <max>2003-02-01 09:05:37 (UTC)
commit26ca12f21a55c7029e6a18d956fd49238d139c19 (patch) (side-by-side diff)
tree70d1ccde5c8f3ebb6c6f27557e6ceb84b49c1950
parent953cb6d9cb9da2829db8364bcfb4ff8af0b0ae26 (diff)
downloadopie-26ca12f21a55c7029e6a18d956fd49238d139c19.zip
opie-26ca12f21a55c7029e6a18d956fd49238d139c19.tar.gz
opie-26ca12f21a55c7029e6a18d956fd49238d139c19.tar.bz2
cisco status
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
index 7678202..7750fb6 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
+++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
@@ -1,40 +1,41 @@
/* $Id$ */
#ifndef CARDMODE_HH
#define CARDMODE_HH
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <linux/if.h>
extern "C"
{
#include <net/bpf.h>
#include <pcap.h>
}
/* Defines, used for the card setup */
#define DEFAULT_PATH "/proc/driver/aironet/%s/Config"
+#define CISCO_STATUS "/proc/driver/aironet/%s/Status"
#define CARD_TYPE_CISCO 1
#define CARD_TYPE_NG 2
#define CARD_TYPE_HOSTAP 3
/* only for now, until we have the daemon running */
/*the config file should provide these information */
#define CARD_TYPE CARD_TYPE_HOSTAP
#define SBIN_PATH "/sbin/ifconfig %s promisc up"
#define WLANCTL_PATH "/sbin/wlanctl-ng"
#define IWPRIV_PATH "/sbin/iwpriv"
/* Prototypes */
int card_into_monitormode (pcap_t **, char *, int);
int card_set_promisc_up (const char *);
#endif /* CARDMODE_HH */