wpa_supplicant / hostapd 2.0

tncc.h

Go to the documentation of this file.
00001 
00010 #ifndef TNCC_H
00011 #define TNCC_H
00012 
00013 struct tncc_data;
00014 
00015 struct tncc_data * tncc_init(void);
00016 void tncc_deinit(struct tncc_data *tncc);
00017 void tncc_init_connection(struct tncc_data *tncc);
00018 size_t tncc_total_send_len(struct tncc_data *tncc);
00019 u8 * tncc_copy_send_buf(struct tncc_data *tncc, u8 *pos);
00020 char * tncc_if_tnccs_start(struct tncc_data *tncc);
00021 char * tncc_if_tnccs_end(void);
00022 
00023 enum tncc_process_res {
00024         TNCCS_PROCESS_ERROR = -1,
00025         TNCCS_PROCESS_OK_NO_RECOMMENDATION = 0,
00026         TNCCS_RECOMMENDATION_ERROR,
00027         TNCCS_RECOMMENDATION_ALLOW,
00028         TNCCS_RECOMMENDATION_NONE,
00029         TNCCS_RECOMMENDATION_ISOLATE
00030 };
00031 
00032 enum tncc_process_res tncc_process_if_tnccs(struct tncc_data *tncc,
00033                                             const u8 *msg, size_t len);
00034 
00035 struct wpabuf * tncc_process_soh_request(int ver, const u8 *data, size_t len);
00036 
00037 #endif /* TNCC_H */
00038 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines