skb headroom and tailroom

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have few basic question regarding headroom and tailroom in skb.

1. At time of skb allocation sk->sk_prot->max_header value is  272 .
If we add tcp header+ip header+mac header  outcome  will always less
than 272 .Then why allocate more ? Is it for future case ?

2. Why space left in headroom and tailroom ?

Regards
Varun

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux