LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-21-2008, 06:10 PM   #1
stevebeiko
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to access mac address using sk_buff dogslayer Programming 4 04-20-2006 09:04 PM
how to obtain mac address using sk_buff??? dogslayer Linux - Networking 2 04-14-2006 07:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration