Lines Matching refs:eth_hdr
37 struct ethhdr *eth_hdr;
44 eth_hdr = (struct ethhdr *)skb_mac_header(skb);
47 if (!ether_addr_equal(eth_hdr->h_dest,
52 if (!(eth_hdr->h_proto == htons(ETH_P_PRP) ||
53 eth_hdr->h_proto == htons(ETH_P_HSR)))
57 if (eth_hdr->h_proto == htons(ETH_P_HSR)) { /* Okay HSRv1. */
145 skb->protocol = eth_hdr(skb)->h_proto;
231 skb->protocol = eth_hdr(skb)->h_proto;
378 ether_addr_copy(eth_hdr(skb)->h_source, port->dev->dev_addr);
480 if (hsr_addr_is_self(hsr, eth_hdr(skb)->h_dest)) {