Add Data to packet header
July 16, 2014
11:11 a.m.
Hi All, I want to add data to the packet header. I used the skb_copy_expand to make the copy of the skb and data. Now in the headroom i want to add some data. How can i do that,please suggest . Regards
July 16, 2014
11:27 a.m.
On 7/16/14, Robert Clove <cloverobert@gmail.com> wrote:
Hi All,
I want to add data to the packet header.
I used the skb_copy_expand to make the copy of the skb and data. Now in the headroom i want to add some data. How can i do that,please suggest .
__skb_push(skb, <your size>) to adjust the skb->data pointer
Regards
-- Regards, Denis
4412
Age (days ago)
4412
Last active (days ago)
1 comments
2 participants
participants (2)
-
Denis Kirjanov -
Robert Clove