Lines Matching defs:eth
1293 * Change name of a device, can pass format strings "eth%d".
3316 struct ethhdr *eth;
3321 eth = (struct ethhdr *)skb->data;
3322 type = eth->h_proto;
4644 struct ethhdr *eth;
4691 eth = (struct ethhdr *)xdp->data;
4692 orig_bcast = is_multicast_ether_addr_64bits(eth->h_dest);
4693 orig_eth_type = eth->h_proto;
4719 /* check if XDP changed eth hdr such SKB needs update */
4720 eth = (struct ethhdr *)xdp->data;
4721 if ((orig_eth_type != eth->h_proto) ||
4722 (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) {
6256 const struct ethhdr *eth;
6257 unsigned int hlen = sizeof(*eth);
6265 eth = skb_gro_header_slow(skb, hlen, 0);
6266 if (unlikely(!eth)) {
6273 eth = (const struct ethhdr *)skb->data;
6285 skb->protocol = eth->h_proto;