wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
wpas_kay.h
Go to the documentation of this file.
1 
5 #ifndef WPAS_KAY_H
6 #define WPAS_KAY_H
7 
8 #ifdef CONFIG_MACSEC
9 
10 int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s,
11  struct wpa_ssid *ssid);
12 void * ieee802_1x_notify_create_actor(struct wpa_supplicant *wpa_s,
13  const u8 *peer_addr);
14 void ieee802_1x_dealloc_kay_sm(struct wpa_supplicant *wpa_s);
15 
16 #else /* CONFIG_MACSEC */
17 
18 static inline int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s,
19  struct wpa_ssid *ssid)
20 {
21  return 0;
22 }
23 
24 static inline void *
25 ieee802_1x_notify_create_actor(struct wpa_supplicant *wpa_s,
26  const u8 *peer_addr)
27 {
28  return NULL;
29 }
30 
31 static inline void ieee802_1x_dealloc_kay_sm(struct wpa_supplicant *wpa_s)
32 {
33 }
34 
35 #endif /* CONFIG_MACSEC */
36 
37 #endif /* WPAS_KAY_H */
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
Network configuration data.
Definition: config_ssid.h:52