Add Data to packet header
Denis Kirjanov
kirjanov at gmail.com
Wed Jul 16 07:27:01 EDT 2014
On 7/16/14, Robert Clove <cloverobert at 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
More information about the Kernelnewbies
mailing list