Lines Matching defs:data
119 * @data: pointer to start of frame
125 u32 eth_get_headlen(const struct net_device *dev, const void *data, u32 len)
128 const struct ethhdr *eth = (const struct ethhdr *)data;
136 if (!skb_flow_dissect_flow_keys_basic(dev_net(dev), NULL, &keys, data,
142 return min_t(u32, __skb_get_poff(NULL, data, &keys, len), len);
148 * @skb: received socket data
164 eth = (struct ethhdr *)skb->data;
386 * Constructs a new net device, complete with a private data area of
388 * this private data area.
427 eh2 = (struct ethhdr *)(p->data + off_eth);
458 struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff);