version 1.1, 2010/10/27 13:10:40
|
version 1.2, 2011/06/08 12:45:40
|
Line 0
|
Line 1
|
|
#ifndef __DWDS_H |
|
#define __DWDS_H |
|
|
|
|
|
#define DWDS_CONFIG "/etc/dwds.conf" |
|
#define DWDS_STATEDIR "/tmp" |
|
#define DWDS_DISCJOIN "0" |
|
#define DWDS_NAME "dWDS" |
|
|
|
|
|
struct dwds_if { |
|
char if_name[IFNAMSIZ]; |
|
uint8_t if_bssid[IEEE80211_ADDR_LEN]; |
|
|
|
struct dwds_if *if_next; |
|
}; |
|
|
|
|
|
inline int wifi_chkIface(const char *csVAP, char **ppsIF, int nIF); |
|
struct dwds_if *wifi_buildWDS(int fd, char **ppsIF, int nIF); |
|
inline int wifi_destroyWDS(const char *csIface, struct dwds_if **wds); |
|
inline int wifi_leaveWDS(struct ether_addr bssid, struct dwds_if **wds, char *psVAP, int vapLen); |
|
inline int wifi_createWDS(const char *csIface, struct ether_addr bssid, struct dwds_if **wds); |
|
|
|
|
|
#endif |