Lines Matching refs:eh
574 struct ethhdr *eh; in fnic_handle_fip_frame() local
594 eh = (struct ethhdr *)skb->data; in fnic_handle_fip_frame()
595 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_handle_fip_frame()
596 skb_pull(skb, sizeof(*eh)); in fnic_handle_fip_frame()
630 struct ethhdr *eh; in fnic_import_rq_eth_pkt() local
637 eh = (struct ethhdr *)skb->data; in fnic_import_rq_eth_pkt()
638 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
639 memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); in fnic_import_rq_eth_pkt()
640 eh = (struct ethhdr *)skb_pull(skb, VLAN_HLEN); in fnic_import_rq_eth_pkt()
643 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_import_rq_eth_pkt()
658 if (eh->h_proto != htons(ETH_P_FCOE)) in fnic_import_rq_eth_pkt()
660 skb_set_network_header(skb, sizeof(*eh)); in fnic_import_rq_eth_pkt()
661 skb_pull(skb, sizeof(*eh)); in fnic_import_rq_eth_pkt()