Lines Matching refs:eth
518 struct ethhdr *eth;
529 skb_push(skb, sizeof(*eth));
536 skb_pull(skb, sizeof(*eth));
552 eth = eth_hdr(skb);
553 ether_addr_copy(eth->h_source, amt->dev->dev_addr);
554 ip_eth_mc_map(htonl(INADDR_ALLHOSTS_GROUP), eth->h_dest);
555 eth->h_proto = htons(ETH_P_IP);
575 skb_push(skb, sizeof(*eth) + sizeof(*iph) + AMT_IPHDR_OPTS);
814 struct ethhdr *eth;
823 skb_push(skb, sizeof(*eth));
825 eth = eth_hdr(skb);
831 skb_pull(skb, sizeof(*eth));
847 eth->h_proto = htons(ETH_P_IPV6);
848 ether_addr_copy(eth->h_source, amt->dev->dev_addr);
849 ipv6_eth_mc_map(&mld2_all_node, eth->h_dest);
872 skb_push(skb, sizeof(*eth) + sizeof(*ip6h) + sizeof(ra));
2282 struct ethhdr *eth;
2300 skb_push(skb, sizeof(*eth));
2302 skb_pull(skb, sizeof(*eth));
2303 eth = eth_hdr(skb);
2313 eth->h_proto = htons(ETH_P_IP);
2314 ip_eth_mc_map(iph->daddr, eth->h_dest);
2326 eth->h_proto = htons(ETH_P_IPV6);
2327 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest);
2350 struct ethhdr *eth, *oeth;
2365 hdr_size -= sizeof(*eth);
2371 skb_pull(skb, sizeof(*eth));
2373 eth = eth_hdr(skb);
2397 eth->h_proto = htons(ETH_P_IP);
2398 ip_eth_mc_map(iph->daddr, eth->h_dest);
2423 eth->h_proto = htons(ETH_P_IPV6);
2424 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest);
2430 ether_addr_copy(eth->h_source, oeth->h_source);
2450 struct ethhdr *eth;
2503 eth = eth_hdr(skb);
2505 eth->h_proto = htons(ETH_P_IP);
2506 ip_eth_mc_map(iph->daddr, eth->h_dest);
2522 eth = eth_hdr(skb);
2524 eth->h_proto = htons(ETH_P_IPV6);
2525 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest);