[ovs-discuss] skb_push

Jesse Gross jesse at nicira.com
Tue Mar 5 16:29:42 UTC 2013


On Tue, Mar 5, 2013 at 5:43 AM, Igor Ryzhov <idryzhov at gmail.com> wrote:
> 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?

Both of these questions are related to Linux networking and not really
specific to Open vSwitch, so perhaps another mailing list might be
more appropriate.



More information about the discuss mailing list