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);
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
27 enum tncc_process_res tncc_process_if_tnccs(
struct tncc_data *tncc,
28 const u8 *msg,
size_t len);
30 struct wpabuf * tncc_process_soh_request(
int ver,
const u8 *data,
size_t len);