Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-15-2007, 12:10 PM   #1
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
network card interface list

Hi all
Can anyone suggest me how to get all network (network card) interface list?
I am programming at kernel level. . . .
However, I have code which gives me all the list of interfaces at user level. Similar to ifconfig code.
But, I am really screwed up when it came to kernel level.

I was doing ioctl(fd, SIOCIFCONF, arg)
I even dont know how to do ioctl at kernel level.

Your help would be appreciated.

Old 09-18-2007, 07:18 AM   #2
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185

Original Poster
Blog Entries: 2

Rep: Reputation: 31
Help some one


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
network interface card details program saheelahamed Linux - Networking 2 08-23-2007 09:38 AM
Need help with network interface card Marvell Yukon orion06 Mandriva 1 02-15-2006 01:25 PM
USB Network Interface Card: HELP! Saketh Linux - Wireless Networking 7 08-16-2005 10:19 PM
3Com Network interface card don't work Mathsniper Debian 7 09-12-2004 06:25 AM
How to get Network Interface card details ? dileepkk Linux - Networking 3 07-08-2004 03:25 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration