Home
last modified time | relevance | path

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

/Linux-v6.1/net/smc/
Dsmc_clc.h149 __be16 v2_ext_offset; /* SMC Version 2 Extension Offset */ member
347 if (!prop_smcd || !ntohs(prop_smcd->v2_ext_offset)) in smc_get_clc_v2_ext()
352 offsetof(struct smc_clc_msg_smcd, v2_ext_offset) + in smc_get_clc_v2_ext()
353 sizeof(prop_smcd->v2_ext_offset) + in smc_get_clc_v2_ext()
354 ntohs(prop_smcd->v2_ext_offset)); in smc_get_clc_v2_ext()
Dsmc_clc.c877 pclc_smcd->v2_ext_offset = 0; in smc_clc_send_proposal()
880 u16 v2_ext_offset; in smc_clc_send_proposal() local
883 v2_ext_offset = sizeof(*pclc_smcd) - in smc_clc_send_proposal()
884 offsetofend(struct smc_clc_msg_smcd, v2_ext_offset); in smc_clc_send_proposal()
886 v2_ext_offset += sizeof(*pclc_prfx) + in smc_clc_send_proposal()
889 pclc_smcd->v2_ext_offset = htons(v2_ext_offset); in smc_clc_send_proposal()