Lines Matching defs:eth
1204 * Change name of a device, can pass format strings "eth%d".
3394 struct ethhdr *eth;
3399 eth = (struct ethhdr *)skb->data;
3400 type = eth->h_proto;
4899 struct ethhdr *eth;
4926 eth = (struct ethhdr *)xdp->data;
4927 orig_host = ether_addr_equal_64bits(eth->h_dest, skb->dev->dev_addr);
4928 orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest);
4929 orig_eth_type = eth->h_proto;
4960 /* check if XDP changed eth hdr such SKB needs update */
4961 eth = (struct ethhdr *)xdp->data;
4962 if ((orig_eth_type != eth->h_proto) ||
4963 (orig_host != ether_addr_equal_64bits(eth->h_dest,
4965 (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) {