Lines Matching defs:eth
755 struct ethhdr eth;
765 skb_copy_bits(skb, offset, ð, sizeof(eth));
766 len = ntohs(eth.h_proto);
775 if (ether_addr_equal(eth.h_dest, rfc1042_header))
782 if ((check_da && !is_multicast_ether_addr(eth.h_dest) &&
783 !ether_addr_equal(check_da, eth.h_dest)) ||
784 (check_sa && !ether_addr_equal(check_sa, eth.h_source))) {
812 eth.h_proto = htons(ethertype);
816 memcpy(skb_push(frame, sizeof(eth)), ð, sizeof(eth));