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-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: ifnet struct interface type
- From: Josh Carroll
- Re: ifnet struct interface type
- Prev by Date: Re: 6-STABLE (6.2-PRE) and applications (named natd dhcpd) getting stuckin state zoneli (zone limit) - dynamic ipfw rules not working after time- vlans on em
- Next by Date: Re: ifnet struct interface type
- Previous by thread: Marvell Yukon 88E8056 FreeBsd Drivers
- Next by thread: Re: ifnet struct interface type
- Index(es):
Relevant Pages
|