Lines Matching refs:imvID
42 TNC_IMVID imvID; member
48 TNC_IMVID imvID,
53 TNC_IMVID imvID,
57 TNC_IMVID imvID,
63 TNC_IMVID imvID,
66 TNC_IMVID imvID,
68 TNC_Result (*Terminate)(TNC_IMVID imvID);
70 TNC_IMVID imvID,
105 static struct tnc_if_imv * tncs_get_imv(TNC_IMVID imvID) in tncs_get_imv() argument
109 if (imvID >= TNC_MAX_IMV_ID || tncs_global_data == NULL) in tncs_get_imv()
113 if (imv->imvID == imvID) in tncs_get_imv()
144 TNC_IMVID imvID, in TNC_TNCS_ReportMessageTypes() argument
153 (unsigned long) imvID, (unsigned long) typeCount); in TNC_TNCS_ReportMessageTypes()
160 imv = tncs_get_imv(imvID); in TNC_TNCS_ReportMessageTypes()
175 TNC_IMVID imvID, in TNC_TNCS_SendMessage() argument
187 imvID, connectionID, messageType); in TNC_TNCS_SendMessage()
191 if (tncs_get_imv(imvID) == NULL) in TNC_TNCS_SendMessage()
202 os_free(tncs->imv_data[imvID].imv_send); in TNC_TNCS_SendMessage()
203 tncs->imv_data[imvID].imv_send_len = 0; in TNC_TNCS_SendMessage()
204 tncs->imv_data[imvID].imv_send = os_zalloc(b64len + 100); in TNC_TNCS_SendMessage()
205 if (tncs->imv_data[imvID].imv_send == NULL) { in TNC_TNCS_SendMessage()
210 tncs->imv_data[imvID].imv_send_len = in TNC_TNCS_SendMessage()
211 os_snprintf((char *) tncs->imv_data[imvID].imv_send, in TNC_TNCS_SendMessage()
224 TNC_IMVID imvID, in TNC_TNCS_RequestHandshakeRetry() argument
235 TNC_IMVID imvID, in TNC_TNCS_ProvideRecommendation() argument
244 (unsigned long) imvID, (unsigned long) connectionID, in TNC_TNCS_ProvideRecommendation()
247 if (tncs_get_imv(imvID) == NULL) in TNC_TNCS_ProvideRecommendation()
254 tncs->imv_data[imvID].recommendation = recommendation; in TNC_TNCS_ProvideRecommendation()
255 tncs->imv_data[imvID].recommendation_set = 1; in TNC_TNCS_ProvideRecommendation()
262 TNC_IMVID imvID, in TNC_TNCS_GetAttribute() argument
276 TNC_IMVID imvID, in TNC_TNCS_SetAttribute() argument
289 TNC_IMVID imvID, in TNC_TNCS_BindFunction() argument
294 "functionName='%s')", (unsigned long) imvID, functionName); in TNC_TNCS_BindFunction()
296 if (tncs_get_imv(imvID) == NULL) in TNC_TNCS_BindFunction()
379 res = imv->Initialize(imv->imvID, TNC_IFIMV_VERSION_1, in tncs_imv_initialize()
397 res = imv->Terminate(imv->imvID); in tncs_imv_terminate()
411 res = imv->ProvideBindFunction(imv->imvID, TNC_TNCS_BindFunction); in tncs_imv_provide_bind_function()
430 res = imv->NotifyConnectionChange(imv->imvID, conn, state); in tncs_imv_notify_connection_change()
526 res = imv->ReceiveMessage(imv->imvID, tncs->connectionID, in tncs_send_to_imvs()
546 res = imv->BatchEnding(imv->imvID, tncs->connectionID); in tncs_batch_ending()
559 if (tncs->imv_data[imv->imvID].recommendation_set) in tncs_solicit_recommendation()
564 res = imv->SolicitRecommendation(imv->imvID, in tncs_solicit_recommendation()
710 irec = tncs->imv_data[imv->imvID].recommendation; in tncs_derive_recommendation()
976 imv->imvID = id; in tncs_parse_imv()