Lines Matching refs:eth

354 	struct ethhdr *eth;  in br_ip4_multicast_alloc_query()  local
357 skb = netdev_alloc_skb_ip_align(br->dev, sizeof(*eth) + sizeof(*iph) + in br_ip4_multicast_alloc_query()
365 eth = eth_hdr(skb); in br_ip4_multicast_alloc_query()
367 ether_addr_copy(eth->h_source, br->dev->dev_addr); in br_ip4_multicast_alloc_query()
368 eth->h_dest[0] = 1; in br_ip4_multicast_alloc_query()
369 eth->h_dest[1] = 0; in br_ip4_multicast_alloc_query()
370 eth->h_dest[2] = 0x5e; in br_ip4_multicast_alloc_query()
371 eth->h_dest[3] = 0; in br_ip4_multicast_alloc_query()
372 eth->h_dest[4] = 0; in br_ip4_multicast_alloc_query()
373 eth->h_dest[5] = 1; in br_ip4_multicast_alloc_query()
374 eth->h_proto = htons(ETH_P_IP); in br_ip4_multicast_alloc_query()
375 skb_put(skb, sizeof(*eth)); in br_ip4_multicast_alloc_query()
409 __skb_pull(skb, sizeof(*eth)); in br_ip4_multicast_alloc_query()
422 struct ethhdr *eth; in br_ip6_multicast_alloc_query() local
426 skb = netdev_alloc_skb_ip_align(br->dev, sizeof(*eth) + sizeof(*ip6h) + in br_ip6_multicast_alloc_query()
435 eth = eth_hdr(skb); in br_ip6_multicast_alloc_query()
437 ether_addr_copy(eth->h_source, br->dev->dev_addr); in br_ip6_multicast_alloc_query()
438 eth->h_proto = htons(ETH_P_IPV6); in br_ip6_multicast_alloc_query()
439 skb_put(skb, sizeof(*eth)); in br_ip6_multicast_alloc_query()
455 ipv6_eth_mc_map(&ip6h->daddr, eth->h_dest); in br_ip6_multicast_alloc_query()
491 __skb_pull(skb, sizeof(*eth)); in br_ip6_multicast_alloc_query()
2230 struct ethhdr eth; in br_multicast_has_querier_anywhere() local
2243 memset(&eth, 0, sizeof(eth)); in br_multicast_has_querier_anywhere()
2244 eth.h_proto = htons(proto); in br_multicast_has_querier_anywhere()
2246 ret = br_multicast_querier_exists(br, &eth); in br_multicast_has_querier_anywhere()