blacklist.h 660 B

123456789101112131415161718192021222324
  1. /*
  2. * wpa_supplicant - Temporary BSSID blacklist
  3. * Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
  4. *
  5. * This software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef BLACKLIST_H
  9. #define BLACKLIST_H
  10. struct wpa_blacklist {
  11. struct wpa_blacklist *next;
  12. u8 bssid[ETH_ALEN];
  13. int count;
  14. };
  15. struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s,
  16. const u8 *bssid);
  17. int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid);
  18. int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
  19. void wpa_blacklist_clear(struct wpa_supplicant *wpa_s);
  20. #endif /* BLACKLIST_H */