| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Re: Difference between skb_put() and skb_push() |
| From: | Akshay Kawale <linux781@xxxxxxxxx> |
| Date: | Sat, 2 Apr 2005 13:44:07 -0500 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=aKGmZ4hpLJ7N6OferqIHuGfei+vozd7D7DoJc0CZObBsEX+Mu5qTTB2axEchIpMcZemzRqQPeQ3kqgriTNrooAzSnyHNVIfRqNKlktYZmVTUwbwciM5zfsmetes3V//dC4xOy547FvLkVteeFFTwsAJCOhvnu2XlwfTox/mL+Kw= |
| In-reply-to: | <72252ed05033021463a1f45b6@mail.gmail.com> |
| References: | <72252ed05033021463a1f45b6@mail.gmail.com> |
| Reply-to: | Akshay Kawale <linux781@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi, I am trying to access the tot_len field in the IP Header using a sk_buff structure inside a Netfilter hook. I do something like: (**skb).nh.iph->tot_len += 64 I have tried other variants of the same statement but none of them work. I want to increment the length by 64 bytes, but it gives me an error saying that I am trying to access an 'incomplete data type'. Can anyone shed some light on this problem? tot_len if of type __u16 (unsigned short int). Thanks. - Akshay |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Linux support for RDMA (was: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit Proposed Topics), Matthew Wilcox |
|---|---|
| Next by Date: | RE: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit ProposedTopics, Asgeir Eiriksson |
| Previous by Thread: | Re: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit Proposed Topics, Dmitry Yusupov |
| Next by Thread: | RE: [Ksummit-2005-discuss] Summary of 2005 Kernel Summit ProposedTopics, Asgeir Eiriksson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |