Lines Matching refs:ethhdr
1002 unsigned short int proto = ((struct ethhdr *)data)->h_proto;
1043 memcpy_toio(ptx->mac.addr_1, ((struct ethhdr *)data)->h_dest, 2 * ADDRLEN);
1051 memcpy_toio(ptx->mac.addr_1, ((struct ethhdr *)data)->h_dest, ADDRLEN);
1053 memcpy_toio(ptx->mac.addr_3, ((struct ethhdr *)data)->h_source, ADDRLEN);
1059 memcpy_toio(ptx->mac.addr_2, ((struct ethhdr *)data)->h_source, ADDRLEN);
1060 memcpy_toio(ptx->mac.addr_3, ((struct ethhdr *)data)->h_dest, ADDRLEN);
2326 struct ethhdr *peth;
2365 peth = (struct ethhdr *)(skb->data + delta);
2373 peth = (struct ethhdr *)(skb->data + delta);
2383 peth = (struct ethhdr *)(skb->data + delta);
2390 peth = (struct ethhdr *)(skb->data + delta);
2398 peth = (struct ethhdr *)(skb->data + delta);