Re: Re: Re: what is value of MAX_TCP_HEADER?

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

 



On Tue, May 11, 2004 at 06:13:05AM -0000, bunty  wrote:
>  
> hi Micha,
> 
> 
> >Why do you need the exact value, whats wrong with using the defines?
>         i want that value for the same reason i place the another question
> about alloc_skb to know what kernel takes tcp header value which is 20 bytes
> header+ options bytes.
>         as i told in another postings that i want to change the value of kernel
> space allocates to packet.
>         one more thing i want to know why kernel takes 272 greater value as
> compared to only simple TCp header+ options value.

I don't know the exact extras it uses, but in allocation you want to
allocate the maximum memory you will need in this case so you won't
need to reallocate if more memory is needed.

Not all the buffer is sent over the line, just the part that is
actually used.

> 
> regards,
> parag.
> 
> 
> >Kernelnewbies: Help each other learn about the Linux kernel.
> >Archive:      http://mail.nl.linux.org/kernelnewbies/
> >FAQ:          http://kernelnewbies.org/faq/
> >
> 
> 
> _[_h_t_t_p_:_/_/_a_d_s_._r_e_d_i_f_f_._c_o_m_/_R_e_a_l_M_e_d_i_a_/_a_d_s_/_a_d_s_t_r_e_a_m___n_x_._c_g_i_/_w_w_w_._r_e_d_i_f_f_m_a_i_l_._c_o_m_/
> _i_n_b_o_x_._h_t_m_@_B_o_t_t_o_m_]
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.

--
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