Annotation of embedtools/inc/dwds.h, revision 1.2
1.2 ! misho 1: #ifndef __DWDS_H
! 2: #define __DWDS_H
! 3:
! 4:
! 5: #define DWDS_CONFIG "/etc/dwds.conf"
! 6: #define DWDS_STATEDIR "/tmp"
! 7: #define DWDS_DISCJOIN "0"
! 8: #define DWDS_NAME "dWDS"
! 9:
! 10:
! 11: struct dwds_if {
! 12: char if_name[IFNAMSIZ];
! 13: uint8_t if_bssid[IEEE80211_ADDR_LEN];
! 14:
! 15: struct dwds_if *if_next;
! 16: };
! 17:
! 18:
! 19: inline int wifi_chkIface(const char *csVAP, char **ppsIF, int nIF);
! 20: struct dwds_if *wifi_buildWDS(int fd, char **ppsIF, int nIF);
! 21: inline int wifi_destroyWDS(const char *csIface, struct dwds_if **wds);
! 22: inline int wifi_leaveWDS(struct ether_addr bssid, struct dwds_if **wds, char *psVAP, int vapLen);
! 23: inline int wifi_createWDS(const char *csIface, struct ether_addr bssid, struct dwds_if **wds);
! 24:
! 25:
! 26: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>