does "cat /proc/net/tcp" help? --- On Wed, 3/17/10, Ben Greear <[email protected]> wrote:
> From: Ben Greear <[email protected]> > Subject: Re: [Xorp-hackers] Getting XORP to report queue length > To: "Victor Faion" <[email protected]> > Cc: [email protected] > Date: Wednesday, March 17, 2010, 4:00 PM > On 03/17/2010 09:14 AM, Victor Faion > wrote: > > Hello, > > > > I am using the functions in XrlSocket4V0p1Client to > send messages > > using TCP sockets between XORP routers. I was > wondering if there was a > > way to check how much data is currently queued at each > node in the > > network. I guess this function won't be exposed and > I'll have to > > expose it, but I can't seem to find where this is in > the XORP code. I > > am using XORP 1.6. > > You are looking for send/receive buffer sizes for the TCP > sockets? > > Like what 'netstat' reports? > > I don't actually even know how to get this out of the > kernel, but > there must be a way... > > Thanks, > Ben > > -- > Ben Greear <[email protected]> > Candela Technologies IncĀ http://www.candelatech.com > > _______________________________________________ > Xorp-hackers mailing list > [email protected] > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
