Re: query "interface max. bandwith" from userspace

From: Anton Ivanov (aivanov@eu.level3.net)
Date: Wed Feb 02 2000 - 12:47:19 EST


-----BEGIN PGP SIGNED MESSAGE-----

On 02-Feb-2000 Guus Sliepen wrote:
> On Wed, 2 Feb 2000, Jeffrey E. Hundstad wrote:
>
>> What is the proper way to determine the max. bandwidth (interface type)
>> of a network interface from userspace?
>
> An ioctl() that reads the speed from the driver?

That is the BSD way. Though there there are some devices that misbehave
(mostly third party drivers).

Last time I checked Linux it did not have it. A lot of drivers keep track of it
(ISDn, Red Creek VPN, some ethernet drivers) but I could not find a generic
interface. From what I remember when trying to modify gated sources this
functionality is indeed not present.

Pls correct me if I am wrong.

- ----------------------------------
Anton R. Ivanov
IP Engineer Level3 Communications
RIPE: ARI2-RIPE E-Mail: Anton Ivanov <aivanov@eu.level3.net>
@*** Brown's Law of Business Success ***
      Our customer's paperwork is profit. Our own paperwork is loss.

- ----------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQEVAwUBOJhtpSlWAw/bM84zAQFSsQgAiZJZwR5+5I/wPwcBEnCzsBxc2Jdwj06k
Kfko2SOHb55pyGFAGA04q/huFgZ6xBciBLfkjT28m5UA4oovbwdTKK+6pRe6h68g
P0rtxNWfah3QBEi4sLdQ4QgjA2cUyVAvcQXAd2AuXUrN0qjUBa9sTzrIOtlo62ZZ
W7Zdjxk5XTZC5VeitY3LlO296HHRcZFYki2MhqMOlS3bBeG0fzqJl+UldnckWbVl
gT8SFE2In8UjzeSlE8QAkM4j0wfda1PRgBD4Nkxx4XvXWkgUJHq6+P1TICdN5GQC
OO5DGqOrkmd6MBWsm6rN7ciXTKGnuAlSIJo/cmbR/iNubW+x3lmdsA==
=vzPO
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:08 EST