Lines Matching refs:eth_hdr
37 struct ethhdr *eth_hdr;
42 eth_hdr = (struct ethhdr *)skb_mac_header(skb);
45 if (!ether_addr_equal(eth_hdr->h_dest,
50 if (!(eth_hdr->h_proto == htons(ETH_P_PRP) ||
51 eth_hdr->h_proto == htons(ETH_P_HSR)))
55 if (eth_hdr->h_proto == htons(ETH_P_HSR)) { /* Okay HSRv1. */
103 skb->protocol = eth_hdr(skb)->h_proto;
189 skb->protocol = eth_hdr(skb)->h_proto;
332 ether_addr_copy(eth_hdr(skb)->h_source, port->dev->dev_addr);
417 if (hsr_addr_is_self(hsr, eth_hdr(skb)->h_dest)) {