On 7/16/14, Robert Clove <[email protected]> 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

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to