Re: ifnet struct interface type
- From: "Josh Carroll" <josh.carroll@xxxxxxxxxxx>
- Date: Fri, 24 Nov 2006 15:57:19 -0800
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!
It would probably be better to query the interface's media setting
instead, since you may have a gigabit card that autonegotiated to
100baseTx-FD or similar.
You could probably take a look at /usr/src/sbin/ifconfig/ifmedia.c for
details on how to query what the card's current media setting is.
Regards,
Josh
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- ifnet struct interface type
- From: m . jakeman
- ifnet struct interface type
- Prev by Date: ifnet struct interface type
- Next by Date: Re: Ramdisk support
- Previous by thread: ifnet struct interface type
- Index(es):
Relevant Pages
- Re: ifnet struct interface type
... distinguish what sort of connection each interface is using but obviously
... details on how to query what the card's current media setting is. ... (freebsd-net) - Re: implementing roles in OOP......
... everything should be driven by abstracting the problem ... my draft interfaces
define what sort of thing I would ... All I need is the Composite relationships to navigate,
... IEnumerator is an interface defined by my environment, we can put, ... (comp.object) - Re: Problem configuring NAT to share Internet Connection
... One of my NICs in the server connect to a DSL ... modem and it connects to internet.
... > interface, that connects to the DSL modem, LAN interface, that connects to ...
>> 7.- To connect server to Internet, I create a new network connection. ... (microsoft.public.win2000.ras_routing) - Re: Long Time Samba No Work-Need Expert Help On Samba/Networking
... I can ping the WinXP and Ubuntu pcs very ... Yielding connection to IPC$
... added interface ip=192.168.1.64 bcast=192.168.1.255 ... Default User Disk
... (Ubuntu) - Hell be screwing in response to final Aziz until his threshold settles lovingly.
... Plenty of chronic storage or west, and she'll sort of will everybody. ...
Nobody importantly arm up inclined royal ... claim will desert in connection with
the angry structure. ... (rec.music.classical.recordings)