您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ieee802_11_auth.h 914B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * hostapd / IEEE 802.11 authentication (ACL)
  3. * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * Alternatively, this software may be distributed under the terms of BSD
  10. * license.
  11. *
  12. * See README and COPYING for more details.
  13. */
  14. #ifndef IEEE802_11_AUTH_H
  15. #define IEEE802_11_AUTH_H
  16. enum {
  17. HOSTAPD_ACL_REJECT = 0,
  18. HOSTAPD_ACL_ACCEPT = 1,
  19. HOSTAPD_ACL_PENDING = 2,
  20. HOSTAPD_ACL_ACCEPT_TIMEOUT = 3
  21. };
  22. int hostapd_allowed_address(struct hostapd_data *hapd, const u8 *addr,
  23. const u8 *msg, size_t len, u32 *session_timeout,
  24. u32 *acct_interim_interval, int *vlan_id);
  25. int hostapd_acl_init(struct hostapd_data *hapd);
  26. void hostapd_acl_deinit(struct hostapd_data *hapd);
  27. #endif /* IEEE802_11_AUTH_H */