Home
last modified time | relevance | path

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

/linux-6.12.1/net/smc/
Dsmc_clc.c461 static bool smc_clc_msg_hdr_valid(struct smc_clc_msg_hdr *clcm, bool check_trl) in smc_clc_msg_hdr_valid() argument
468 if (memcmp(clcm->eyecatcher, SMC_EYECATCHER, sizeof(SMC_EYECATCHER)) && in smc_clc_msg_hdr_valid()
469 memcmp(clcm->eyecatcher, SMCD_EYECATCHER, sizeof(SMCD_EYECATCHER))) in smc_clc_msg_hdr_valid()
471 switch (clcm->type) { in smc_clc_msg_hdr_valid()
473 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid()
481 clc = (struct smc_clc_msg_accept_confirm *)clcm; in smc_clc_msg_hdr_valid()
488 dclc = (struct smc_clc_msg_decline *)clcm; in smc_clc_msg_hdr_valid()
683 struct smc_clc_msg_hdr *clcm = buf; in smc_clc_wait_msg() local
730 datlen = ntohs(clcm->length); in smc_clc_wait_msg()
732 (clcm->version < SMC_V1) || in smc_clc_wait_msg()
[all …]