wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
tncc.h
Go to the documentation of this file.
1 
5 #ifndef TNCC_H
6 #define TNCC_H
7 
8 struct tncc_data;
9 
10 struct tncc_data * tncc_init(void);
11 void tncc_deinit(struct tncc_data *tncc);
12 void tncc_init_connection(struct tncc_data *tncc);
13 size_t tncc_total_send_len(struct tncc_data *tncc);
14 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos);
15 char * tncc_if_tnccs_start(struct tncc_data *tncc);
16 char * tncc_if_tnccs_end(void);
17 
18 enum tncc_process_res {
19  TNCCS_PROCESS_ERROR = -1,
20  TNCCS_PROCESS_OK_NO_RECOMMENDATION = 0,
21  TNCCS_RECOMMENDATION_ERROR,
22  TNCCS_RECOMMENDATION_ALLOW,
23  TNCCS_RECOMMENDATION_NONE,
24  TNCCS_RECOMMENDATION_ISOLATE
25 };
26 
27 enum tncc_process_res tncc_process_if_tnccs(struct tncc_data *tncc,
28  const u8 *msg, size_t len);
29 
30 struct wpabuf * tncc_process_soh_request(int ver, const u8 *data, size_t len);
31 
32 #endif /* TNCC_H */
Definition: wpabuf.h:16
Definition: tncc.c:92