Lines Matching defs:eth
701 struct ethhdr *eth;
725 pkt_size = sizeof(*eth) + sizeof(*iph) + 4 + igmp_hdr_size;
737 eth = eth_hdr(skb);
739 ether_addr_copy(eth->h_source, br->dev->dev_addr);
740 ip_eth_mc_map(ip_dst, eth->h_dest);
741 eth->h_proto = htons(ETH_P_IP);
742 skb_put(skb, sizeof(*eth));
746 iph->tot_len = htons(pkt_size - sizeof(*eth));
823 __skb_pull(skb, sizeof(*eth));
850 struct ethhdr *eth;
873 pkt_size = sizeof(*eth) + sizeof(*ip6h) + 8 + mld_hdr_size;
886 eth = eth_hdr(skb);
888 ether_addr_copy(eth->h_source, br->dev->dev_addr);
889 eth->h_proto = htons(ETH_P_IPV6);
890 skb_put(skb, sizeof(*eth));
909 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest);
986 __skb_pull(skb, sizeof(*eth));
3682 struct ethhdr eth;
3695 memset(ð, 0, sizeof(eth));
3696 eth.h_proto = htons(proto);
3698 ret = br_multicast_querier_exists(br, ð);