wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ieee802_1x_cp.h
Go to the documentation of this file.
1 
5 #ifndef IEEE802_1X_CP_H
6 #define IEEE802_1X_CP_H
7 
8 #include "common/defs.h"
10 
11 struct ieee802_1x_cp_sm;
12 struct ieee802_1x_kay;
13 struct ieee802_1x_mka_ki;
14 
16  Boolean protect;
17  Boolean replay_protect;
18  enum validate_frames validate;
19  u32 replay_window;
20 };
21 
22 
23 struct ieee802_1x_cp_sm *
25  struct ieee802_1x_cp_conf *pcp_conf);
27 void ieee802_1x_cp_sm_step(void *cp_ctx);
28 void ieee802_1x_cp_connect_pending(void *cp_ctx);
29 void ieee802_1x_cp_connect_unauthenticated(void *cp_ctx);
30 void ieee802_1x_cp_connect_authenticated(void *cp_ctx);
31 void ieee802_1x_cp_connect_secure(void *cp_ctx);
32 void ieee802_1x_cp_signal_chgdserver(void *cp_ctx);
33 void ieee802_1x_cp_set_electedself(void *cp_ctx, Boolean status);
34 void ieee802_1x_cp_set_authorizationdata(void *cp_ctx, u8 *pdata, int len);
35 void ieee802_1x_cp_set_ciphersuite(void *cp_ctx, void *pid);
36 void ieee802_1x_cp_set_offset(void *cp_ctx, enum confidentiality_offset offset);
37 void ieee802_1x_cp_signal_newsak(void *cp_ctx);
38 void ieee802_1x_cp_set_distributedki(void *cp_ctx,
39  const struct ieee802_1x_mka_ki *dki);
40 void ieee802_1x_cp_set_distributedan(void *cp_ctx, u8 an);
41 void ieee802_1x_cp_set_usingreceivesas(void *cp_ctx, Boolean status);
42 void ieee802_1x_cp_set_allreceiving(void *cp_ctx, Boolean status);
43 void ieee802_1x_cp_set_servertransmitting(void *cp_ctx, Boolean status);
44 void ieee802_1x_cp_set_usingtransmitas(void *cp_ctx, Boolean status);
45 
46 #endif /* IEEE802_1X_CP_H */
struct ieee802_1x_cp_sm * ieee802_1x_cp_sm_init(struct ieee802_1x_kay *kay, struct ieee802_1x_cp_conf *pcp_conf)
ieee802_1x_cp_sm_init -
Definition: ieee802_1x_cp.c:425
void ieee802_1x_cp_set_allreceiving(void *cp_ctx, Boolean status)
ieee802_1x_cp_set_allreceiving -
Definition: ieee802_1x_cp.c:668
Definition: ieee802_1x_cp.h:15
void ieee802_1x_cp_set_usingtransmitas(void *cp_ctx, Boolean status)
ieee802_1x_cp_set_usingtransmitsas -
Definition: ieee802_1x_cp.c:688
void ieee802_1x_cp_set_ciphersuite(void *cp_ctx, void *pid)
ieee802_1x_cp_set_ciphersuite -
Definition: ieee802_1x_cp.c:607
void ieee802_1x_cp_sm_deinit(struct ieee802_1x_cp_sm *sm)
ieee802_1x_cp_sm_deinit -
Definition: ieee802_1x_cp.c:516
void ieee802_1x_cp_signal_newsak(void *cp_ctx)
ieee802_1x_cp_signal_newsak -
Definition: ieee802_1x_cp.c:627
WPA Supplicant - Common definitions.
void ieee802_1x_cp_set_servertransmitting(void *cp_ctx, Boolean status)
ieee802_1x_cp_set_servertransmitting -
Definition: ieee802_1x_cp.c:678
IEEE Std 802.1X-2010 definitions.
Definition: ieee802_1x_kay.h:88
void ieee802_1x_cp_connect_unauthenticated(void *cp_ctx)
ieee802_1x_cp_connect_unauthenticated
Definition: ieee802_1x_cp.c:544
void ieee802_1x_cp_sm_step(void *cp_ctx)
Advance EAPOL state machines.
Definition: ieee802_1x_cp.c:702
Definition: ieee802_1x_cp.c:24
void ieee802_1x_cp_set_electedself(void *cp_ctx, Boolean status)
ieee802_1x_cp_set_electedself -
Definition: ieee802_1x_cp.c:584
void ieee802_1x_cp_connect_secure(void *cp_ctx)
ieee802_1x_cp_connect_secure
Definition: ieee802_1x_cp.c:562
Definition: ieee802_1x_kay.h:24
void ieee802_1x_cp_set_usingreceivesas(void *cp_ctx, Boolean status)
ieee802_1x_cp_set_usingreceivesas -
Definition: ieee802_1x_cp.c:658
void ieee802_1x_cp_set_distributedki(void *cp_ctx, const struct ieee802_1x_mka_ki *dki)
ieee802_1x_cp_set_distributedki -
Definition: ieee802_1x_cp.c:637
void ieee802_1x_cp_set_offset(void *cp_ctx, enum confidentiality_offset offset)
ieee802_1x_cp_set_offset -
Definition: ieee802_1x_cp.c:617
void ieee802_1x_cp_connect_pending(void *cp_ctx)
ieee802_1x_cp_connect_pending
Definition: ieee802_1x_cp.c:535
void ieee802_1x_cp_set_authorizationdata(void *cp_ctx, u8 *pdata, int len)
ieee802_1x_cp_set_authorizationdata -
Definition: ieee802_1x_cp.c:594
void ieee802_1x_cp_set_distributedan(void *cp_ctx, u8 an)
ieee802_1x_cp_set_distributedan -
Definition: ieee802_1x_cp.c:648
void ieee802_1x_cp_signal_chgdserver(void *cp_ctx)
ieee802_1x_cp_set_chgdserver -
Definition: ieee802_1x_cp.c:573
void ieee802_1x_cp_connect_authenticated(void *cp_ctx)
ieee802_1x_cp_connect_authenticated
Definition: ieee802_1x_cp.c:553