Home
last modified time | relevance | path

Searched refs:tncs (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/wpa/src/eap_server/
H A Dtncs.c123 struct tncs_data *tncs; in tncs_get_conn() local
128 tncs = tncs_global_data->connections; in tncs_get_conn()
129 while (tncs) { in tncs_get_conn()
130 if (tncs->connectionID == connectionID) in tncs_get_conn()
131 return tncs; in tncs_get_conn()
132 tncs = tncs->next; in tncs_get_conn()
181 struct tncs_data *tncs; in TNC_TNCS_SendMessage() local
194 tncs = tncs_get_conn(connectionID); in TNC_TNCS_SendMessage()
195 if (tncs == NULL) in TNC_TNCS_SendMessage()
202 os_free(tncs->imv_data[imvID].imv_send); in TNC_TNCS_SendMessage()
[all …]
H A Dtncs.h15 void tncs_deinit(struct tncs_data *tncs);
16 void tncs_init_connection(struct tncs_data *tncs);
17 size_t tncs_total_send_len(struct tncs_data *tncs);
18 u8 * tncs_copy_send_buf(struct tncs_data *tncs, u8 *pos);
19 char * tncs_if_tnccs_start(struct tncs_data *tncs);
33 enum tncs_process_res tncs_process_if_tnccs(struct tncs_data *tncs,
H A Deap_server_tnc.c22 struct tncs_data *tncs; member
81 data->tncs = tncs_init(); in eap_tnc_init()
82 if (data->tncs == NULL) { in eap_tnc_init()
99 tncs_deinit(data->tncs); in eap_tnc_reset()
136 imv_len = tncs_total_send_len(data->tncs); in eap_tnc_build()
138 start_buf = tncs_if_tnccs_start(data->tncs); in eap_tnc_build()
161 rpos = tncs_copy_send_buf(data->tncs, rpos1); in eap_tnc_build()
286 tncs_init_connection(data->tncs); in eap_tnc_buildReq()
364 res = tncs_process_if_tnccs(data->tncs, wpabuf_head(inbuf), in tncs_process()