Home
last modified time | relevance | path

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

/openbmc/linux/net/smc/
H A Dsmc_clc.c470 static bool smc_clc_msg_hdr_valid(struct smc_clc_msg_hdr *clcm, bool check_trl) in smc_clc_msg_hdr_valid() argument
477 if (memcmp(clcm->eyecatcher, SMC_EYECATCHER, sizeof(SMC_EYECATCHER)) && in smc_clc_msg_hdr_valid()
478 memcmp(clcm->eyecatcher, SMCD_EYECATCHER, sizeof(SMCD_EYECATCHER))) in smc_clc_msg_hdr_valid()
480 switch (clcm->type) { in smc_clc_msg_hdr_valid()
482 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid()
490 clc = (struct smc_clc_msg_accept_confirm *)clcm; in smc_clc_msg_hdr_valid()
497 dclc = (struct smc_clc_msg_decline *)clcm; in smc_clc_msg_hdr_valid()
692 struct smc_clc_msg_hdr *clcm = buf; in smc_clc_wait_msg() local
739 datlen = ntohs(clcm->length); in smc_clc_wait_msg()
741 (clcm->version < SMC_V1) || in smc_clc_wait_msg()
[all …]