Re: How to get the network details through programming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Erik.
could you please help me to get the description of a PCI card installed in the linux system programmatically.

e.g. i have a NIC card which has the description as
"Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)" as per the output of the "lspci" command.

regards
santosh


On 3/26/07, Erik Mouw <mouw@xxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Mar 26, 2007 at 06:24:06PM +0530, Santosh Pradhan wrote:
> I am new to this field. I am also not sure wheher this is the right alias to
> ask this. Can someone please help me to find the network details like : ip
> addr , interface name, MTU,max_reassembly_size etc through programming (user
> space). Any help is
> welcome. please let me know if any link is there to go through.

Get "TCP/IP Illustrated" by the late W. Richard Stevens. I don't have a
copy right here, but I think you need volume 2.


Erik

- --
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGB/CY/PlVHJtIto0RAtocAJ4xfZTOCzFW1gSj9sLwI5BCtLVSdACgiCLb
tlXuzoWRoBN6fGCNbaydn7A=
=UCN2
-----END PGP SIGNATURE-----


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux