<a href="mailto:ubuntu-users@lists.ubuntu.com"></a>Hello Ubuntu users,<br><br>I am facing a problem with the changes in 'struct sk_buff' from version 2.4 to 2.6.<br><br>Basically I'm trying to compile a new module that will help me with my<br>
application. This module takes the incoming packets from a given interface. However, this application was implemented for Linux 2.4 version.<br><br>Since the included file "linux/skbuff.h" in this application had its structure completely changed, I decide to edit the code of such application in order to compile it for kernel 2.6. I've already changed some lines. But, there is some properties (variables) that I didn't find the correspondent one. For example, in the older version of "module.h" there was the following variable:<br>
<br>(*skb)->nh.ihp->daddr<br><br>That is, the destination address from a specific IP header.<br><br>I searched in the Internet, without success, for the correspondent structure in the newer version of "linux/skbuff.h". Does anybody know where I could find information about the old and new versions of "module.h" relationship?<br>
<br>Ps.: I already read in the file commentaries, but unfortunately it isn't too helpful :(<br><br>Auxiliary information: O.S. Linux Ubuntu 8.04, kernel 2.6.24-21-generic<br><br>Thanks in advance for repliers!<br><br>
--<br>Ricardo Schmidt<br><br>