Searched refs:pclc (Results 1 – 3 of 3) sorted by relevance
348 static bool smc_clc_msg_prop_valid(struct smc_clc_msg_proposal *pclc) in smc_clc_msg_prop_valid() argument352 struct smc_clc_msg_hdr *hdr = &pclc->hdr; in smc_clc_msg_prop_valid()355 v2_ext = smc_get_clc_v2_ext(pclc); in smc_clc_msg_prop_valid()356 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_clc_msg_prop_valid()361 sizeof(*pclc) + ntohs(pclc->iparea_offset) + in smc_clc_msg_prop_valid()369 sizeof(*pclc) + in smc_clc_msg_prop_valid()464 struct smc_clc_msg_proposal *pclc; in smc_clc_msg_hdr_valid() local473 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid()474 if (!smc_clc_msg_prop_valid(pclc)) in smc_clc_msg_hdr_valid()477 ((u8 *)pclc + ntohs(pclc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid()[all …]
337 smc_clc_proposal_get_prefix(struct smc_clc_msg_proposal *pclc) in smc_clc_proposal_get_prefix() argument340 ((u8 *)pclc + sizeof(*pclc) + ntohs(pclc->iparea_offset)); in smc_clc_proposal_get_prefix()440 struct smc_clc_msg_proposal *pclc,
1965 struct smc_clc_msg_proposal *pclc, in smc_listen_v2_check() argument1972 ini->smc_type_v1 = pclc->hdr.typev1; in smc_listen_v2_check()1973 ini->smc_type_v2 = pclc->hdr.typev2; in smc_listen_v2_check()1976 if (pclc->hdr.version > SMC_V1) { in smc_listen_v2_check()1986 pclc_v2_ext = smc_get_clc_v2_ext(pclc); in smc_listen_v2_check()2027 struct smc_clc_msg_proposal *pclc) in smc_listen_prfx_check() argument2032 if (pclc->hdr.typev1 == SMC_TYPE_N) in smc_listen_prfx_check()2034 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_listen_prfx_check()2129 struct smc_clc_msg_proposal *pclc, in smc_find_ism_v2_device_serv() argument2145 pclc_smcd = smc_get_clc_msg_smcd(pclc); in smc_find_ism_v2_device_serv()[all …]