wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
blacklist.h
Go to the documentation of this file.
1 
5 #ifndef BLACKLIST_H
6 #define BLACKLIST_H
7 
8 struct wpa_blacklist {
9  struct wpa_blacklist *next;
10  u8 bssid[ETH_ALEN];
11  int count;
12 };
13 
14 struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s,
15  const u8 *bssid);
16 int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid);
17 int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid);
18 void wpa_blacklist_clear(struct wpa_supplicant *wpa_s);
19 
20 #endif /* BLACKLIST_H */
int wpa_blacklist_add(struct wpa_supplicant *wpa_s, const u8 *bssid)
Add an BSSID to the blacklist.
Definition: blacklist.c:52
int wpa_blacklist_del(struct wpa_supplicant *wpa_s, const u8 *bssid)
Remove an BSSID from the blacklist.
Definition: blacklist.c:88
void wpa_blacklist_clear(struct wpa_supplicant *wpa_s)
Clear the blacklist of all entries.
Definition: blacklist.c:119
Definition: blacklist.h:8
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
struct wpa_blacklist * wpa_blacklist_get(struct wpa_supplicant *wpa_s, const u8 *bssid)
Get the blacklist entry for a BSSID.
Definition: blacklist.c:17