home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,871 of 14,669   
   Rick Jones to Laszlo   
   Re: Any stacks out there willing to tell   
   31 Jul 12 23:46:59   
   
   From: rick.jones2@hp.com   
      
   Ersek, Laszlo  wrote:   
      
   > On Linux, the netstat utility in net-tools-1.60 seems to parse   
   > /proc/net/tcp. See "netstat.c", function tcp_do_one(). Using the   
   > "local_address" and "rem_address" column you could find the   
   > connection you care about, and then check the "tx_queue" field   
   > (first half of the fifth column). There's also a "retrnsmt" column.   
      
   > ... The kernel in Debian Squeeze seems to format the "tx_queue" value in   
   > this pseudo-file in get_tcp4_sock() [net/ipv4/tcp_ipv4.c] from   
   > "tp->write_seq - tp->snd_una".   
      
   I always thought that included send, but unacked data.  I learned   
   something new, thanks.   
      
   rick jones   
   --   
   Don't anthropomorphize computers.  They hate that.  - Anonymous   
   these opinions are mine, all mine; HP might not want them anyway... :)   
   feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca