Lines Matching defs:eth
1208 * Change name of a device, can pass format strings "eth%d".
3392 struct ethhdr *eth;
3397 eth = (struct ethhdr *)skb->data;
3398 type = eth->h_proto;
4864 struct ethhdr *eth;
4885 eth = (struct ethhdr *)xdp->data;
4886 orig_host = ether_addr_equal_64bits(eth->h_dest, skb->dev->dev_addr);
4887 orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest);
4888 orig_eth_type = eth->h_proto;
4911 /* check if XDP changed eth hdr such SKB needs update */
4912 eth = (struct ethhdr *)xdp->data;
4913 if ((orig_eth_type != eth->h_proto) ||
4914 (orig_host != ether_addr_equal_64bits(eth->h_dest,
4916 (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) {