Lines Matching refs:eh
569 struct ethhdr *eh; in fnic_handle_fip_frame() local
589 eh = (struct ethhdr *)skb->data; in fnic_handle_fip_frame()
590 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_handle_fip_frame()
591 skb_pull(skb, sizeof(*eh)); in fnic_handle_fip_frame()
625 struct ethhdr *eh; in fnic_import_rq_eth_pkt() local
632 eh = (struct ethhdr *)skb->data; in fnic_import_rq_eth_pkt()
633 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
634 memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); in fnic_import_rq_eth_pkt()
635 eh = (struct ethhdr *)skb_pull(skb, VLAN_HLEN); in fnic_import_rq_eth_pkt()
638 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_import_rq_eth_pkt()
653 if (eh->h_proto != htons(ETH_P_FCOE)) in fnic_import_rq_eth_pkt()
655 skb_set_network_header(skb, sizeof(*eh)); in fnic_import_rq_eth_pkt()
656 skb_pull(skb, sizeof(*eh)); in fnic_import_rq_eth_pkt()