lkml.org 
[lkml]   [1996]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectDummy TCP header
    Date

    Hi,
    This is not a big deal, but thought could point it out anyway.
    The assignement of TCP header length is repeated twice in file af_inet.c
    ^^^^^^
    function inet_create(). (line 695 and 713 in linux-2.0)

    sk->dummy_th.doff = sizeof(sk->dummy_th)/4;
    .
    .
    .
    sk->dummy_th.doff=sizeof(struct tcphdr)>>2;

    Regards,
    --
    Furquan Ansari
    fansari@tisl.ukans.edu
    http://www.tisl.ukans.edu/~fansari/


    \
     
     \ /
      Last update: 2005-03-22 13:37    [W:0.017 / U:0.360 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site