Obtaining link speed of the NIC

1 reply [Last post]
leszek.tokarski
Offline
Joined: 09/28/2009

Hello,
I have a question about functionality which (probably) is not yet in jnetpcap. I mean obtaining a current link speed of the network interface, i.e. 10Mbps, 100Mbps. I tried to find out how to do this in java but haven't managed to. Probably it should be possible using native invocations but I had other obstacles and gave up. Do you plan to include such functionality in some future release? Or maybe it already is included but I missed it?
Best regards,
Leszek

Mark Bednarczyk
Mark Bednarczyk's picture
Offline
Joined: 03/22/2008
Hi and welcome (czesc i

Hi and welcome (czesc i witamy)!

No, libpcap does not provide that functionality nor does it exist in jNetPcap.

I will be adding additional PcapUtils methods for more interface information, including interface paramters, statistics, arp and routing tables. These will be added probably going into future versions and not into 1.3 though.

Sly Technologies, Inc.
R&D

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.