Searched refs:v2_ext_offset (Results 1 – 2 of 2) sorted by relevance
160 __be16 v2_ext_offset; /* SMC Version 2 Extension Offset */ member380 if (!prop_smcd || !ntohs(prop_smcd->v2_ext_offset)) in smc_get_clc_v2_ext()385 offsetof(struct smc_clc_msg_smcd, v2_ext_offset) + in smc_get_clc_v2_ext()386 sizeof(prop_smcd->v2_ext_offset) + in smc_get_clc_v2_ext()387 ntohs(prop_smcd->v2_ext_offset)); in smc_get_clc_v2_ext()
910 pclc_smcd->v2_ext_offset = 0; in smc_clc_send_proposal()913 u16 v2_ext_offset; in smc_clc_send_proposal() local916 v2_ext_offset = sizeof(*pclc_smcd) - in smc_clc_send_proposal()917 offsetofend(struct smc_clc_msg_smcd, v2_ext_offset); in smc_clc_send_proposal()919 v2_ext_offset += sizeof(*pclc_prfx) + in smc_clc_send_proposal()922 pclc_smcd->v2_ext_offset = htons(v2_ext_offset); in smc_clc_send_proposal()