Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Mar 2005 05:17:33 -0800
From:      ARY <ary834@gmail.com>
To:        Joseph Koshy <joseph.koshy@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Collecting data in userland from kernel
Message-ID:  <42270E6D.8060509@gmail.com>
In-Reply-To: <84dead7205030302567a0e7103@mail.gmail.com>
References:  <4226EB2E.7080507@gmail.com> <84dead7205030302567a0e7103@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joseph,

> 
> Have you looked at netgraph(4) and ng_socket(4)?
> 

Thanx for the reply. I looked into them now. But looks like 
it will be an overkill for me. Let me give a little more 
context of my problem. I need to evaluate a new congestion 
control protocol (which has been implemented as an extension 
to TCP) on a test-bed. So, everytime a packet is sent I just 
need to log a set a parameters, this applies to hosts and 
routers. All the logs are then analyzed offline by another 
application. So, there is primarily no interaction between 
my entities either in/between hosts or routers. Hence, I 
need to insert log stubs inline in the kernel.

Hope, things are a little clearer now. Please let me know if 
have any other suggestions. Also, let me know if you still 
think netgraph can help and I have got it wrong.

Thanks,
Amit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42270E6D.8060509>