00001 /* 00002 * wpa_supplicant - Temporary BSSID blacklist 00003 * Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 */ 00014 00015 #ifndef BLACKLIST_H 00016 #define BLACKLIST_H 00017 00018 struct wpa_blacklist { 00019 struct wpa_blacklist *next; 00020 u8 bssid[ETH_ALEN]; 00021 int count; 00022 }; 00023 00024 struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s, 00025 const u8 *bssid); 00026 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid); 00027 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid); 00028 void wpa_blacklist_clear(struct wpa_supplicant *wpa_s); 00029 00030 #endif /* BLACKLIST_H */