Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]association between device and module name
- To: "Tokyo Linux Users' Group" <tlug@example.com>
- Subject: association between device and module name
- From: "Scott M. Stone" <sstone@example.com>
- Date: Sun, 2 Sep 2001 16:19:39 -0700 (PDT)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- Delivered-To: tlug@example.com
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <sstone@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <ukdaP.A.jHG.w5rk7@example.com>
- Resent-Sender: tlug-request@example.com
Well in my quest to find an association between "eth0" and "3c59x", for example, I found that: struct netdevice {} contains an "owner" field which contains the name of the module. problem is, this sturcture and associated functions are local to kernel space. So i guess I'll have to write a kernel module which goes through each netdevice with a get_dev_by_index or what have you, and creates a /proc file with entries like: 1:eth0:3c59x ie, ifIndex:ifDevName:ifModName looks do-able. I'm just surprised nobody's ever seen the need for this before. -------------------------- Scott M. Stone <sstone@example.com> Director of Information Technology, Director of Research and Development ITIsOpen, Inc. - http://www.itisopen.com Cisco Certified Network Associate, Sun Solaris Certified Systems Administrator
- Follow-Ups:
- Re: association between device and module name
- From: "roylo" <roylo@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Broadband Router/Firewall
- Next by Date: Re: Broadband Router/Firewall
- Prev by thread: Re: Broadband Router/Firewall
- Next by thread: Re: association between device and module name
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links