Lines Matching refs:eth
2645 struct ethhdr *eth; in process_ipsec() local
2667 eth = (struct ethhdr *)skb_push(skb, ETH_HLEN); in process_ipsec()
2668 memcpy(eth, pkt_dev->hh, 2 * ETH_ALEN); in process_ipsec()
2669 eth->h_proto = protocol; in process_ipsec()
2801 __u8 *eth; in fill_packet_ipv4() local
2837 eth = (__u8 *) skb_push(skb, 14); in fill_packet_ipv4()
2868 memcpy(eth, pkt_dev->hh, 12); in fill_packet_ipv4()
2869 *(__be16 *) & eth[12] = protocol; in fill_packet_ipv4()
2930 __u8 *eth; in fill_packet_ipv6() local
2964 eth = (__u8 *) skb_push(skb, 14); in fill_packet_ipv6()
2995 memcpy(eth, pkt_dev->hh, 12); in fill_packet_ipv6()
2996 *(__be16 *) ð[12] = protocol; in fill_packet_ipv6()