Hi..
In the structure device defined in 2.2.14
linux/include/linux/netdevice.h, there are two field called
ifindex and iflink:
210 /* Interface index. Unique device identifier */
211 int ifindex;
212 int iflink;
Does any one knows what are they used for?(in a bit detail)
I did a grep in linux/drivers/net/ and find no device is using
these two fields. however, these are used a lot in
linux/net/ipv4/, specially ifindex, and iflink is used in
ipip.c, ip_gre.c, ipmr.c. it seems to me iflink is used for link
to some other device..
Thank you..
---------------------
Yin Tan Cui ("`-''-/").___..--''"`-._
`6_ 6 ) `-. ( ).`-.__.`)
[EMAIL PROTECTED] (_Y_.)' ._ ) `._ `. ``-..-'
[EMAIL PROTECTED] _..`--'_..-_/ /--'_.' ,'
(il),-'' (li),' ((!.-'
Home Page: http://www.cse.unsw.edu.au/~cyt
Find my public keys in my home page.
-----------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]