Home
last modified time | relevance | path

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

/Linux-v6.1/net/smc/
Dsmc_llc.c641 struct smc_llc_msg_add_link *addllc; in smc_llc_send_add_link() local
643 int len = sizeof(*addllc); in smc_llc_send_add_link()
654 addllc = (struct smc_llc_msg_add_link *)wr_buf; in smc_llc_send_add_link()
656 &wr_buf->raw[sizeof(*addllc)]; in smc_llc_send_add_link()
664 addllc = (struct smc_llc_msg_add_link *)wr_buf; in smc_llc_send_add_link()
667 memset(addllc, 0, sizeof(*addllc)); in smc_llc_send_add_link()
668 addllc->hd.common.llc_type = SMC_LLC_ADD_LINK; in smc_llc_send_add_link()
670 addllc->hd.flags |= SMC_LLC_FLAG_RESP; in smc_llc_send_add_link()
671 memcpy(addllc->sender_mac, mac, ETH_ALEN); in smc_llc_send_add_link()
672 memcpy(addllc->sender_gid, gid, SMC_GID_SIZE); in smc_llc_send_add_link()
[all …]