Lines Matching refs:eh
601 struct ethhdr *eh; in fnic_handle_fip_frame() local
621 eh = (struct ethhdr *)skb->data; in fnic_handle_fip_frame()
622 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_handle_fip_frame()
623 skb_pull(skb, sizeof(*eh)); in fnic_handle_fip_frame()
657 struct ethhdr *eh; in fnic_import_rq_eth_pkt() local
664 eh = (struct ethhdr *)skb->data; in fnic_import_rq_eth_pkt()
665 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
666 memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); in fnic_import_rq_eth_pkt()
667 eh = skb_pull(skb, VLAN_HLEN); in fnic_import_rq_eth_pkt()
670 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_import_rq_eth_pkt()
685 if (eh->h_proto != htons(ETH_P_FCOE)) in fnic_import_rq_eth_pkt()
687 skb_set_network_header(skb, sizeof(*eh)); in fnic_import_rq_eth_pkt()
688 skb_pull(skb, sizeof(*eh)); in fnic_import_rq_eth_pkt()