Home
last modified time | relevance | path

Searched refs:v2_ext_offset (Results 1 – 2 of 2) sorted by relevance

/net/smc/
Dsmc_clc.h154 __be16 v2_ext_offset; /* SMC Version 2 Extension Offset */ member
365 if (!prop_smcd || !ntohs(prop_smcd->v2_ext_offset)) in smc_get_clc_v2_ext()
370 offsetof(struct smc_clc_msg_smcd, v2_ext_offset) + in smc_get_clc_v2_ext()
371 sizeof(prop_smcd->v2_ext_offset) + in smc_get_clc_v2_ext()
372 ntohs(prop_smcd->v2_ext_offset)); in smc_get_clc_v2_ext()
Dsmc_clc.c904 pclc_smcd->v2_ext_offset = 0; in smc_clc_send_proposal()
907 u16 v2_ext_offset; in smc_clc_send_proposal() local
910 v2_ext_offset = sizeof(*pclc_smcd) - in smc_clc_send_proposal()
911 offsetofend(struct smc_clc_msg_smcd, v2_ext_offset); in smc_clc_send_proposal()
913 v2_ext_offset += sizeof(*pclc_prfx) + in smc_clc_send_proposal()
916 pclc_smcd->v2_ext_offset = htons(v2_ext_offset); in smc_clc_send_proposal()