--- embedtools/inc/dwds.h 2010/10/27 13:29:06 1.1.2.2 +++ embedtools/inc/dwds.h 2010/10/27 16:04:52 1.1.2.4 @@ -5,6 +5,20 @@ #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_getParent(const char *csVAP, char *psParent, size_t plen); +inline int wifi_chkIface(const char *csIface, char **ppsIF, int nIF); +inline int wifi_isWDS(int fd, const char *csVAP); #endif