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()
269 hsr_ethhdr->hsr_tag.encap_proto = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
270 hsr_ethhdr->ethhdr.h_proto = htons(proto_version ? in hsr_fill_tag()
272 skb->protocol = hsr_ethhdr->ethhdr.h_proto; in hsr_fill_tag()
571 struct ethhdr *ethhdr; in fill_frame_info() local
577 if (skb->mac_len < sizeof(struct ethhdr)) in fill_frame_info()
582 ethhdr = (struct ethhdr *)skb_mac_header(skb); in fill_frame_info()
583 hash = hsr_mac_hash(port->hsr, ethhdr->h_source); in fill_frame_info()
592 proto = ethhdr->h_proto; in fill_frame_info()
598 vlan_hdr = (struct hsr_vlan_ethhdr *)ethhdr; in fill_frame_info()