File:  [ELWIX - Embedded LightWeight unIX -] / embedtools / inc / dwds.h
Revision 1.1.2.8: download - view: text, annotated - select for diffs - revision graph
Tue Nov 2 02:12:49 2010 UTC (13 years, 7 months ago) by misho
Branches: tools1_0
fix remove

#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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>