Lines Matching refs:eth
105 struct ethhdr eth;
127 memcpy(ð, skb_in->data, sizeof(struct ethhdr));
128 mac_header_data = ð
225 struct ethhdr eth;
254 memcpy(ð, skb_in->data, sizeof(struct ethhdr));
255 if (ntohs(eth.h_proto) != ETH_P_IPV6)
257 mac_header_data = ð
349 struct ethhdr *eth;
361 eth = (struct ethhdr *)skb->data;
362 if (ntohs(eth->h_proto) == ETH_P_8021Q) {
368 mac_proto = ntohs(eth->h_proto);
579 struct ethhdr eth;
637 mac_header_data = (void *)ð
652 eth.h_proto = htons(ETH_P_ARP);
657 eth.h_proto = htons(ETH_P_IP);
660 eth.h_proto = htons(ETH_P_IPV6);