Re: can i increase alloc_skb size in TCP layer?

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

 



On Monday 10 May 2004 16.39, Micha Feigin wrote:
> On Mon, May 10, 2004 at 11:27:49AM -0000, bunty  wrote:
> > hi,
> >         In skbuff discussion  i placed question about where exactly
> > kernel allocates space for data and all headers. at that time i got very
> > goos respone but still i unable to locate it. what i want to know where
> > kernel allocates space for whole packet? Is there any call to alloc_skb
> > in kernel source dir that does it? if not how kernel knows packet size so
> > that he can create outgoing packet?
>
> You can find all calls to alloc_skb by going to the top of your kernel
> tree and doing
>
> grep -rsn alloc_skb .
>

I'd advise to use cscope for kernel analysis
cause it saves me a lot of time in such cases (I use KScope, by
the way :))

Bye
Gabor


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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