Home
last modified time | relevance | path

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

/linux/net/smc/
H A Dsmc_clc.h160 __be16 v2_ext_offset; /* SMC Version 2 Extension Offset */ member
380 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()
H A Dsmc_clc.c910 pclc_smcd->v2_ext_offset = 0; in smc_clc_send_proposal()
913 u16 v2_ext_offset; in smc_clc_send_proposal() local
916 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()