• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/nes/

Lines Matching defs:mpa_frame

210 	form_cm_frame(skb, cm_node, NULL, 0, &cm_node->mpa_frame,
229 form_cm_frame(skb, cm_node, NULL, 0, &cm_node->mpa_frame,
244 struct ietf_mpa_frame *mpa_frame;
254 mpa_frame = (struct ietf_mpa_frame *)buffer;
255 cm_node->mpa_frame_size = ntohs(mpa_frame->priv_data_len);
267 if (mpa_frame->rev != mpa_version) {
273 if (memcmp(mpa_frame->key, IEFT_MPA_KEY_REQ, IETF_MPA_KEY_SIZE)) {
278 if (memcmp(mpa_frame->key, IEFT_MPA_KEY_REP, IETF_MPA_KEY_SIZE)) {
304 if (mpa_frame->flags & IETF_MPA_FLAGS_REJECT)
2024 struct ietf_mpa_frame *mpa_frame = NULL;
2030 mpa_frame = &cm_node->mpa_frame;
2031 memcpy(mpa_frame->key, IEFT_MPA_KEY_REQ, IETF_MPA_KEY_SIZE);
2032 mpa_frame->flags = IETF_MPA_FLAGS_CRC;
2033 mpa_frame->rev = IETF_MPA_VERSION;
2034 mpa_frame->priv_data_len = htons(private_data_len);
2094 memcpy(mpa_frame->priv_data, private_data, private_data_len);
2127 struct ietf_mpa_frame *mpa_frame, struct nes_cm_node *cm_node)
2137 struct ietf_mpa_frame *mpa_frame, struct nes_cm_node *cm_node)
3011 memcpy(&cm_node->mpa_frame.key[0], IEFT_MPA_KEY_REP, IETF_MPA_KEY_SIZE);
3013 memcpy(&loopback->mpa_frame.priv_data, pdata, pdata_len);
3014 loopback->mpa_frame.priv_data_len = pdata_len;
3018 memcpy(&cm_node->mpa_frame.priv_data, pdata, pdata_len);
3019 cm_node->mpa_frame.priv_data_len = cpu_to_be16(pdata_len);
3022 cm_node->mpa_frame.rev = mpa_version;
3023 cm_node->mpa_frame.flags = IETF_MPA_FLAGS_CRC | IETF_MPA_FLAGS_REJECT;
3025 return cm_core->api->reject(cm_core, &cm_node->mpa_frame, cm_node);
3371 nesqp->ietf_frame = &cm_node->mpa_frame;