Lines Matching refs:vn

538 	struct fip_vn_desc *vn;  in fcoe_ctlr_send_keep_alive()  local
548 len = sizeof(*kal) + ports * sizeof(*vn); in fcoe_ctlr_send_keep_alive()
563 ports * sizeof(*vn)) / FIP_BPW); in fcoe_ctlr_send_keep_alive()
572 vn = (struct fip_vn_desc *)(kal + 1); in fcoe_ctlr_send_keep_alive()
573 vn->fd_desc.fip_dtype = FIP_DT_VN_ID; in fcoe_ctlr_send_keep_alive()
574 vn->fd_desc.fip_dlen = sizeof(*vn) / FIP_BPW; in fcoe_ctlr_send_keep_alive()
575 memcpy(vn->fd_mac, fip->get_src_addr(lport), ETH_ALEN); in fcoe_ctlr_send_keep_alive()
576 hton24(vn->fd_fc_id, lport->port_id); in fcoe_ctlr_send_keep_alive()
577 put_unaligned_be64(lport->wwpn, &vn->fd_wwpn); in fcoe_ctlr_send_keep_alive()
2028 struct fip_vn_desc vn; in fcoe_ctlr_vn_send() member
2043 dlen += sizeof(frame->mac) + sizeof(frame->wwnn) + sizeof(frame->vn); in fcoe_ctlr_vn_send()
2075 frame->vn.fd_desc.fip_dtype = FIP_DT_VN_ID; in fcoe_ctlr_vn_send()
2076 frame->vn.fd_desc.fip_dlen = sizeof(frame->vn) / FIP_BPW; in fcoe_ctlr_vn_send()
2077 hton24(frame->vn.fd_mac, FIP_VN_FC_MAP); in fcoe_ctlr_vn_send()
2078 hton24(frame->vn.fd_mac + 3, fip->port_id); in fcoe_ctlr_vn_send()
2079 hton24(frame->vn.fd_fc_id, fip->port_id); in fcoe_ctlr_vn_send()
2080 put_unaligned_be64(fip->lp->wwpn, &frame->vn.fd_wwpn); in fcoe_ctlr_vn_send()
2278 struct fip_vn_desc *vn = NULL; in fcoe_ctlr_vn_parse() local
2354 vn = (struct fip_vn_desc *)desc; in fcoe_ctlr_vn_parse()
2355 memcpy(frport->vn_mac, vn->fd_mac, ETH_ALEN); in fcoe_ctlr_vn_parse()
2356 frport->rdata.ids.port_id = ntoh24(vn->fd_fc_id); in fcoe_ctlr_vn_parse()
2358 get_unaligned_be64(&vn->fd_wwpn); in fcoe_ctlr_vn_parse()