[ovs-discuss] skb_push

Igor Ryzhov idryzhov at gmail.com
Tue Mar 5 13:43:48 UTC 2013


Hello.

skb_push function extends the used data area of the buffer at the buffer
start.

It substracts skb->data by len - this is right, because we extends data
space at the start. But why this function adds skb->len by len, not
skb->data_len?

I think that total size of our buffer is the same - header substracts by
len at the end and data adds by len at the stast. Am I wrong?

Best regards,
Igor Ryzhov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130305/91e4da02/attachment.html>


More information about the discuss mailing list