Lines Matching refs:ethhdr
37 struct ethhdr *eth_hdr; in is_supervision_frame()
44 eth_hdr = (struct ethhdr *)skb_mac_header(skb); in is_supervision_frame()
124 struct ethhdr *eth_hdr; in is_proxy_supervision_frame()
127 eth_hdr = (struct ethhdr *)skb_mac_header(skb); in is_proxy_supervision_frame()
310 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
311 hsr_ethhdr->ethhdr.h_proto = htons(proto_version ? in hsr_fill_tag()
313 skb->protocol = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
672 struct ethhdr *ethhdr; in fill_frame_info() local
677 if (skb->mac_len < sizeof(struct ethhdr)) in fill_frame_info()
695 ethhdr = (struct ethhdr *)skb_mac_header(skb); in fill_frame_info()
697 proto = ethhdr->h_proto; in fill_frame_info()