Lines Matching refs:eth
388 struct ethhdr eth; in fcoe_ctlr_solicit() member
405 memcpy(sol->eth.h_dest, fcf ? fcf->fcf_mac : fcoe_all_fcfs, ETH_ALEN); in fcoe_ctlr_solicit()
406 memcpy(sol->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_solicit()
407 sol->eth.h_proto = htons(ETH_P_FIP); in fcoe_ctlr_solicit()
540 struct ethhdr eth; in fcoe_ctlr_send_keep_alive() member
561 memcpy(kal->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_send_keep_alive()
562 memcpy(kal->eth.h_source, sa, ETH_ALEN); in fcoe_ctlr_send_keep_alive()
563 kal->eth.h_proto = htons(ETH_P_FIP); in fcoe_ctlr_send_keep_alive()
612 struct ethhdr eth; in fcoe_ctlr_encaps() member
630 if (fcoe_ctlr_vn_lookup(fip, d_id, cap->eth.h_dest)) in fcoe_ctlr_encaps()
642 memcpy(cap->eth.h_dest, fcf->fcf_mac, ETH_ALEN); in fcoe_ctlr_encaps()
644 memcpy(cap->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_encaps()
645 cap->eth.h_proto = htons(ETH_P_FIP); in fcoe_ctlr_encaps()
1992 struct ethhdr eth; in fcoe_ctlr_vn_send() member
2020 memcpy(frame->eth.h_dest, dest, ETH_ALEN); in fcoe_ctlr_vn_send()
2023 hton24(frame->eth.h_source, FIP_VN_FC_MAP); in fcoe_ctlr_vn_send()
2024 hton24(frame->eth.h_source + 3, fip->port_id); in fcoe_ctlr_vn_send()
2026 memcpy(frame->eth.h_source, fip->ctl_src_addr, ETH_ALEN); in fcoe_ctlr_vn_send()
2028 frame->eth.h_proto = htons(ETH_P_FIP); in fcoe_ctlr_vn_send()