mac.raw missing from sk_buff in Linux 2.6.22.X
I am integrating a linux device driver code to linux.
In the device driver the following code: extern void func1(sk_buff * skb) { . . . skb->mac.raw = skb->data; . . . } when compiling an error code shows mac.raw undefined variable. Looked into: include/linux/skbuff.h struct sk_buff{ . . . } And found no definitions of mac union or raw. Is mac.raw obsolete from older linux kernels? What should I change the code to to store the skb->data into, if mac.raw is obsolete now. |
All times are GMT -5. The time now is 02:47 AM. |