Lines Matching refs:eh
1438 struct ethhdr *eh; in fcoe_rcv() local
1463 eh = eth_hdr(skb); in fcoe_rcv()
1466 !ether_addr_equal(eh->h_source, ctlr->dest_addr)) { in fcoe_rcv()
1468 eh->h_source); in fcoe_rcv()
1483 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1485 eh->h_dest); in fcoe_rcv()
1590 struct ethhdr *eh; in fcoe_xmit() local
1679 eh = eth_hdr(skb); in fcoe_xmit()
1680 eh->h_proto = htons(ETH_P_FCOE); in fcoe_xmit()
1681 memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); in fcoe_xmit()
1683 memcpy(eh->h_dest + 3, fh->fh_d_id, 3); in fcoe_xmit()
1686 memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN); in fcoe_xmit()
1688 memcpy(eh->h_source, port->data_src_addr, ETH_ALEN); in fcoe_xmit()
1690 hp = (struct fcoe_hdr *)(eh + 1); in fcoe_xmit()