ifnet struct interface type
- From: m.jakeman@xxxxxxxxxxxxxxx
- Date: Fri, 24 Nov 2006 23:36:14 +0000
Hi,
I am writing some code that is using the systems ifnet structs via
ifnet_byindex(), I have two network interfaces :
broadcom BCM6750A1M using the 'bge' driver
Intel PRO/wireless 2915ABG using the 'iwi' driver
I have written some code to output the ifnet->if_type for each interface and
it shows that both have type 6 (IFT_ETHER).
My question is why do they both have this type when there are
IFT_GIGABITETHERNET and IFT_IEEE80211? I was planning on using this value to
distinguish what sort of connection each interface is using but obviously
with both returning IFT_ETHER this is not possible, any help is much
appreciated!
Cheers
Matt
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: ifnet struct interface type
- From: Josh Carroll
- Re: ifnet struct interface type
- Prev by Date: Re: Ramdisk support
- Next by Date: Re: ifnet struct interface type
- Previous by thread: [PATCH] make_libdeps.sh in -CURRENT
- Next by thread: Re: ifnet struct interface type
- Index(es):
Relevant Pages
- Re: Linux Firewall/LoadBalancer
... The bonding driver originally came from Donald Becker's beowulf patches for ...
Build kernel with the bonding driver ... "Bonding driver support" in the "Network device
support" section. ... so the bonding driver will automatically load when the bond0 interface
is ... (Security-Basics) - [PATCH] IPMI driver updates, part 2
... It has been far too long since the last IPMI driver updates, ... This second
part adds the "System Interface" driver. ... (Linux-Kernel) - [2.6 patch] remove comx driver docs
... info on the driver for Baycom style amateur radio modems ... -LMI) protocols
are available as link-level protocol. ... -The COMX driver set has a new type of user interface
based on the /proc ... -To create the interface 'comx0' which is the first channel of a
COMX card: ... (Linux-Kernel) - [2.6 patch] remove the documentation for the legacy CDROM drivers
... This patch removes the documentation for the removed legacy CDROM drivers. ...
SC1200 WDT DRIVER ... LaTeX document on standardizing the CD-ROM programming interface.
... THIS DRIVER WILL WORK WITH THE CD-ROM DRIVES LISTED, ... (Linux-Kernel) - Re: 2.6.16-rc1-mm3
... Driver 'w83627hf' needs updating - please use bus_type methods ... binfmt_misc
thermal fan processor ipv6 w83627hf ... # ACPI (Advanced Configuration and Power Interface)
Support ... (Linux-Kernel)