calvin <(E-Mail Removed)> wrote:
> I am running some network simulation under Redhat9.0 with tun.c
> ver1.5.
> I opened 6 vitual tun devices under /net/dev/tun1~6.
> Because of simulation request, I need to know which tun device has
> packets in its output queue (buffer) waiting to be sent.
> But how can I do the same job under Linux? Thanks
I thought FreeBSD and Linux share the same tun code. So it should be
very similar, if not the same.
netstat displays this information. Perhaps it would be useful to study
what it does.
--
Cameron Kerr
(E-Mail Removed) :
http://nzgeeks.org/cameron/
Empowered by Perl!