>>>>> On Fri, 18 May 2001 06:06:55 +0100 (BST),
>>>>> vishwanath pargaonkar <[EMAIL PROTECTED]> said:
> why is ifindex used for an interface.i know it is said
> itz for unique identification of device.Can we not do
> that using interfac name ?
Yes, you could. But then
- we should do string comparison to compare two interface indices
(which is usually much heavier than comparing integers).
- we should check all interface names in order to check the validity
of a given interface index (i.e. name).
and I believe we'll still see much more weird situations if we
eliminate numeric interface indices.
JINMEI, Tatuya
Communication Platform Lab.
Corporate R&D Center, Toshiba Corp.
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message